audk/OvmfPkg/Include/Library
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
..
AcpiPlatformLib.h OvmfPkg: move QemuFwCfgAcpi into AcpiPlatformLib 2023-06-23 17:26:37 +00:00
BhyveFwCtlLib.h OvmfPkg: Improve style and formatting in BhyveFwCtlLib.h 2020-11-30 17:49:39 +00:00
BlobVerifierLib.h AmdSev: Halt on failed blob allocation 2024-06-25 15:27:42 +00:00
CpuMmuInitLib.h OvmfPkg/LoongArchVirt: Add CpuMmuInit library 2024-06-18 15:02:15 +00:00
FdtSerialPortAddressLib.h ArmVirtPkg: Move the FdtSerialPortAddressLib to OvmfPkg 2024-02-06 23:51:47 +08:00
HardwareInfoLib.h Ovmf/HardwareInfoLib: Create Pei lib to parse directly from fw-cfg 2022-06-22 15:34:16 +00:00
LoadLinuxLib.h OvmfPkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
MemEncryptSevLib.h OvmfPkg: Add AMD SEV-ES DebugVirtualization feature support 2024-07-04 20:39:26 +00:00
MemEncryptTdxLib.h OvmfPkg/BaseMemEncryptTdxLib: Add TDX helper library 2022-04-02 08:15:12 +00:00
NestedInterruptTplLib.h OvmfPkg: Add library to handle TPL from within nested interrupt handlers 2022-12-23 14:44:48 +00:00
NvVarsFileLib.h OvmfPkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
PciCapLib.h OvmfPkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
PciCapPciIoLib.h OvmfPkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
PciCapPciSegmentLib.h OvmfPkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
PciHostBridgeUtilityLib.h OvmfPkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
PeilessStartupLib.h OvmfPkg: Add PeilessStartupLib 2022-04-02 10:09:47 +00:00
PlatformBmPrintScLib.h OvmfPkg: Replace BSD License with BSD+Patent License 2019-04-09 10:58:19 -07:00
PlatformFvbLib.h OvmfPkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
PlatformInitLib.h OvmfPkg: Refactor ProcessHobList 2023-02-04 03:38:15 +00:00
QemuBootOrderLib.h OvmfPkg/QemuBootOrderLib: add StoreQemuBootOrder() 2022-09-06 16:55:33 +00:00
QemuFwCfgLib.h OvmfPkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
QemuFwCfgS3Lib.h OvmfPkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
QemuFwCfgSimpleParserLib.h OvmfPkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
QemuLoadImageLib.h OvmfPkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
SerializeVariablesLib.h OvmfPkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
TdxHelperLib.h OvmfPkg/IntelTdx: Add TdxHelperLibNull 2023-02-04 03:38:15 +00:00
TdxMailboxLib.h OvmfPkg: Add TdxMailboxLib 2022-04-02 08:15:12 +00:00
VirtNorFlashPlatformLib.h OvmfPkg: clone NorFlashPlatformLib into VirtNorFlashPlatformLib 2022-10-27 16:52:01 +00:00
VirtioLib.h OvmfPkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
VirtioMmioDeviceLib.h OvmfPkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
XenHypercallLib.h OvmfPkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
XenIoMmioLib.h OvmfPkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
XenPlatformLib.h OvmfPkg/Library/XenPlatformLib: New library 2019-08-21 18:03:49 +02:00