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
CcExitLib.c
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
CcInstruction.c
CcInstruction.h
PeiDxeCcExitVcHandler.c
SecCcExitLib.inf Ovmfpkg/CcExitLib: Provide SVSM discovery support 2024-04-17 20:04:41 +00:00
SecCcExitVcHandler.c