audk/OvmfPkg/Library
Ceping Sun d997d3c62f OvmfPkg: Use TdHob instead of e820tables to get memory info in TDVF
Currently, TDVF gets LowMemory and FistNonAddress from the e820tables
via fw_cfg, while TD-Hob can also provide the memory info of LowMemory
and FistNonAddress.

In current stage e820tables are not measured but TD-Hob is measured in
early phase by TDVF.

So, from the security perspective we'd better use the information from
TD-Hob instead of e820tables.

Cc: Erdem Aktas <erdemaktas@google.com>
Cc: Jiewen Yao <jiewen.yao@intel.com>
Cc: Min Xu <min.m.xu@intel.com>
Cc: Gerd Hoffmann <kraxel@redhat.com>
Cc: Elena Reshetova <elena.reshetova@intel.com>
Signed-off-by: Ceping Sun <cepingx.sun@intel.com>
2024-09-03 15:55:34 +00:00
..
AcpiPlatformLib
AcpiTimerLib
AmdSvsmLib OvmfPkg/AmdSvsmLib: Add support for the SVSM create/delete vCPU calls 2024-04-17 20:04:41 +00:00
BaseCachingPciExpressLib
BaseMemEncryptSevLib OvmfPkg: Enable AMD SEV-ES DebugVirtualization 2024-07-04 20:39:26 +00:00
BaseMemEncryptTdxLib OvmfPkg/BaseMemEncryptTdxLib: Handle retry result of MapGPA 2023-11-09 17:15:39 +00:00
BasePciCapLib
BasePciCapPciSegmentLib
BhyveFwCtlLib
BlobVerifierLibNull AmdSev: Halt on failed blob allocation 2024-06-25 15:27:42 +00:00
CcExitLib OvmfPkg: Add AMD SEV-ES DebugVirtualization feature support 2024-07-04 20:39:26 +00:00
CcProbeLib
DxePciLibI440FxQ35
EmuVariableFvbLib
FdtNorFlashQemuLib OvmfPkg: Add no hardcode version of FdtNorFlashQemuLib 2024-06-04 22:51:09 +00:00
FdtSerialPortAddressLib ArmVirtPkg: Move the FdtSerialPortAddressLib to OvmfPkg 2024-02-06 23:51:47 +08:00
GenericQemuLoadImageLib
HardwareInfoLib OvmfPkg: remove last instances of EFI_D_ 2024-07-31 08:59:21 +00:00
HashLibTdx OmvfPkg/HashLibTdx: Add HashLibTdx 2024-04-17 03:04:13 +00:00
LoadLinuxLib
LockBoxLib
MpInitLibDepLib
NestedInterruptTplLib
NvVarsFileLib
PciHostBridgeLib
PciHostBridgeLibScan
PciHostBridgeUtilityLib
PeilessStartupLib OvmfPkg: Refactor PcdSetNxForStack usage in TDVF 2024-08-30 15:45:40 +00:00
PlatformBmPrintScLib
PlatformBootManagerLib OvmfPkg/PlatformBootManagerLib: refer to virtio console subsys symbolically 2023-09-12 15:50:30 +00:00
PlatformBootManagerLibBhyve OvmfPkg/BhyvePkg: honor FwCfg when setting the bootorder 2024-06-18 19:18:07 +00:00
PlatformBootManagerLibLight ArmVirtPkg: Move PlatformBootManagerLib to OvmfPkg 2024-02-06 23:51:47 +08:00
PlatformDebugLibIoPort
PlatformFvbLibNull
PlatformHasIoMmuLib
PlatformInitLib OvmfPkg: Use TdHob instead of e820tables to get memory info in TDVF 2024-09-03 15:55:34 +00:00
PlatformSecureLib
PxeBcPcdProducerLib
QemuBootOrderLib
QemuFwCfgLib OvmfPkg: Remove QemuFwCfgLibMmio.inf 2024-04-30 11:10:10 +00:00
QemuFwCfgS3Lib
QemuFwCfgSimpleParserLib
ResetSystemLib OvmfPkg/OvmfXen: Introduce Xen's ResetSystemLib, to use xen hypercall 2024-08-30 16:55:41 +00:00
SerializeVariablesLib
SmbiosVersionLib
SmmCpuFeaturesLib OvmfPkg/SmmCpuFeaturesLib: Check Smbase Relocation is done or not 2024-05-08 01:53:58 +00:00
SmmCpuPlatformHookLibQemu
SmmRelocationLib OvmfPkg/SmmRelocationLib: Add library instance for OVMF 2024-05-08 01:53:58 +00:00
Tcg2PhysicalPresenceLibNull
Tcg2PhysicalPresenceLibQemu
TdxMailboxLib
TlsAuthConfigLib
UefiDriverEntryPointFwCfgOverrideLib
UefiPciCapPciIoLib
VirtioLib
VirtioMmioDeviceLib
X86QemuLoadImageLib
XenConsoleSerialPortLib
XenHypercallLib OvmfPkg/XenHypercallLib: Add SchedOp hypercall 2024-08-30 16:55:41 +00:00
XenIoMmioLib
XenPlatformLib
XenRealTimeClockLib OvmfPkg: Align XenRealTimeClockLib function headers with return values 2024-02-09 22:16:32 +00:00