]> git.proxmox.com Git - mirror_edk2.git/commit
OvmfPkg: Call gEdkiiMemoryAcceptProtocolGuid to accept pages
authorMin M Xu <min.m.xu@intel.com>
Tue, 1 Nov 2022 05:13:49 +0000 (13:13 +0800)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Tue, 1 Nov 2022 10:08:10 +0000 (10:08 +0000)
commit720c25ab41400f9a3dfd0742da5a6d237991df5b
tree5d50615a45869d32a2e8a2d7c22ed0f80eec2c9b
parent7dcc2f387071e808be560f6ad0acbd1a7f0f6001
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>
OvmfPkg/Library/BaseMemEncryptTdxLib/BaseMemEncryptTdxLib.inf
OvmfPkg/Library/BaseMemEncryptTdxLib/MemoryEncryption.c