mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-09-23 01:37:44 +00:00
hv: modularization: make parse_hv_cmdline() an internal function.
This way, we void exposing acrn_mbi as a global variable. Tracked-On: #5661 Signed-off-by: Vijay Dhanraj <vijay.dhanraj@intel.com> Reviewed-by: Jason Chen CJ <jason.cj.chen@intel.com>
This commit is contained in:
@@ -76,18 +76,10 @@ struct acrn_multiboot_info {
|
||||
struct efi_info mi_efi_info;
|
||||
};
|
||||
|
||||
/*
|
||||
* The extern declaration for acrn_mbi is for cmdline.c use only, other functions should use
|
||||
* get_multiboot_info() API to access struct acrn_mbi because it has explict @post condition
|
||||
*/
|
||||
extern struct acrn_multiboot_info acrn_mbi;
|
||||
|
||||
void init_acrn_multiboot_info(void);
|
||||
struct acrn_multiboot_info *get_multiboot_info(void);
|
||||
int32_t sanitize_multiboot_info(void);
|
||||
|
||||
void parse_hv_cmdline(void);
|
||||
|
||||
#endif /* ASSEMBLER */
|
||||
|
||||
#endif /* MULTIBOOT_H */
|
||||
|
Reference in New Issue
Block a user