]> git.proxmox.com Git - mirror_edk2.git/commit
UefiCpuPkg: Extend VmgExitLibNull to handle #VE exception
authorMin Xu <min.m.xu@intel.com>
Sat, 30 Oct 2021 06:29:09 +0000 (14:29 +0800)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Sat, 2 Apr 2022 08:15:12 +0000 (08:15 +0000)
commiteddcba40b5ca79bed58b4d686f4cb7ad5e8fa0e0
tree8db2a76d7b5e7983eaf554d8818d86ff6eae00b8
parentc3001cb744f7b2e5d91a5803814f50e0607d592d
UefiCpuPkg: Extend VmgExitLibNull to handle #VE exception

RFC: https://bugzilla.tianocore.org/show_bug.cgi?id=3429

VmgExitLib performs the necessary processing to handle a #VC exception.
VmgExitLibNull is a NULL instance of VmgExitLib which provides a
default limited interface. In this commit VmgExitLibNull is extended to
handle a #VE exception with a default limited interface. A full feature
version of #VE handler will be created later.

Cc: Brijesh Singh <brijesh.singh@amd.com>
Cc: Erdem Aktas <erdemaktas@google.com>
Cc: James Bottomley <jejb@linux.ibm.com>
Cc: Jiewen Yao <jiewen.yao@intel.com>
Cc: Tom Lendacky <thomas.lendacky@amd.com>
Cc: Eric Dong <eric.dong@intel.com>
Cc: Ray Ni <ray.ni@intel.com>
Cc: Rahul Kumar <rahul1.kumar@intel.com>
Cc: Gerd Hoffmann <kraxel@redhat.com>
Acked-by: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: Ray Ni <ray.ni@intel.com>
Reviewed-by: Jiewen Yao <jiewen.yao@intel.com>
Signed-off-by: Min Xu <min.m.xu@intel.com>
UefiCpuPkg/Include/Library/VmgExitLib.h
UefiCpuPkg/Library/VmgExitLibNull/VmTdExitNull.c [new file with mode: 0644]
UefiCpuPkg/Library/VmgExitLibNull/VmgExitLibNull.inf