Initialize console without error reporting and allow serial port configuration to be passed via EFI shell
All checks were successful
ci/woodpecker/push/build Pipeline was successful

This commit is contained in:
2022-08-13 13:25:29 +02:00
parent 35b3c59270
commit a6d892bf08
4 changed files with 125 additions and 47 deletions

View File

@@ -29,15 +29,9 @@ BlConsoleClearScreen()
*
* @since XT 1.0
*/
EFI_STATUS
VOID
BlConsoleInitialize()
{
/* Check the console support */
if(!EfiSystemTable->ConOut)
{
return STATUS_EFI_UNSUPPORTED;
}
/* Clear console buffers */
EfiSystemTable->ConIn->Reset(EfiSystemTable->ConIn, TRUE);
EfiSystemTable->ConOut->Reset(EfiSystemTable->ConOut, TRUE);
@@ -48,9 +42,6 @@ BlConsoleInitialize()
/* Enable cursor */
EfiSystemTable->ConOut->EnableCursor(EfiSystemTable->ConOut, TRUE);
/* Return success */
return STATUS_EFI_SUCCESS;
}
/**