mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2026-01-05 07:35:31 +00:00
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:
@@ -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')) {
|
||||
|
||||
Reference in New Issue
Block a user