OvmfPkg: CloudHv: Retrieve RSDP address from PVH

Instead of hardcoding the address of the RSDP in the firmware, let's
rely on the PVH structure hvm_start_info to retrieve this information.

Acked-by: Gerd Hoffmann <kraxel@redhat.com>
Signed-off-by: Sebastien Boeuf <sebastien.boeuf@intel.com>
Reviewed-by: Jiewen Yao <jiewen.yao@intel.com>
This commit is contained in:
Sebastien Boeuf
2022-03-02 21:31:35 +08:00
committed by mergify[bot]
parent e1c7f9b4e5
commit d50d9e5549
4 changed files with 32 additions and 17 deletions

View File

@@ -38,9 +38,4 @@
//
#define CLOUDHV_SMBIOS_ADDRESS 0xf0000
//
// RSDP address
//
#define CLOUDHV_RSDP_ADDRESS 0xa0000
#endif // __CLOUDHV_H__