summaryrefslogtreecommitdiff
path: root/shim.h
diff options
context:
space:
mode:
authorPeter Jones <pjones@redhat.com>2015-06-11 13:25:56 -0400
committerPeter Jones <pjones@redhat.com>2015-06-11 13:25:56 -0400
commit0a7003faec146ff1db829cc2d896ab093da7def0 (patch)
tree38a86f63b8457ecb46f2d68f6218735557f430ea /shim.h
parentb9f98904ba133f437ced3660b3b9f033f02244ec (diff)
downloadefi-boot-shim-0a7003faec146ff1db829cc2d896ab093da7def0.tar.gz
efi-boot-shim-0a7003faec146ff1db829cc2d896ab093da7def0.zip
Ensure that apps launched by shim get correct BS->Exit() behavior
Right now applications run by shim get our wrapper for Exit(), but it doesn't do as much cleanup as it should - shim itself also exits, but currently is not doing all the cleanup it should be doing. This changes it so all of shim's cleanup is also performed. Based on a patch and lots of review from Gary Lin. Signed-off-by: Peter Jones <pjones@redhat.com>
Diffstat (limited to 'shim.h')
-rw-r--r--shim.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/shim.h b/shim.h
index f7a766a2..52cbfeb9 100644
--- a/shim.h
+++ b/shim.h
@@ -34,3 +34,6 @@ typedef struct _SHIM_LOCK {
EFI_SHIM_LOCK_HASH Hash;
EFI_SHIM_LOCK_CONTEXT Context;
} SHIM_LOCK;
+
+extern EFI_STATUS shim_init(void);
+extern void shim_fini(void);