EFI default console support
All checks were successful
ci/woodpecker/push/build Pipeline was successful
All checks were successful
ci/woodpecker/push/build Pipeline was successful
This commit is contained in:
@@ -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(;;);
|
||||
|
||||
|
Reference in New Issue
Block a user