JoshuaWierenga / EfiSharp

An Attempt at building at least some of C# corelib for EFI applications. Inspired by https://github.com/MichalStrehovsky/zerosharp to see if this possible.
MIT License
18 stars 4 forks source link

Disable Watchdog Boot Timer #8

Closed JoshuaWierenga closed 3 years ago

JoshuaWierenga commented 3 years ago

Currently, the program will terminate after 5 minutes because of a timer set by uefi before starting it. This can be disabled by running SetWatchdogTimer(0, 0, 0, NULL) from BootSerivices. From https://wiki.osdev.org/UEFI#My_UEFI_application_hangs.2Fresets_after_about_5_minutes.