summaryrefslogtreecommitdiff
path: root/include/efi_loader.h
diff options
context:
space:
mode:
authorHeinrich Schuchardt <xypron.glpk@gmx.de>2020-03-19 18:21:58 +0000
committerHeinrich Schuchardt <xypron.glpk@gmx.de>2020-07-03 18:03:56 +0200
commit15b1bf10d1a1b21ecbf20169e30688df1c8e34be (patch)
tree982e6af43e99d68633adfc2722f25c39ea122488 /include/efi_loader.h
parent3a92f85f2121bb76061758e2830a5a1572729bcf (diff)
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>
Diffstat (limited to 'include/efi_loader.h')
-rw-r--r--include/efi_loader.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/efi_loader.h b/include/efi_loader.h
index c2cae814b6..fc9344c742 100644
--- a/include/efi_loader.h
+++ b/include/efi_loader.h
@@ -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;