audk/UefiCpuPkg/Include/Library
Tom Lendacky 8714978781 UefiCpuPkg: Implement library support for VMGEXIT
BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=2198

To support handling #VC exceptions and issuing VMGEXIT instructions,
create a library with functions that can be used to perform these
#VC/VMGEXIT related operations. This includes functions for:
  - Handling #VC exceptions
  - Preparing for and issuing a VMGEXIT
  - Performing MMIO-related write operations to support flash emulation
  - Performing AP related boot opeations

The base functions in this driver will not do anything and will return
an error if a return value is required. It is expected that other packages
(like OvmfPkg) will create a version of the library to fully support an
SEV-ES guest.

Cc: Eric Dong <eric.dong@intel.com>
Cc: Ray Ni <ray.ni@intel.com>
Cc: Laszlo Ersek <lersek@redhat.com>
Reviewed-by: Eric Dong <eric.dong@intel.com>
Signed-off-by: Tom Lendacky <thomas.lendacky@amd.com>
Regression-tested-by: Laszlo Ersek <lersek@redhat.com>
2020-08-16 16:45:42 +00:00
..
LocalApicLib.h UefiCpuPkg: Replace BSD License with BSD+Patent License 2019-04-09 10:58:28 -07:00
MpInitLib.h UefiCpuPkg/Include/MpInitLib.h: Add MpInitLibStartupAllCPUs API. 2019-07-29 09:25:19 +08:00
MtrrLib.h UefiCpuPkg/MtrrLib: Remove unnecessary API MtrrSetFixedMtrr() 2020-07-14 03:24:24 +00:00
PlatformSecLib.h UefiCpuPkg: Replace BSD License with BSD+Patent License 2019-04-09 10:58:28 -07:00
RegisterCpuFeaturesLib.h UefiCpuPkg/CpuFeature: Introduce First to indicate 1st unit. 2020-02-14 03:15:00 +00:00
SmmCpuFeaturesLib.h UefiCpuPkg/Smm: Fix various typos 2020-02-10 22:30:07 +00:00
SmmCpuPlatformHookLib.h UefiCpuPkg: Replace BSD License with BSD+Patent License 2019-04-09 10:58:28 -07:00
UefiCpuLib.h UefiCpuPkg: Move StandardSignatureIsAuthenticAMD to BaseUefiCpuLib 2020-07-07 23:25:16 +00:00
VmgExitLib.h UefiCpuPkg: Implement library support for VMGEXIT 2020-08-16 16:45:42 +00:00