summaryrefslogtreecommitdiff
path: root/include/guid.h
diff options
context:
space:
mode:
authorArd Biesheuvel <ardb@kernel.org>2023-06-29 17:58:18 +0200
committerPeter Jones <pjones@redhat.com>2025-02-11 10:43:37 -0500
commitbb114a3b92a96875dc71e5e4925bedba5c02f958 (patch)
tree1f960d204e30292741b2f7af1142624bd078db47 /include/guid.h
parent83850cd8df2db60a00b96e7757c6ff9c1d8cccec (diff)
downloadefi-boot-shim-bb114a3b92a96875dc71e5e4925bedba5c02f958.tar.gz
efi-boot-shim-bb114a3b92a96875dc71e5e4925bedba5c02f958.zip
Implement shim image load protocol
Define a new protocol for loading and starting images, encapsulating shim's PE loading facilities and verification/authentication against the same set of certificates that shim_lock::verify() authenticates against. This removes the need for loaders like GRUB to implement their own PE loader in order to be able to invoke loaded images as PE applications, rather than implementing a bespoke OS dependent handover protocol (e.g., invoke Linux via its EFI stub) Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
Diffstat (limited to 'include/guid.h')
-rw-r--r--include/guid.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/guid.h b/include/guid.h
index 898c4fad..e32dfc07 100644
--- a/include/guid.h
+++ b/include/guid.h
@@ -36,6 +36,8 @@ extern EFI_GUID SECURITY_PROTOCOL_GUID;
extern EFI_GUID SECURITY2_PROTOCOL_GUID;
extern EFI_GUID EFI_MEMORY_ATTRIBUTE_PROTOCOL_GUID;
extern EFI_GUID SHIM_LOCK_GUID;
+extern EFI_GUID SHIM_IMAGE_LOADER_GUID;
+extern EFI_GUID SHIM_LOADED_IMAGE_GUID;
extern EFI_GUID MOK_VARIABLE_STORE;
extern EFI_GUID SECUREBOOT_EFI_NAMESPACE_GUID;