]> git.proxmox.com Git - mirror_edk2.git/commit - OvmfPkg/OvmfPkg.dec
OvmfPkg/AmdSev: Expose the Sev Secret area using a configuration table
authorJames Bottomley <jejb@linux.ibm.com>
Mon, 30 Nov 2020 20:28:19 +0000 (12:28 -0800)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Mon, 14 Dec 2020 19:56:18 +0000 (19:56 +0000)
commit01726b6d23d4c8a870dbd5b96c0b9e3caf38ef3c
treedb9d56da1c9805a48c82063ce9eb8f7745f87046
parentbff2811c6d99c1e41a4cbb81b30cc4b5cb8e4f20
OvmfPkg/AmdSev: Expose the Sev Secret area using a configuration table

Now that the secret area is protected by a boot time HOB, extract its
location details into a configuration table referenced by
gSevLaunchSecretGuid so the boot loader or OS can locate it before a
call to ExitBootServices().

Ref: https://bugzilla.tianocore.org/show_bug.cgi?id=3077
Signed-off-by: James Bottomley <jejb@linux.ibm.com>
Reviewed-by: Laszlo Ersek <lersek@redhat.com>
Message-Id: <20201130202819.3910-7-jejb@linux.ibm.com>
Acked-by: Ard Biesheuvel <ard.biesheuvel@arm.com>
[lersek@redhat.com: fix indentation of InstallConfigurationTable() args]
OvmfPkg/AmdSev/AmdSevX64.dsc
OvmfPkg/AmdSev/AmdSevX64.fdf
OvmfPkg/AmdSev/SecretDxe/SecretDxe.c [new file with mode: 0644]
OvmfPkg/AmdSev/SecretDxe/SecretDxe.inf [new file with mode: 0644]
OvmfPkg/Include/Guid/SevLaunchSecret.h [new file with mode: 0644]
OvmfPkg/OvmfPkg.dec