summaryrefslogtreecommitdiff
path: root/globals.c
diff options
context:
space:
mode:
authorPeter Jones <pjones@redhat.com>2023-06-30 13:24:57 -0400
committerPeter Jones <pjones@redhat.com>2025-02-11 10:43:37 -0500
commite7b3598311c4b002417ac6364093cfab218ced88 (patch)
tree370ff1063bc624626a439303c6a2e27efd5a0e78 /globals.c
parentbb114a3b92a96875dc71e5e4925bedba5c02f958 (diff)
downloadefi-boot-shim-e7b3598311c4b002417ac6364093cfab218ced88.tar.gz
efi-boot-shim-e7b3598311c4b002417ac6364093cfab218ced88.zip
Move some stuff around
This moves some things around to help with loader protocol changes: - Move replacements.c to loader-proto.c - likewise with replacements.h - move the SHIM_IMAGE_LOADER decl to loader-proto.h - move the LoadImage / StartImage interface setup to an init function - move shim_load_image() / shim_start_image() to loader-proto.c Signed-off-by: Peter Jones <pjones@redhat.com>
Diffstat (limited to 'globals.c')
-rw-r--r--globals.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/globals.c b/globals.c
index b4e80dd3..91916e98 100644
--- a/globals.c
+++ b/globals.c
@@ -26,6 +26,8 @@ UINT8 *build_cert;
verification_method_t verification_method;
int loader_is_participating;
+SHIM_IMAGE_LOADER shim_image_loader_interface;
+
UINT8 user_insecure_mode;
UINT8 ignore_db;
UINT8 trust_mok_list;