HV: modularization: use abi_module struct in acrn boot info

Use more generic abi_module struct to replace multiboot_module 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:
Victor Sun
2021-06-08 15:17:50 +08:00
committed by wenlingz
parent 16624bab5e
commit c59ea6c250
5 changed files with 70 additions and 53 deletions

View File

@@ -23,7 +23,7 @@ int32_t sanitize_acrn_boot_info(struct acrn_boot_info *abi)
{
int32_t abi_status = 0;
if (abi->mi_mods_count == 0U) {
if (abi->mods_count == 0U) {
pr_err("no boot module info found");
abi_status = -EINVAL;
}