mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-06-28 08:16:54 +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
4774c79da0
commit
82c28af404
@ -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;
|
||||||
|
|
||||||
|
@ -56,7 +56,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 efi_info uefi_info;
|
struct efi_info uefi_info;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -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)));
|
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:
|
||||||
mb2_efi64_to_abi(abi, (const struct multiboot2_tag_efi64 *)mb2_tag);
|
mb2_efi64_to_abi(abi, (const struct multiboot2_tag_efi64 *)mb2_tag);
|
||||||
|
Loading…
Reference in New Issue
Block a user