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
-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#89402): https://edk2.groups.io/g/devel/message/89402
Mute This Topic: https://groups.io/mt/90772976/1787277
Group Owner: devel+owner@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org]
-=-=-=-=-=-=-=-=-=-=-=-
© 2016 - 2026 Red Hat, Inc.