mirror of
https://github.com/u-boot/u-boot.git
synced 2024-11-25 13:14:19 +08:00
efi_loader: export initialization state
Export the UEFI sub-system initialization state. This will allow to treat the setting of UEFI variables during and after initialization differently. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
This commit is contained in:
parent
3a92f85f21
commit
15b1bf10d1
@ -56,6 +56,9 @@ static inline void *guidcpy(void *dst, const void *src)
|
||||
/* Root node */
|
||||
extern efi_handle_t efi_root;
|
||||
|
||||
/* Set to EFI_SUCCESS when initialized */
|
||||
extern efi_status_t efi_obj_list_initialized;
|
||||
|
||||
/* EFI system partition */
|
||||
extern struct efi_system_partition {
|
||||
enum if_type if_type;
|
||||
|
@ -11,7 +11,7 @@
|
||||
|
||||
#define OBJ_LIST_NOT_INITIALIZED 1
|
||||
|
||||
static efi_status_t efi_obj_list_initialized = OBJ_LIST_NOT_INITIALIZED;
|
||||
efi_status_t efi_obj_list_initialized = OBJ_LIST_NOT_INITIALIZED;
|
||||
|
||||
/*
|
||||
* Allow unaligned memory access.
|
||||
|
Loading…
Reference in New Issue
Block a user