summaryrefslogtreecommitdiffstats
path: root/OvmfPkg/Library/BaseMemEncryptTdxLib/BaseMemEncryptTdxLib.inf
diff options
context:
space:
mode:
authorMin M Xu <min.m.xu@intel.com>2022-11-01 13:13:49 +0800
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2022-11-01 10:08:10 +0000
commit720c25ab41400f9a3dfd0742da5a6d237991df5b (patch)
tree5d50615a45869d32a2e8a2d7c22ed0f80eec2c9b /OvmfPkg/Library/BaseMemEncryptTdxLib/BaseMemEncryptTdxLib.inf
parent7dcc2f387071e808be560f6ad0acbd1a7f0f6001 (diff)
downloadedk2-720c25ab41400f9a3dfd0742da5a6d237991df5b.tar.gz
edk2-720c25ab41400f9a3dfd0742da5a6d237991df5b.tar.bz2
edk2-720c25ab41400f9a3dfd0742da5a6d237991df5b.zip
OvmfPkg: Call gEdkiiMemoryAcceptProtocolGuid to accept pages
RFC: https://bugzilla.tianocore.org/show_bug.cgi?id=3937 After EdkiiMemoryAcceptProtocol is implemented in TdxDxe driver, we can call it to accept pages in DXE phase. Cc: Erdem Aktas <erdemaktas@google.com> Cc: James Bottomley <jejb@linux.ibm.com> Cc: Jiewen Yao <jiewen.yao@intel.com> Cc: Gerd Hoffmann <kraxel@redhat.com> Cc: Tom Lendacky <thomas.lendacky@amd.com> Acked-by: Gerd Hoffmann <kraxel@redhat.com> Signed-off-by: Min Xu <min.m.xu@intel.com> Reviewed-by: Jiewen Yao <jiewen.yao@intel.com>
Diffstat (limited to 'OvmfPkg/Library/BaseMemEncryptTdxLib/BaseMemEncryptTdxLib.inf')
-rw-r--r--OvmfPkg/Library/BaseMemEncryptTdxLib/BaseMemEncryptTdxLib.inf3
1 files changed, 3 insertions, 0 deletions
diff --git a/OvmfPkg/Library/BaseMemEncryptTdxLib/BaseMemEncryptTdxLib.inf b/OvmfPkg/Library/BaseMemEncryptTdxLib/BaseMemEncryptTdxLib.inf
index a8abfec12f..11768825f8 100644
--- a/OvmfPkg/Library/BaseMemEncryptTdxLib/BaseMemEncryptTdxLib.inf
+++ b/OvmfPkg/Library/BaseMemEncryptTdxLib/BaseMemEncryptTdxLib.inf
@@ -42,3 +42,6 @@
[Pcd]
gEfiMdePkgTokenSpaceGuid.PcdConfidentialComputingGuestAttr
+
+[Protocols]
+ gEdkiiMemoryAcceptProtocolGuid