HV: modularization: rename mi_acpi_rsdp_va to acpi_rsdp_va

The simply rename mi_acpi_rsdp_va in acrn_boot_info struct to acpi_rsdp_va;

Tracked-On: #5661

Signed-off-by: Victor Sun <victor.sun@intel.com>
Reviewed-by: Jason Chen CJ <jason.cj.chen@intel.com>
This commit is contained in:
Victor Sun 2021-06-09 10:02:40 +08:00 committed by wenlingz
parent 4774c79da0
commit 82c28af404
3 changed files with 3 additions and 3 deletions

View File

@ -71,7 +71,7 @@ void init_acpi(void)
{
struct acpi_table_rsdp *rsdp = NULL;
rsdp = (struct acpi_table_rsdp *)(get_acrn_boot_info()->mi_acpi_rsdp_va);
rsdp = (struct acpi_table_rsdp *)(get_acrn_boot_info()->acpi_rsdp_va);
if (rsdp == NULL) {
uint16_t *addr;

View File

@ -56,7 +56,7 @@ struct acrn_boot_info {
uint32_t mmap_entries;
struct abi_mmap mmap_entry[MAX_MMAP_ENTRIES];
const void *mi_acpi_rsdp_va;
const void *acpi_rsdp_va;
struct efi_info uefi_info;
};

View File

@ -106,7 +106,7 @@ int32_t multiboot2_to_acrn_bi(struct acrn_boot_info *abi, void *mb2_info)
strnlen_s(str, (MAX_LOADER_NAME_SIZE - 1U)));
break;
case MULTIBOOT2_TAG_TYPE_ACPI_NEW:
abi->mi_acpi_rsdp_va = ((struct multiboot2_tag_new_acpi *)mb2_tag)->rsdp;
abi->acpi_rsdp_va = ((struct multiboot2_tag_new_acpi *)mb2_tag)->rsdp;
break;
case MULTIBOOT2_TAG_TYPE_EFI64:
mb2_efi64_to_abi(abi, (const struct multiboot2_tag_efi64 *)mb2_tag);