audk/OvmfPkg/Library/PlatformInitLib
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
..
X64 OvmfPkg/PlatformInitLib: allow switching to 4-level paging 2024-08-30 22:13:44 +00:00
Cmos.c
IntelTdx.c OvmfPkg/PlatformInitLib: Reserve Sec Page Tables in TDVF 2024-08-29 01:53:14 +00:00
IntelTdxNull.c OvmfPkg: Refactor ProcessHobList 2023-02-04 03:38:15 +00:00
MemDetect.c OvmfPkg: Use TdHob instead of e820tables to get memory info in TDVF 2024-09-03 15:55:34 +00:00
Platform.c OvmfPkg: Refactor PcdSetNxForStack usage in TDVF 2024-08-30 15:45:40 +00:00
PlatformInitLib.inf OvmfPkg/PlatformInitLib: allow switching to 4-level paging 2024-08-30 22:13:44 +00:00