]> git.proxmox.com Git - mirror_edk2.git/commit
OvmfPkg/VmgExitLib: Implement new VmgExitLib interfaces
authorTom Lendacky <thomas.lendacky@amd.com>
Fri, 6 Nov 2020 17:53:05 +0000 (11:53 -0600)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Tue, 10 Nov 2020 19:07:55 +0000 (19:07 +0000)
commita13967f2a31c6bacbb2410731c439b1cf5a5e474
treeed05f29fe2d2fe7147293661a5f56818dc42f22c
parent8a7ca9923ec9d1071280f702e8bf59503a974621
OvmfPkg/VmgExitLib: Implement new VmgExitLib interfaces

BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=3008

The VmgExitLib library added two new interfaces, VmgSetOffsetValid() and
VmgIsOffsetValid(), that must now be implemented in the OvmfPkg version
of the library.

Implement VmgSetOffsetValid() and VmgIsOffsetValid() and update existing
code, that is directly accessing ValidBitmap, to use the new interfaces.

Cc: Jordan Justen <jordan.l.justen@intel.com>
Cc: Laszlo Ersek <lersek@redhat.com>
Cc: Ard Biesheuvel <ard.biesheuvel@arm.com>
Cc: Tom Lendacky <thomas.lendacky@amd.com>
Cc: Brijesh Singh <brijesh.singh@amd.com>
Reviewed-by: Laszlo Ersek <lersek@redhat.com>
Signed-off-by: Tom Lendacky <thomas.lendacky@amd.com>
Message-Id: <939e9dc375e6085bc67942fe9a00ecd4c6b77ecf.1604685192.git.thomas.lendacky@amd.com>
OvmfPkg/Library/VmgExitLib/VmgExitLib.c
OvmfPkg/Library/VmgExitLib/VmgExitVcHandler.c