Reset the system after restoring the boot entries

This commit is contained in:
Gary Ching-Pang Lin 2013-04-30 09:46:23 -04:00 committed by Peter Jones
parent 17266fd057
commit 117b1214d8

View File

@ -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;
}