mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-09-22 17:27:53 +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:
@@ -25,7 +25,7 @@
|
||||
#include <efi.h>
|
||||
#include <vm_configurations.h>
|
||||
|
||||
struct acrn_multiboot_info {
|
||||
struct acrn_boot_info {
|
||||
uint32_t mi_flags; /* the flags is back-compatible with multiboot1 */
|
||||
|
||||
const char *mi_cmdline;
|
||||
@@ -46,9 +46,9 @@ struct acrn_multiboot_info {
|
||||
struct efi_info mi_efi_info;
|
||||
};
|
||||
|
||||
void init_acrn_multiboot_info(uint32_t magic, uint32_t info);
|
||||
int32_t sanitize_acrn_multiboot_info(uint32_t magic, uint32_t info);
|
||||
struct acrn_multiboot_info *get_acrn_multiboot_info(void);
|
||||
void init_acrn_boot_info(uint32_t magic, uint32_t info);
|
||||
int32_t sanitize_acrn_boot_info(uint32_t magic, uint32_t info);
|
||||
struct acrn_boot_info *get_acrn_boot_info(void);
|
||||
|
||||
#endif /* ASSEMBLER */
|
||||
|
||||
|
Reference in New Issue
Block a user