From 0e2bc7327428b410feb0e7d7a23ca07f0e810222 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Mon, 25 Jun 2018 18:19:09 +0200 Subject: 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. --- src/boot/efi/util.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/boot/efi/util.h') 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; -- cgit v1.2.1