Reorder routines
This commit is contained in:
parent
a079423174
commit
2434a018c4
@ -152,27 +152,6 @@ BlConsoleWrite(IN PUSHORT String)
|
|||||||
EfiSystemTable->ConOut->OutputString(EfiSystemTable->ConOut, String);
|
EfiSystemTable->ConOut->OutputString(EfiSystemTable->ConOut, String);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* This routine initializes the EFI console.
|
|
||||||
*
|
|
||||||
* @return This routine returns status code.
|
|
||||||
*
|
|
||||||
* @since XT 1.0
|
|
||||||
*/
|
|
||||||
XTCDECL
|
|
||||||
VOID
|
|
||||||
BlpInitializeConsole()
|
|
||||||
{
|
|
||||||
/* Clear console buffers */
|
|
||||||
EfiSystemTable->ConIn->Reset(EfiSystemTable->ConIn, TRUE);
|
|
||||||
EfiSystemTable->ConOut->Reset(EfiSystemTable->ConOut, TRUE);
|
|
||||||
EfiSystemTable->StdErr->Reset(EfiSystemTable->StdErr, TRUE);
|
|
||||||
|
|
||||||
/* Clear screen and enable cursor */
|
|
||||||
BlConsoleClearScreen();
|
|
||||||
BlConsoleEnableCursor();
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Writes a character to the default EFI console.
|
* Writes a character to the default EFI console.
|
||||||
*
|
*
|
||||||
@ -194,3 +173,24 @@ BlpConsolePrintChar(IN USHORT Character)
|
|||||||
Buffer[1] = 0;
|
Buffer[1] = 0;
|
||||||
EfiSystemTable->ConOut->OutputString(EfiSystemTable->ConOut, Buffer);
|
EfiSystemTable->ConOut->OutputString(EfiSystemTable->ConOut, Buffer);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This routine initializes the EFI console.
|
||||||
|
*
|
||||||
|
* @return This routine returns status code.
|
||||||
|
*
|
||||||
|
* @since XT 1.0
|
||||||
|
*/
|
||||||
|
XTCDECL
|
||||||
|
VOID
|
||||||
|
BlpInitializeConsole()
|
||||||
|
{
|
||||||
|
/* Clear console buffers */
|
||||||
|
EfiSystemTable->ConIn->Reset(EfiSystemTable->ConIn, TRUE);
|
||||||
|
EfiSystemTable->ConOut->Reset(EfiSystemTable->ConOut, TRUE);
|
||||||
|
EfiSystemTable->StdErr->Reset(EfiSystemTable->StdErr, TRUE);
|
||||||
|
|
||||||
|
/* Clear screen and enable cursor */
|
||||||
|
BlConsoleClearScreen();
|
||||||
|
BlConsoleEnableCursor();
|
||||||
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user