mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-09-23 17:58:30 +00:00
HV: modularization: use abi_mmap struct in acrn boot info
Use more generic abi_mmap struct to replace multiboot_mmap struct in acrn_boot_info; 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:
@@ -104,12 +104,12 @@ void init_e820(void)
|
||||
uint64_t top_addr_space = CONFIG_PLATFORM_RAM_SIZE + PLATFORM_LO_MMIO_SIZE;
|
||||
|
||||
struct acrn_boot_info *abi = get_acrn_boot_info();
|
||||
struct multiboot_mmap *mmap = abi->mi_mmap_entry;
|
||||
struct abi_mmap *mmap = abi->mmap_entry;
|
||||
|
||||
hv_e820_entries_nr = abi->mi_mmap_entries;
|
||||
hv_e820_entries_nr = abi->mmap_entries;
|
||||
|
||||
dev_dbg(DBG_LEVEL_E820, "mmap addr 0x%x entries %d\n",
|
||||
abi->mi_mmap_entry, hv_e820_entries_nr);
|
||||
abi->mmap_entry, hv_e820_entries_nr);
|
||||
|
||||
|
||||
for (i = 0U; i < hv_e820_entries_nr; i++) {
|
||||
|
Reference in New Issue
Block a user