diff options
author | Heinrich Schuchardt <xypron.glpk@gmx.de> | 2020-03-19 15:16:31 +0100 |
---|---|---|
committer | Heinrich Schuchardt <xypron.glpk@gmx.de> | 2020-04-30 10:25:07 +0200 |
commit | 11078bb262a2a2489cbc5962f2e7faad5b288194 (patch) | |
tree | a2b5e93fc236071d7f6ea16dfe78f1a5962a5ef2 /include/efi_loader.h | |
parent | 25801acc1fd64b284d250e8cee7c5ea0c5186f1c (diff) |
efi_loader: identify EFI system partition
In subsequent patches UEFI variables shalled be stored on the EFI system
partition. Hence we need to identify the EFI system partition.
Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Diffstat (limited to 'include/efi_loader.h')
-rw-r--r-- | include/efi_loader.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/efi_loader.h b/include/efi_loader.h index 0ba9a1f702..b7bccf50b3 100644 --- a/include/efi_loader.h +++ b/include/efi_loader.h @@ -47,6 +47,13 @@ static inline void *guidcpy(void *dst, const void *src) /* Root node */ extern efi_handle_t efi_root; +/* EFI system partition */ +extern struct efi_system_partition { + enum if_type if_type; + int devnum; + u8 part; +} efi_system_partition; + int __efi_entry_check(void); int __efi_exit_check(void); const char *__efi_nesting(void); |