[BOOT] Execution contexts and more refactoring

This commit is contained in:
2024-10-05 15:44:25 -04:00
부모 7c3dafc051
커밋 24a31cab26
13개의 변경된 파일317개의 추가작업 그리고 118개의 파일을 삭제

파일 보기

@@ -37,8 +37,9 @@ Arguments:
Return Value:
EFI_SUCCESS if successful.
EFI_INVALID_PARAMETER if EfiInitCreateInputParameters() fails.
Any status code returned by EfiGetEfiStatusCode(BmMain()).
Any other error code if BmMain() fails.
--*/
@@ -54,7 +55,7 @@ Return Value:
}
//
// Transfer control to the firmware-independent boot manager.
// Transfer control to the firmware-independent boot manager code.
//
return EfiGetEfiStatusCode(BmMain(InputParameters));
}

파일 보기

@@ -60,6 +60,16 @@ Return Value:
//
(VOID)BmOpenDataStore(&DataStoreHandle);
//
// Stop here for now.
// Later this will be used to wait for input.
//
while (TRUE) {
#if defined(__x86_64__) || defined(__i386__)
asm volatile("hlt");
#endif
}
Exit:
BlDestroyLibrary();
return Status;