Disable watchdog timer
All checks were successful
ci/woodpecker/push/build Pipeline was successful

This commit is contained in:
Rafal Kupiec 2022-08-11 19:19:55 +02:00
parent 5a56959333
commit ba1efee47e
Signed by: belliash
GPG Key ID: 4E829243E0CFE6B4

View File

@ -81,6 +81,14 @@ BlStartXtLoader(IN EFI_HANDLE ImageHandle,
return STATUS_EFI_INCOMPATIBLE_VERSION;
}
/* Disable watchdog timer */
Status = EfiSystemTable->BootServices->SetWatchdogTimer(0, 0x10000, 0, NULL);
if(Status != STATUS_EFI_SUCCESS)
{
/* Failed to disable the timer, print message */
BlDbgPrint(L"WARNING: Failed to disable watchdog timer");
}
/* Infinite bootloader loop */
for(;;);