mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2026-01-06 08:04:55 +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:
@@ -28,7 +28,7 @@ int32_t sanitize_acrn_boot_info(struct acrn_boot_info *abi)
|
||||
abi_status = -EINVAL;
|
||||
}
|
||||
|
||||
if (abi->mi_mmap_entries == 0U) {
|
||||
if (abi->mmap_entries == 0U) {
|
||||
pr_err("no boot mmap info found");
|
||||
abi_status = -EINVAL;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user