mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-09-24 02:08:04 +00:00
reshuffle struct vboot_candidates
struct vboot_candidates is private, so move it into source file, and change it to a more suitable name vboot_bootloader_map. this patch also add sos_boot_mode to indicate if the sos boot is using de-privilege or direct boot mode. Tracked-On: #1842 Signed-off-by: Jason Chen CJ <jason.cj.chen@intel.com>
This commit is contained in:
committed by
Eddie Dong
parent
41ac9e5d10
commit
d364d352f8
@@ -8,7 +8,10 @@
|
||||
|
||||
#define VBOOT_H
|
||||
|
||||
#define NUM_VBOOT_SUPPORTING 4U
|
||||
enum vboot_mode {
|
||||
DIRECT_BOOT_MODE,
|
||||
DEPRI_BOOT_MODE
|
||||
};
|
||||
|
||||
struct acrn_vm;
|
||||
struct vboot_operations {
|
||||
@@ -19,12 +22,6 @@ struct vboot_operations {
|
||||
int32_t (*init_vboot_info)(struct acrn_vm *vm);
|
||||
};
|
||||
|
||||
struct vboot_candidates {
|
||||
const char name[20];
|
||||
size_t name_sz;
|
||||
struct vboot_operations *(*ops)(void);
|
||||
};
|
||||
|
||||
void init_vboot_operations(void);
|
||||
void init_vboot(void);
|
||||
void init_vboot_irq(void);
|
||||
@@ -32,6 +29,7 @@ int32_t init_vm_boot_info(struct acrn_vm *vm);
|
||||
uint64_t get_ap_trampoline_buf(void);
|
||||
void *get_rsdp_ptr(void);
|
||||
|
||||
enum vboot_mode get_sos_boot_mode(void);
|
||||
int32_t parse_hv_cmdline(void);
|
||||
|
||||
#endif /* end of include guard: VBOOT_H */
|
||||
|
Reference in New Issue
Block a user