From f95ccd0a7f64c0a63b06fddd278a3e35aa96eba9 Mon Sep 17 00:00:00 2001 From: Peter Jones Date: Fri, 4 Oct 2013 15:29:29 -0400 Subject: Unhook system services as we exit. If we never find a valid thing to boot, we need to undo the weird things we've done. Signed-off-by: Peter Jones --- replacements.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'replacements.c') diff --git a/replacements.c b/replacements.c index b05b2202..bac5e5d7 100644 --- a/replacements.c +++ b/replacements.c @@ -66,7 +66,7 @@ static typeof(systab->BootServices->ExitBootServices) system_exit_boot_services; extern UINT8 insecure_mode; -static void +void unhook_system_services(void) { if (insecure_mode) -- cgit v1.2.3