audk/OvmfPkg/Library/PlatformInitLib
Ceping Sun ec18fa81d3 OvmfPkg: Use TdInfo instead of fw_cfg to get cpu count in TDVF
Currently TDVF gets cpu count information via fw_cfg, but
this information can also be retrieved by calling of TdCall.TdInfo.

And TdCall is responded by tdx-module which is trust.
So, from the security perspective we shall use TdCall.Tdinfo instead
of fw_cfg.

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-13 18:10:08 +00:00
..
X64 OvmfPkg/PlatformInitLib: allow switching to 4-level paging 2024-08-30 22:13:44 +00:00
Cmos.c OvmfPkg: Create initial version of PlatformInitLib 2022-04-02 08:15:12 +00:00
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: Use TdInfo instead of fw_cfg to get cpu count in TDVF 2024-09-13 18:10:08 +00:00
PlatformInitLib.inf OvmfPkg: Use TdInfo instead of fw_cfg to get cpu count in TDVF 2024-09-13 18:10:08 +00:00