Disable watchdog timer
All checks were successful
Builds / ExectOS (amd64) (push) Successful in 26s
Builds / ExectOS (i686) (push) Successful in 25s

This commit is contained in:
Rafal Kupiec 2023-12-03 23:46:20 +01:00
parent 9f36d397f0
commit 9a3e0f69fa
Signed by: belliash
GPG Key ID: 4E829243E0CFE6B4

View File

@ -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(;;);