Implement HlClearInterruptFlag() and HlSetInterruptFlag() intrinsic routines

This commit is contained in:
2022-12-27 18:54:01 +01:00
parent 8f3a4aef60
commit 5b75d005a7
5 changed files with 74 additions and 0 deletions

View File

@@ -380,6 +380,7 @@ BlStartNewStack()
/* Infinite bootloader loop */
BlEfiPrint(L"System halted!");
HlClearInterruptFlag();
HlHalt();
/* Return success */
@@ -461,6 +462,7 @@ BlStartXtLoader(IN EFI_HANDLE ImageHandle,
/* Infinite bootloader loop */
BlDbgPrint(L"ERROR: Unexpected exception occurred, probably did not create a new stack\n");
BlEfiPrint(L"System halted!");
HlClearInterruptFlag();
HlHalt();
/* Return success */