EFI default console support
All checks were successful
ci/woodpecker/push/build Pipeline was successful

This commit is contained in:
2022-08-03 22:36:31 +02:00
parent 09e4edc026
commit 9d7491c732
4 changed files with 95 additions and 0 deletions

View File

@@ -32,10 +32,20 @@ EFI_STATUS
XtLoaderStartup(IN EFI_HANDLE ImageHandle,
IN PEFI_SYSTEM_TABLE SystemTable)
{
EFI_STATUS Status;
/* Set the system table and image handle */
EfiImageHandle = ImageHandle;
EfiSystemTable = SystemTable;
/* Initialize EFI console */
Status = BlConsoleInitialize();
if(Status != STATUS_EFI_SUCCESS) {
/* TODO: Display error message on the serial console */
/* Temporarily return error code */
return STATUS_EFI_INCOMPATIBLE_VERSION;
}
/* Infinite bootloader loop */
for(;;);