From: "Gerd Hoffmann" <kraxel@redhat.com>
To: devel@edk2.groups.io
Cc: Ard Biesheuvel <ardb+tianocore@kernel.org>,
Erdem Aktas <erdemaktas@google.com>,
Maciej Rabeda <maciej.rabeda@linux.intel.com>,
Abner Chang <abner.chang@hpe.com>,
Peter Grehan <grehan@freebsd.org>,
Gerd Hoffmann <kraxel@redhat.com>,
Yuwei Chen <yuwei.chen@intel.com>,
Jiaxin Wu <jiaxin.wu@intel.com>, Siyuan Fu <siyuan.fu@intel.com>,
Sean Brogan <sean.brogan@microsoft.com>,
Anthony Perard <anthony.perard@citrix.com>,
Benjamin You <benjamin.you@intel.com>,
Guomin Jiang <guomin.jiang@intel.com>,
Leif Lindholm <quic_llindhol@quicinc.com>,
Rebecca Cran <rebecca@bsdio.com>, Wei6 Xu <wei6.xu@intel.com>,
Nickle Wang <nickle.wang@hpe.com>,
Xiaoyu Lu <xiaoyu1.lu@intel.com>,
Zhichao Gao <zhichao.gao@intel.com>,
kilian_kegel@hotmail.com, Liming Gao <gaoliming@byosoft.com.cn>,
Jordan Justen <jordan.l.justen@intel.com>,
Sami Mujawar <Sami.Mujawar@arm.com>,
Andrew Fish <afish@apple.com>,
Sami Mujawar <sami.mujawar@arm.com>,
Oliver Steffen <osteffen@redhat.com>,
Alexei Fedorov <Alexei.Fedorov@arm.com>,
Guo Dong <guo.dong@intel.com>,
Brijesh Singh <brijesh.singh@amd.com>,
Jian J Wang <jian.j.wang@intel.com>,
Supreeth Venkatesh <supreeth.venkatesh@arm.com>,
Min Xu <min.m.xu@intel.com>,
Bret Barkelew <Bret.Barkelew@microsoft.com>,
Maurice Ma <maurice.ma@intel.com>,
Pawel Polawski <ppolawsk@redhat.com>,
Daniel Schaefer <daniel.schaefer@hpe.com>,
Bob Feng <bob.c.feng@intel.com>,
James Bottomley <jejb@linux.ibm.com>,
Jiewen Yao <jiewen.yao@intel.com>, Ray Ni <ray.ni@intel.com>,
Julien Grall <julien@xen.org>,
Michael D Kinney <michael.d.kinney@intel.com>,
Sebastien Boeuf <sebastien.boeuf@intel.com>,
Zhiguang Liu <zhiguang.liu@intel.com>,
Tom Lendacky <thomas.lendacky@amd.com>
Subject: [PATCH v3 06/10] MdePkg/CompilerIntrinsicsLib: add SPDX License tags
Date: Fri, 29 Apr 2022 12:20:15 +0200 [thread overview]
Message-ID: <20220429102019.1375348-7-kraxel@redhat.com> (raw)
In-Reply-To: <20220429102019.1375348-1-kraxel@redhat.com>
It's not an exact match, edk2 expects "BSD-2-Clause-Patent" but
http://opensource.org/licenses/bsd-license.php references in comments
is "BSD-2-Clause".
Guess I need an explicit Intel explicitly agreeing to this even though
that is a rather minor change ...
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Acked-by: Liming Gao <gaoliming@byosoft.com.cn>
---
MdePkg/Library/CompilerIntrinsicsLib/Ia32/Gcc.c | 2 ++
MdePkg/Library/CompilerIntrinsicsLib/Ia32/lldiv.c | 2 ++
MdePkg/Library/CompilerIntrinsicsLib/Ia32/lldvrm.c | 2 ++
MdePkg/Library/CompilerIntrinsicsLib/Ia32/llmul.c | 2 ++
MdePkg/Library/CompilerIntrinsicsLib/Ia32/llrem.c | 2 ++
MdePkg/Library/CompilerIntrinsicsLib/Ia32/llshl.c | 2 ++
MdePkg/Library/CompilerIntrinsicsLib/Ia32/llshr.c | 2 ++
MdePkg/Library/CompilerIntrinsicsLib/Ia32/ulldiv.c | 2 ++
MdePkg/Library/CompilerIntrinsicsLib/Ia32/ulldvrm.c | 2 ++
MdePkg/Library/CompilerIntrinsicsLib/Ia32/ullrem.c | 2 ++
MdePkg/Library/CompilerIntrinsicsLib/Ia32/ullshr.c | 2 ++
MdePkg/Library/CompilerIntrinsicsLib/Ia32/ashrdi3.S | 2 ++
MdePkg/Library/CompilerIntrinsicsLib/Ia32/mulll.S | 2 ++
MdePkg/Library/CompilerIntrinsicsLib/Ia32/shldi3.S | 2 ++
MdePkg/Library/CompilerIntrinsicsLib/Ia32/udivdi3.S | 2 ++
MdePkg/Library/CompilerIntrinsicsLib/Ia32/umoddi3.S | 2 ++
16 files changed, 32 insertions(+)
diff --git a/MdePkg/Library/CompilerIntrinsicsLib/Ia32/Gcc.c b/MdePkg/Library/CompilerIntrinsicsLib/Ia32/Gcc.c
index 430139fc5ee0..bb211022c0e4 100644
--- a/MdePkg/Library/CompilerIntrinsicsLib/Ia32/Gcc.c
+++ b/MdePkg/Library/CompilerIntrinsicsLib/Ia32/Gcc.c
@@ -9,6 +9,8 @@
distribution. The full text of the license may be found at
http://opensource.org/licenses/bsd-license.
+SPDX-License-Identifier: BSD-2-Clause-Patent
+
THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
diff --git a/MdePkg/Library/CompilerIntrinsicsLib/Ia32/lldiv.c b/MdePkg/Library/CompilerIntrinsicsLib/Ia32/lldiv.c
index 792974d7b119..cf2eec2a70b4 100644
--- a/MdePkg/Library/CompilerIntrinsicsLib/Ia32/lldiv.c
+++ b/MdePkg/Library/CompilerIntrinsicsLib/Ia32/lldiv.c
@@ -9,6 +9,8 @@
distribution. The full text of the license may be found at
http://opensource.org/licenses/bsd-license.php.
+SPDX-License-Identifier: BSD-2-Clause-Patent
+
THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
diff --git a/MdePkg/Library/CompilerIntrinsicsLib/Ia32/lldvrm.c b/MdePkg/Library/CompilerIntrinsicsLib/Ia32/lldvrm.c
index a1f87f6af5c3..1fbe11bea751 100644
--- a/MdePkg/Library/CompilerIntrinsicsLib/Ia32/lldvrm.c
+++ b/MdePkg/Library/CompilerIntrinsicsLib/Ia32/lldvrm.c
@@ -9,6 +9,8 @@
distribution. The full text of the license may be found at
http://opensource.org/licenses/bsd-license.php.
+SPDX-License-Identifier: BSD-2-Clause-Patent
+
THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
diff --git a/MdePkg/Library/CompilerIntrinsicsLib/Ia32/llmul.c b/MdePkg/Library/CompilerIntrinsicsLib/Ia32/llmul.c
index 61a5c416b912..3f9c54454128 100644
--- a/MdePkg/Library/CompilerIntrinsicsLib/Ia32/llmul.c
+++ b/MdePkg/Library/CompilerIntrinsicsLib/Ia32/llmul.c
@@ -9,6 +9,8 @@
distribution. The full text of the license may be found at
http://opensource.org/licenses/bsd-license.php.
+SPDX-License-Identifier: BSD-2-Clause-Patent
+
THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
diff --git a/MdePkg/Library/CompilerIntrinsicsLib/Ia32/llrem.c b/MdePkg/Library/CompilerIntrinsicsLib/Ia32/llrem.c
index f415fe82dd59..5a73d539a650 100644
--- a/MdePkg/Library/CompilerIntrinsicsLib/Ia32/llrem.c
+++ b/MdePkg/Library/CompilerIntrinsicsLib/Ia32/llrem.c
@@ -9,6 +9,8 @@
distribution. The full text of the license may be found at
http://opensource.org/licenses/bsd-license.php.
+SPDX-License-Identifier: BSD-2-Clause-Patent
+
THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
diff --git a/MdePkg/Library/CompilerIntrinsicsLib/Ia32/llshl.c b/MdePkg/Library/CompilerIntrinsicsLib/Ia32/llshl.c
index f2121a713bd7..665b628b4014 100644
--- a/MdePkg/Library/CompilerIntrinsicsLib/Ia32/llshl.c
+++ b/MdePkg/Library/CompilerIntrinsicsLib/Ia32/llshl.c
@@ -9,6 +9,8 @@
distribution. The full text of the license may be found at
http://opensource.org/licenses/bsd-license.php.
+SPDX-License-Identifier: BSD-2-Clause-Patent
+
THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
diff --git a/MdePkg/Library/CompilerIntrinsicsLib/Ia32/llshr.c b/MdePkg/Library/CompilerIntrinsicsLib/Ia32/llshr.c
index ba60aaafada5..94b91d4ea3c7 100644
--- a/MdePkg/Library/CompilerIntrinsicsLib/Ia32/llshr.c
+++ b/MdePkg/Library/CompilerIntrinsicsLib/Ia32/llshr.c
@@ -9,6 +9,8 @@
distribution. The full text of the license may be found at
http://opensource.org/licenses/bsd-license.php.
+SPDX-License-Identifier: BSD-2-Clause-Patent
+
THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
diff --git a/MdePkg/Library/CompilerIntrinsicsLib/Ia32/ulldiv.c b/MdePkg/Library/CompilerIntrinsicsLib/Ia32/ulldiv.c
index 287af8562839..064e0e109b1d 100644
--- a/MdePkg/Library/CompilerIntrinsicsLib/Ia32/ulldiv.c
+++ b/MdePkg/Library/CompilerIntrinsicsLib/Ia32/ulldiv.c
@@ -9,6 +9,8 @@
distribution. The full text of the license may be found at
http://opensource.org/licenses/bsd-license.php.
+SPDX-License-Identifier: BSD-2-Clause-Patent
+
THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
diff --git a/MdePkg/Library/CompilerIntrinsicsLib/Ia32/ulldvrm.c b/MdePkg/Library/CompilerIntrinsicsLib/Ia32/ulldvrm.c
index 378cdec115e5..37946b4edc94 100644
--- a/MdePkg/Library/CompilerIntrinsicsLib/Ia32/ulldvrm.c
+++ b/MdePkg/Library/CompilerIntrinsicsLib/Ia32/ulldvrm.c
@@ -9,6 +9,8 @@
distribution. The full text of the license may be found at
http://opensource.org/licenses/bsd-license.php.
+SPDX-License-Identifier: BSD-2-Clause-Patent
+
THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
diff --git a/MdePkg/Library/CompilerIntrinsicsLib/Ia32/ullrem.c b/MdePkg/Library/CompilerIntrinsicsLib/Ia32/ullrem.c
index 49d0064b0f03..a5b65e600415 100644
--- a/MdePkg/Library/CompilerIntrinsicsLib/Ia32/ullrem.c
+++ b/MdePkg/Library/CompilerIntrinsicsLib/Ia32/ullrem.c
@@ -9,6 +9,8 @@
distribution. The full text of the license may be found at
http://opensource.org/licenses/bsd-license.php.
+SPDX-License-Identifier: BSD-2-Clause-Patent
+
THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
diff --git a/MdePkg/Library/CompilerIntrinsicsLib/Ia32/ullshr.c b/MdePkg/Library/CompilerIntrinsicsLib/Ia32/ullshr.c
index 3c21b45941a1..1cfe781720ac 100644
--- a/MdePkg/Library/CompilerIntrinsicsLib/Ia32/ullshr.c
+++ b/MdePkg/Library/CompilerIntrinsicsLib/Ia32/ullshr.c
@@ -9,6 +9,8 @@
distribution. The full text of the license may be found at
http://opensource.org/licenses/bsd-license.php.
+SPDX-License-Identifier: BSD-2-Clause-Patent
+
THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
diff --git a/MdePkg/Library/CompilerIntrinsicsLib/Ia32/ashrdi3.S b/MdePkg/Library/CompilerIntrinsicsLib/Ia32/ashrdi3.S
index 1c629dc23bf5..f671d419e1f9 100644
--- a/MdePkg/Library/CompilerIntrinsicsLib/Ia32/ashrdi3.S
+++ b/MdePkg/Library/CompilerIntrinsicsLib/Ia32/ashrdi3.S
@@ -6,6 +6,8 @@
# distribution. The full text of the license may be found at
# http://opensource.org/licenses/bsd-license.php.
#
+# SPDX-License-Identifier: BSD-2-Clause-Patent
+#
# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
#
diff --git a/MdePkg/Library/CompilerIntrinsicsLib/Ia32/mulll.S b/MdePkg/Library/CompilerIntrinsicsLib/Ia32/mulll.S
index 333fdfbb9f58..c46d4ab82311 100644
--- a/MdePkg/Library/CompilerIntrinsicsLib/Ia32/mulll.S
+++ b/MdePkg/Library/CompilerIntrinsicsLib/Ia32/mulll.S
@@ -6,6 +6,8 @@
# distribution. The full text of the license may be found at
# http://opensource.org/licenses/bsd-license.php.
#
+# SPDX-License-Identifier: BSD-2-Clause-Patent
+#
# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
#
diff --git a/MdePkg/Library/CompilerIntrinsicsLib/Ia32/shldi3.S b/MdePkg/Library/CompilerIntrinsicsLib/Ia32/shldi3.S
index b2a03d98337e..4e5ce03c40e6 100644
--- a/MdePkg/Library/CompilerIntrinsicsLib/Ia32/shldi3.S
+++ b/MdePkg/Library/CompilerIntrinsicsLib/Ia32/shldi3.S
@@ -6,6 +6,8 @@
# distribution. The full text of the license may be found at
# http://opensource.org/licenses/bsd-license.php.
#
+# SPDX-License-Identifier: BSD-2-Clause-Patent
+#
# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
#
diff --git a/MdePkg/Library/CompilerIntrinsicsLib/Ia32/udivdi3.S b/MdePkg/Library/CompilerIntrinsicsLib/Ia32/udivdi3.S
index 336d75ee7c30..7dbae9c438a4 100644
--- a/MdePkg/Library/CompilerIntrinsicsLib/Ia32/udivdi3.S
+++ b/MdePkg/Library/CompilerIntrinsicsLib/Ia32/udivdi3.S
@@ -6,6 +6,8 @@
# distribution. The full text of the license may be found at
# http://opensource.org/licenses/bsd-license.php.
#
+# SPDX-License-Identifier: BSD-2-Clause-Patent
+#
# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
#
diff --git a/MdePkg/Library/CompilerIntrinsicsLib/Ia32/umoddi3.S b/MdePkg/Library/CompilerIntrinsicsLib/Ia32/umoddi3.S
index 9b72e918a4ba..6907eaabccc7 100644
--- a/MdePkg/Library/CompilerIntrinsicsLib/Ia32/umoddi3.S
+++ b/MdePkg/Library/CompilerIntrinsicsLib/Ia32/umoddi3.S
@@ -6,6 +6,8 @@
# distribution. The full text of the license may be found at
# http://opensource.org/licenses/bsd-license.php.
#
+# SPDX-License-Identifier: BSD-2-Clause-Patent
+#
# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
#
--
2.35.1
next prev parent reply other threads:[~2022-04-29 10:20 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-04-29 10:20 [PATCH v3 00/10] consolidate compiler intrinsics Gerd Hoffmann
2022-04-29 10:20 ` [PATCH v3 01/10] MdePkg: promote CompilerIntrinsicsLib from ArmPkg to MdePkg Gerd Hoffmann
2022-04-29 10:20 ` [PATCH v3 02/10] MdePkg/CompilerIntrinsicsLib: fix msft sources for x64 Gerd Hoffmann
2022-04-29 10:20 ` [PATCH v3 03/10] MdePkg/CompilerIntrinsicsLib: move size_t typedef to header file Gerd Hoffmann
2022-04-29 10:20 ` [PATCH v3 04/10] MdePkg/CompilerIntrinsicsLib: move ia32 intrinsics and strcmp Gerd Hoffmann
2022-04-29 10:20 ` [PATCH v3 05/10] MdePkg/CompilerIntrinsicsLib: copy over intrinsics from edk2-libc repo Gerd Hoffmann
2022-05-05 9:50 ` Leif Lindholm
2022-05-05 10:23 ` Gerd Hoffmann
2022-05-05 12:10 ` Leif Lindholm
2022-05-06 7:22 ` [edk2-devel] " Gerd Hoffmann
2022-04-29 10:20 ` Gerd Hoffmann [this message]
2022-04-29 10:20 ` [PATCH v3 07/10] MdePkg/CompilerIntrinsicsLib: drop include from Gcc.c Gerd Hoffmann
2022-04-29 10:20 ` [PATCH v3 08/10] MdePkg/CompilerIntrinsicsLib: drop debug logging " Gerd Hoffmann
2022-04-29 10:20 ` [PATCH v3 09/10] MdePkg/CompilerIntrinsicsLib: remove duplicate functions " Gerd Hoffmann
2022-04-29 10:20 ` [PATCH v3 10/10] MdePkg/CompilerIntrinsicsLib: add new sources to CompilerIntrinsicsLib.inf Gerd Hoffmann
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-list from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20220429102019.1375348-7-kraxel@redhat.com \
--to=devel@edk2.groups.io \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox