audk/OvmfPkg/TdxDxe
Min M Xu 7dcc2f3870 OvmfPkg: Realize EdkiiMemoryAcceptProtocol in TdxDxe
RFC: https://bugzilla.tianocore.org/show_bug.cgi?id=3937

Memory usage may exceed the amount accepted at the begining (SEC), TDVF
needs to accept memory dynamically when OUT_OF_RESOURCE occurs.

Another usage is in SetOrClearSharedBit. If a memory region is changed from
shared to private, it must be accepted again.

EdkiiMemoryAcceptProtocol is defined in MdePkg and is implementated /
installed in TdxDxe for Intel TDX memory acceptance.

Cc: Erdem Aktas <erdemaktas@google.com>
Cc: Gerd Hoffmann <kraxel@redhat.com>
Cc: James Bottomley <jejb@linux.ibm.com>
Cc: Jiewen Yao <jiewen.yao@intel.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>
2022-11-01 10:08:10 +00:00
..
X64 OvmfPkg: Fix TDVMCALL error in ApRunLoop.nasm 2022-06-02 09:10:00 +00:00
TdxAcpiTable.c OvmfPkg: Add TdxDxe driver 2022-04-02 08:15:12 +00:00
TdxAcpiTable.h OvmfPkg: Add TdxDxe driver 2022-04-02 08:15:12 +00:00
TdxDxe.c OvmfPkg: Realize EdkiiMemoryAcceptProtocol in TdxDxe 2022-11-01 10:08:10 +00:00
TdxDxe.inf OvmfPkg: Realize EdkiiMemoryAcceptProtocol in TdxDxe 2022-11-01 10:08:10 +00:00