HV: modularization: name change on acrn_multiboot_info

The acrn_multiboot_info structure stores acrn specific boot info and should
not be limited to support multiboot protocol related structure only.

This patch only do below changes:

	1. change name of acrn_multiboot_info to acrn_boot_info;
	2. change name of mbi to abi because of the change in 1, also the
	   naming might bring confusion with native multiboot 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-05-21 11:12:24 +08:00
committed by wenlingz
parent b0e1d610d2
commit 8f24d91108
11 changed files with 128 additions and 128 deletions

View File

@@ -29,10 +29,10 @@ static void parse_hvdbg_cmdline(void)
{
const char *start = NULL;
const char *end = NULL;
struct acrn_multiboot_info *mbi = get_acrn_multiboot_info();
struct acrn_boot_info *abi = get_acrn_boot_info();
if ((mbi->mi_flags & MULTIBOOT_INFO_HAS_CMDLINE) != 0U) {
start = mbi->mi_cmdline;
if ((abi->mi_flags & MULTIBOOT_INFO_HAS_CMDLINE) != 0U) {
start = abi->mi_cmdline;
}
while ((start != NULL) && ((*start) != '\0')) {