From 117b1214d84392675f537ddfc126cd6e3d41facf Mon Sep 17 00:00:00 2001 From: Gary Ching-Pang Lin Date: Tue, 30 Apr 2013 09:46:23 -0400 Subject: Reset the system after restoring the boot entries --- fallback.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'fallback.c') diff --git a/fallback.c b/fallback.c index 5ba0b797..6cc59aa6 100644 --- a/fallback.c +++ b/fallback.c @@ -612,5 +612,9 @@ efi_main(EFI_HANDLE image, EFI_SYSTEM_TABLE *systab) return rc; } + Print(L"Reset System\n"); + uefi_call_wrapper(RT->ResetSystem, 4, EfiResetWarm, + EFI_SUCCESS, 0, NULL); + return EFI_SUCCESS; } -- cgit v1.2.3