audk/OvmfPkg/Library/CcExitLib
Alexey Kardashevskiy 9f06feb5d2 OvmfPkg: Add AMD SEV-ES DebugVirtualization feature support
The SEV-ES DebugVirtualization feature enables type B swapping of
debug registers on #VMEXIT and makes #DB and DR7 intercepts
unnecessary and unwanted.

When DebugVirtualization is enabled, this stops booting if
interaction from the HV.

Add new API to PEI, SEC, DXE.

This does not change the existing behaviour yet.

Cc: Ard Biesheuvel <ardb+tianocore@kernel.org>
Cc: Erdem Aktas <erdemaktas@google.com>
Cc: Gerd Hoffmann <kraxel@redhat.com>
Cc: Jiewen Yao <jiewen.yao@intel.com>
Cc: Michael Roth <michael.roth@amd.com>
Cc: Min Xu <min.m.xu@intel.com>
Reviewed-by: Tom Lendacky <thomas.lendacky@amd.com>
Signed-off-by: Alexey Kardashevskiy <aik@amd.com>
---
Changes:
v5:
* "rb" from Tom

v4:
* s/DebugSwap/DebugVirtualization/
2024-07-04 20:39:26 +00:00
..
X64 OvmfPkg/CcExitLib: Update TDVMCALL_EXPOSE_REGS_MASK 2024-03-19 09:42:06 +00:00
CcExitLib.c OvmfPkg/UefiCpuPkg: Add CcExit prefix to the APIs of CcExitLib 2022-11-14 04:55:34 +00:00
CcExitLib.inf Ovmfpkg/CcExitLib: Provide SVSM discovery support 2024-04-17 20:04:41 +00:00
CcExitTd.h
CcExitVcHandler.c OvmfPkg: Add AMD SEV-ES DebugVirtualization feature support 2024-07-04 20:39:26 +00:00
CcExitVcHandler.h
CcExitVeHandler.c OvmfPkg: Update code to be more C11 compliant by using __func__ 2023-04-10 14:19:57 +00:00
CcInstruction.c OvmfPkg/CcExitLib: Move common X86 instruction code to separate file 2023-01-18 03:47:31 +00:00
CcInstruction.h OvmfPkg/CcExitLib: Move common X86 instruction code to separate file 2023-01-18 03:47:31 +00:00
PeiDxeCcExitVcHandler.c OvmfPkg/UefiCpuPkg: Add CcExit prefix to the APIs of CcExitLib 2022-11-14 04:55:34 +00:00
SecCcExitLib.inf Ovmfpkg/CcExitLib: Provide SVSM discovery support 2024-04-17 20:04:41 +00:00
SecCcExitVcHandler.c OvmfPkg/UefiCpuPkg: Add CcExit prefix to the APIs of CcExitLib 2022-11-14 04:55:34 +00:00