mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-09-23 17:58:30 +00:00
ACPI: bug fix on address convertion
Before referencing to phisical address of acpi tables, switch it to virtual address. Signed-off-by: Zheng, Gen <gen.zheng@intel.com>
This commit is contained in:
@@ -166,7 +166,7 @@ void *get_rsdp_from_uefi(void)
|
||||
if (!efi_initialized)
|
||||
efi_init();
|
||||
|
||||
return efi_ctx->rsdp;
|
||||
return HPA2HVA(efi_ctx->rsdp);
|
||||
}
|
||||
|
||||
static void efi_init(void)
|
||||
|
Reference in New Issue
Block a user