diff --git a/xtldr2/xtldr.c b/xtldr2/xtldr.c index dfa0a03..2c96e1d 100644 --- a/xtldr2/xtldr.c +++ b/xtldr2/xtldr.c @@ -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(;;);