Disable watchdog timer
This commit is contained in:
parent
9f36d397f0
commit
9a3e0f69fa
@ -52,6 +52,14 @@ BlStartXtLoader(IN EFI_HANDLE ImageHandle,
|
||||
}
|
||||
}
|
||||
|
||||
/* Disable watchdog timer */
|
||||
Status = EfiSystemTable->BootServices->SetWatchdogTimer(0, 0x10000, 0, NULL);
|
||||
if(Status != STATUS_EFI_SUCCESS)
|
||||
{
|
||||
/* Failed to disable the timer, print message */
|
||||
BlDebugPrint(L"WARNING: Failed to disable watchdog timer\n");
|
||||
}
|
||||
|
||||
/* Temporary infinite loop */
|
||||
for(;;);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user