]> git.proxmox.com Git - mirror_edk2.git/commit
OvmfPkg/AcpiPlatformDxe: Differentiate TDX case for Cloud Hypervisor
authorSebastien Boeuf <sebastien.boeuf@intel.com>
Thu, 15 Dec 2022 15:10:04 +0000 (23:10 +0800)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Fri, 16 Dec 2022 02:37:56 +0000 (02:37 +0000)
commite254c71e9eaee6b14eba65e89e906576f3f1abc7
tree9cb58aafaff2a8d7ea15efc5dfbb0dcf634292ce
parent57162cb62dc0f5d9aca31a035b96c5ac203b78ee
OvmfPkg/AcpiPlatformDxe: Differentiate TDX case for Cloud Hypervisor

Rely on CcProbe() to identify when running on TDX so that ACPI tables
can be retrieved differently for Cloud Hypervisor. Instead of relying on
the PVH structure to find the RSDP pointer, the tables are individually
passed through the HOB.

Signed-off-by: Jiaqi Gao <jiaqi.gao@intel.com>
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>
ArmVirtPkg/ArmVirtQemu.dsc
OvmfPkg/AcpiPlatformDxe/AcpiPlatform.c
OvmfPkg/AcpiPlatformDxe/AcpiPlatform.h
OvmfPkg/AcpiPlatformDxe/AcpiPlatformDxe.inf
OvmfPkg/AcpiPlatformDxe/CloudHvAcpi.c
OvmfPkg/OvmfPkg.dec