diff options
| author | Peter Jones <pjones@redhat.com> | 2015-06-11 13:25:56 -0400 |
|---|---|---|
| committer | Peter Jones <pjones@redhat.com> | 2015-06-11 13:25:56 -0400 |
| commit | 0a7003faec146ff1db829cc2d896ab093da7def0 (patch) | |
| tree | 38a86f63b8457ecb46f2d68f6218735557f430ea /shim.h | |
| parent | b9f98904ba133f437ced3660b3b9f033f02244ec (diff) | |
| download | efi-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.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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); |
