mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-08-08 03:35:14 +00:00
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:
parent
c09e55c376
commit
33c864fae6
@ -71,7 +71,7 @@ void init_acpi(void)
|
|||||||
{
|
{
|
||||||
struct acpi_table_rsdp *rsdp = NULL;
|
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) {
|
if (rsdp == NULL) {
|
||||||
uint16_t *addr;
|
uint16_t *addr;
|
||||||
|
|
||||||
|
@ -62,7 +62,7 @@ struct acrn_boot_info {
|
|||||||
uint32_t mmap_entries;
|
uint32_t mmap_entries;
|
||||||
struct abi_mmap mmap_entry[MAX_MMAP_ENTRIES];
|
struct abi_mmap mmap_entry[MAX_MMAP_ENTRIES];
|
||||||
|
|
||||||
const void *mi_acpi_rsdp_va;
|
const void *acpi_rsdp_va;
|
||||||
struct abi_efi_info efi_info;
|
struct abi_efi_info efi_info;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -96,7 +96,7 @@ int32_t multiboot2_to_acrn_bi(struct acrn_boot_info *abi, void *mb2_info)
|
|||||||
strnlen_s(str, (MAX_LOADER_NAME_SIZE - 1U)));
|
strnlen_s(str, (MAX_LOADER_NAME_SIZE - 1U)));
|
||||||
break;
|
break;
|
||||||
case MULTIBOOT2_TAG_TYPE_ACPI_NEW:
|
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;
|
break;
|
||||||
case MULTIBOOT2_TAG_TYPE_EFI64:
|
case MULTIBOOT2_TAG_TYPE_EFI64:
|
||||||
abi->efi_info.system_table = (void *)((struct multiboot2_tag_efi64 *)mb2_tag)->pointer;
|
abi->efi_info.system_table = (void *)((struct multiboot2_tag_efi64 *)mb2_tag)->pointer;
|
||||||
|
Loading…
Reference in New Issue
Block a user