]> git.proxmox.com Git - mirror_edk2.git/commit
OvmfPkg/VmgExitLib: Implement library support for VmgExitLib in OVMF
authorTom Lendacky <thomas.lendacky@amd.com>
Wed, 12 Aug 2020 20:21:36 +0000 (15:21 -0500)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Mon, 17 Aug 2020 02:46:39 +0000 (02:46 +0000)
commit61bacc0fa16fd6f595a2c4222425cb6286e19977
tree1cae0a6e7524a3f37d70c9715e903141d84e8d1e
parent5277540e37e88a1a69f9517c4ad895051b4b3ed3
OvmfPkg/VmgExitLib: Implement library support for VmgExitLib in OVMF

The base VmgExitLib library provides a default limited interface. As it
does not provide full support, create an OVMF version of this library to
begin the process of providing full support of SEV-ES within OVMF.

SEV-ES support is only provided for X64 builds, so only OvmfPkgX64.dsc is
updated to make use of the OvmfPkg version of the library.

Cc: Jordan Justen <jordan.l.justen@intel.com>
Cc: Laszlo Ersek <lersek@redhat.com>
Cc: Ard Biesheuvel <ard.biesheuvel@arm.com>
Acked-by: Laszlo Ersek <lersek@redhat.com>
Signed-off-by: Tom Lendacky <thomas.lendacky@amd.com>
Regression-tested-by: Laszlo Ersek <lersek@redhat.com>
OvmfPkg/Library/VmgExitLib/VmgExitLib.c [new file with mode: 0644]
OvmfPkg/Library/VmgExitLib/VmgExitLib.inf [new file with mode: 0644]
OvmfPkg/Library/VmgExitLib/VmgExitVcHandler.c [new file with mode: 0644]
OvmfPkg/OvmfPkgX64.dsc