diff options
author | Lennart Poettering <lennart@poettering.net> | 2018-06-25 18:19:09 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2018-10-16 16:44:34 +0200 |
commit | 0e2bc7327428b410feb0e7d7a23ca07f0e810222 (patch) | |
tree | 00b8eaf6f14aa6b22356821821956bba6c343c5d /src/boot/efi/util.h | |
parent | f82ecab0a9c4c1ef5f43bdee98f128c3a0ee611c (diff) | |
download | systemd-0e2bc7327428b410feb0e7d7a23ca07f0e810222.tar.gz |
sd-boot: write the IDs of all discovered entries to an EFI variable
This is primarily useful for debugging, but can be useful for other
purposes too. For example userspace could check whether "auto-windows"
is included in the list, before triggering a boot-into-windows
operation.
Diffstat (limited to 'src/boot/efi/util.h')
-rw-r--r-- | src/boot/efi/util.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/boot/efi/util.h b/src/boot/efi/util.h index ae06444014..40ede66d4a 100644 --- a/src/boot/efi/util.h +++ b/src/boot/efi/util.h @@ -50,3 +50,5 @@ static inline void FileHandleClosep(EFI_FILE_HANDLE *handle) { uefi_call_wrapper((*handle)->Close, 1, *handle); } + +const EFI_GUID loader_guid; |