summaryrefslogtreecommitdiff
path: root/include/efi_api.h
diff options
context:
space:
mode:
authorMasahisa Kojima <[email protected]>2023-11-10 13:25:39 +0900
committerIlias Apalodimas <[email protected]>2023-11-18 10:08:09 +0200
commite0d1a1ea68c47b29d93bfc375d984fe0aee21093 (patch)
tree244e79cac20b639ba3ea41f74f51cf18bdb894e0 /include/efi_api.h
parente23c8e81ebc97bbe9d4037b1324994446c2bc6c4 (diff)
efi_loader: add return to efibootmgr event group
When the image loaded by efibootmgr returns, efibootmgr needs to clean the resources. Adding the event of returning to efibootmgr is useful to simplify the implementation. Signed-off-by: Masahisa Kojima <[email protected]> Reviewed-by: Ilias Apalodimas <[email protected]> Signed-off-by: Ilias Apalodimas <[email protected]>
Diffstat (limited to 'include/efi_api.h')
-rw-r--r--include/efi_api.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/efi_api.h b/include/efi_api.h
index c2d69644679..0e92cb8a7f6 100644
--- a/include/efi_api.h
+++ b/include/efi_api.h
@@ -404,6 +404,9 @@ struct efi_runtime_services {
#define EFI_EVENT_GROUP_RESET_SYSTEM \
EFI_GUID(0x62da6a56, 0x13fb, 0x485a, 0xa8, 0xda, \
0xa3, 0xdd, 0x79, 0x12, 0xcb, 0x6b)
+#define EFI_EVENT_GROUP_RETURN_TO_EFIBOOTMGR \
+ EFI_GUID(0xb4a40fe6, 0x9149, 0x4f29, 0x94, 0x47, \
+ 0x49, 0x38, 0x7a, 0x7f, 0xab, 0x87)
/* EFI Configuration Table and GUID definitions */
#define NULL_GUID \