mirror of
https://github.com/acidanthera/OpenCorePkg.git
synced 2025-12-08 19:25:01 +00:00
OcDebugLogLib: Warn about halting, 2nd attempt
This commit is contained in:
parent
1f301c83ee
commit
d5d8fa16a9
@ -228,7 +228,6 @@ OcLogAddEntry (
|
||||
}
|
||||
|
||||
if (OcLog->Delay > 0) {
|
||||
gST->ConOut->OutputString (gST->ConOut, L"Halting on critical error\r\n");
|
||||
gBS->Stall (OcLog->Delay);
|
||||
}
|
||||
|
||||
@ -268,6 +267,8 @@ OcLogAddEntry (
|
||||
}
|
||||
|
||||
if ((ErrorLevel & OcLog->HaltLevel) != 0) {
|
||||
gST->ConOut->OutputString (gST->ConOut, L"Halting on critical error\r\n");
|
||||
gBS->Stall (1000000);
|
||||
CpuDeadLoop ();
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user