summaryrefslogtreecommitdiff
path: root/include/loader-proto.h
diff options
context:
space:
mode:
authorPeter Jones <pjones@redhat.com>2023-06-30 14:48:17 -0400
committerPeter Jones <pjones@redhat.com>2025-02-11 10:43:37 -0500
commit0322e10ecc0eb6a4acbea3f83f71b19a559aaec6 (patch)
treec5daa94ef2a0830234c921cf8f3d07fd9142c87d /include/loader-proto.h
parente7b3598311c4b002417ac6364093cfab218ced88 (diff)
downloadefi-boot-shim-0322e10ecc0eb6a4acbea3f83f71b19a559aaec6.tar.gz
efi-boot-shim-0322e10ecc0eb6a4acbea3f83f71b19a559aaec6.zip
Implement the rest of the loader protocol functions
This adds an implementation of Exit() and UnloadImage(), removes the whole "loader_is_participating" mechanism and its supporting code, and removes DISABLE_EBS_PROTECTION. Signed-off-by: Peter Jones <pjones@redhat.com>
Diffstat (limited to 'include/loader-proto.h')
-rw-r--r--include/loader-proto.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/loader-proto.h b/include/loader-proto.h
index d3afa2f5..db8e670e 100644
--- a/include/loader-proto.h
+++ b/include/loader-proto.h
@@ -16,7 +16,6 @@ typedef enum {
} verification_method_t;
extern verification_method_t verification_method;
-extern int loader_is_participating;
extern void hook_system_services(EFI_SYSTEM_TABLE *local_systab);
extern void unhook_system_services(void);
@@ -27,6 +26,8 @@ extern void unhook_exit(void);
typedef struct _SHIM_IMAGE_LOADER {
EFI_IMAGE_LOAD LoadImage;
EFI_IMAGE_START StartImage;
+ EFI_EXIT Exit;
+ EFI_IMAGE_UNLOAD UnloadImage;
} SHIM_IMAGE_LOADER;
extern SHIM_IMAGE_LOADER shim_image_loader_interface;