summaryrefslogtreecommitdiff
path: root/replacements.h
diff options
context:
space:
mode:
authorPeter Jones <pjones@redhat.com>2014-02-14 15:38:25 -0500
committerPeter Jones <pjones@redhat.com>2014-02-14 17:48:01 -0500
commit06495f692fa748a553ffbde8bfae2974d8c791c0 (patch)
tree74006dce6d9cfd2d58048a57eda41f2b84a6ef0d /replacements.h
parenta0bb7822bc0745cba1af1c119fb9f7a0e5ec828c (diff)
downloadefi-boot-shim-06495f692fa748a553ffbde8bfae2974d8c791c0.tar.gz
efi-boot-shim-06495f692fa748a553ffbde8bfae2974d8c791c0.zip
Allow fallback to use the system's LoadImage/StartImage .
Track use of the system's LoadImage(), and when the next StartImage() call is for an image the system verified, allow that to count as participating, since it has been verified by the system's db. Signed-off-by: Peter Jones <pjones@redhat.com>
Diffstat (limited to 'replacements.h')
-rw-r--r--replacements.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/replacements.h b/replacements.h
index 5b57bc25..bd094240 100644
--- a/replacements.h
+++ b/replacements.h
@@ -41,4 +41,7 @@ extern int loader_is_participating;
extern void hook_system_services(EFI_SYSTEM_TABLE *local_systab);
extern void unhook_system_services(void);
+extern EFI_STATUS install_shim_protocols(void);
+extern void uninstall_shim_protocols(void);
+
#endif /* SHIM_REPLACEMENTS_H */