diff options
author | Sebastien Boeuf <sebastien.boeuf@intel.com> | 2022-12-15 23:10:02 +0800 |
---|---|---|
committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2022-12-16 02:37:56 +0000 |
commit | e03b0d06726c0a2c3fa4a6aff43a8c584172767b (patch) | |
tree | 715d81dc8caa4c11a301728cb49409f8d9ef88a3 /OvmfPkg/AcpiPlatformDxe/CloudHvAcpi.c | |
parent | 0adc35fccd59c8c5171273319ec899aa48fc2c35 (diff) | |
download | edk2-e03b0d06726c0a2c3fa4a6aff43a8c584172767b.tar.gz |
OvmfPkg/PlatformInitLib: Differentiate TDX case for Cloud Hypervisor
Rely on the CcProbe() function to identify when running on TDX. This
allows the firmware to follow a different codepath for Cloud Hypervisor,
which means it doesn't rely on PVH to find out about memory below 4GiB.
instead it falls back onto the CMOS to retrieve that information.
Signed-off-by: Sebastien Boeuf <sebastien.boeuf@intel.com>
Reviewed-by: Min Xu <min.m.xu@intel.com>
Reviewed-by: Jiewen Yao <jiewen.yao@intel.com>
Diffstat (limited to 'OvmfPkg/AcpiPlatformDxe/CloudHvAcpi.c')
0 files changed, 0 insertions, 0 deletions