]> git.proxmox.com Git - mirror_edk2.git/commit - OvmfPkg/OvmfPkg.dec
OvmfPkg: Introduce the OvmfSevMemoryAcceptance protocol
authorDionna Glaze <dionnaglaze@google.com>
Thu, 26 Jan 2023 21:17:38 +0000 (21:17 +0000)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Thu, 26 Jan 2023 23:00:51 +0000 (23:00 +0000)
commit26847fb6be7fff83a834a3154224588afede0073
tree24555c1bbba0af3e302115ea8b500b0a9ee9fd63
parenta00e2e5513926a4031d96dc707113d13e1cdf814
OvmfPkg: Introduce the OvmfSevMemoryAcceptance protocol

The default behavior for unaccepted memory in SEV-SNP is to accept all
memory when ExitBootServices is called. An OS loader can use this
protocol to disable this behavior to assume responsibility for memory
acceptance and to affirm that the OS can handle the unaccepted memory
type.

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>
Cc: Ard Biesheuvel <ardb@kernel.org>
Cc: "Min M. Xu" <min.m.xu@intel.com>
Cc: Andrew Fish <afish@apple.com>
Cc: "Michael D. Kinney" <michael.d.kinney@intel.com>
Signed-off-by: Dionna Glaze <dionnaglaze@google.com>
Reviewed-by: Ard Biesheuvel <ardb@kernel.org>
OvmfPkg/Include/Protocol/SevMemoryAcceptance.h [new file with mode: 0644]
OvmfPkg/OvmfPkg.dec