From 0a7003faec146ff1db829cc2d896ab093da7def0 Mon Sep 17 00:00:00 2001 From: Peter Jones Date: Thu, 11 Jun 2015 13:25:56 -0400 Subject: 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 --- shim.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'shim.h') 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); -- cgit v1.2.3