summaryrefslogtreecommitdiffstats
path: root/OvmfPkg/Include
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2024-05-08 13:14:26 +0200
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2024-06-06 02:12:52 +0000
commitb45aff0dc9cb87f316eb17a11e5d4438175d9cca (patch)
tree2f9830f2cda2f697ad877ca1d31ae749052721a8 /OvmfPkg/Include
parent10ab1c67c489942b787b784a48d46623b442cfd1 (diff)
downloadedk2-b45aff0dc9cb87f316eb17a11e5d4438175d9cca.tar.gz
edk2-b45aff0dc9cb87f316eb17a11e5d4438175d9cca.tar.bz2
edk2-b45aff0dc9cb87f316eb17a11e5d4438175d9cca.zip
OvmfPkg: add morlock support
Add dsc + fdf include files to add the MorLock drivers to the build. Add the include files to OVMF build configurations. Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'OvmfPkg/Include')
-rw-r--r--OvmfPkg/Include/Dsc/MorLock.dsc.inc10
-rw-r--r--OvmfPkg/Include/Fdf/MorLock.fdf.inc10
2 files changed, 20 insertions, 0 deletions
diff --git a/OvmfPkg/Include/Dsc/MorLock.dsc.inc b/OvmfPkg/Include/Dsc/MorLock.dsc.inc
new file mode 100644
index 0000000000..a8c5fb24b8
--- /dev/null
+++ b/OvmfPkg/Include/Dsc/MorLock.dsc.inc
@@ -0,0 +1,10 @@
+##
+# SPDX-License-Identifier: BSD-2-Clause-Patent
+#
+# MorLock support
+##
+
+ SecurityPkg/Tcg/MemoryOverwriteControl/TcgMor.inf
+!if $(SMM_REQUIRE) == TRUE
+ SecurityPkg/Tcg/MemoryOverwriteRequestControlLock/TcgMorLockSmm.inf
+!endif
diff --git a/OvmfPkg/Include/Fdf/MorLock.fdf.inc b/OvmfPkg/Include/Fdf/MorLock.fdf.inc
new file mode 100644
index 0000000000..20b7d6619a
--- /dev/null
+++ b/OvmfPkg/Include/Fdf/MorLock.fdf.inc
@@ -0,0 +1,10 @@
+##
+# SPDX-License-Identifier: BSD-2-Clause-Patent
+#
+# MorLock support
+##
+
+INF SecurityPkg/Tcg/MemoryOverwriteControl/TcgMor.inf
+!if $(SMM_REQUIRE) == TRUE
+INF SecurityPkg/Tcg/MemoryOverwriteRequestControlLock/TcgMorLockSmm.inf
+!endif