Disable watchdog timer
Všechny kontroly byly úspěšné
ci/woodpecker/push/build Pipeline was successful

Tento commit je obsažen v:
2022-08-11 19:19:55 +02:00
rodič 5a56959333
revize ba1efee47e

Zobrazit soubor

@@ -81,6 +81,14 @@ BlStartXtLoader(IN EFI_HANDLE ImageHandle,
return STATUS_EFI_INCOMPATIBLE_VERSION; 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 */ /* Infinite bootloader loop */
for(;;); for(;;);