Implement BlConsoleWrite() routine
This commit is contained in:
@@ -93,6 +93,23 @@ BlConsolePrint(IN PUINT16 Format,
|
||||
VA_END(Arguments);
|
||||
}
|
||||
|
||||
/**
|
||||
* Displays the string on the device at the current cursor location.
|
||||
*
|
||||
* @param String
|
||||
* The string to be displayed.
|
||||
*
|
||||
* @return This routine does not return any value.
|
||||
*
|
||||
* @since XT 1.0
|
||||
*/
|
||||
XTCDECL
|
||||
VOID
|
||||
BlConsoleWrite(IN PUSHORT String)
|
||||
{
|
||||
EfiSystemTable->ConOut->OutputString(EfiSystemTable->ConOut, String);
|
||||
}
|
||||
|
||||
/**
|
||||
* This routine initializes the EFI console.
|
||||
*
|
||||
|
@@ -37,6 +37,10 @@ VOID
|
||||
BlConsolePrint(IN PUINT16 Format,
|
||||
IN ...);
|
||||
|
||||
XTCDECL
|
||||
VOID
|
||||
BlConsoleWrite(IN PUSHORT String);
|
||||
|
||||
XTCDECL
|
||||
VOID
|
||||
BlDebugPrint(IN PUINT16 Format,
|
||||
|
@@ -94,6 +94,7 @@ BlpRegisterXtLoaderProtocol()
|
||||
LdrProtocol.Console.DisableCursor = BlConsoleDisableCursor;
|
||||
LdrProtocol.Console.EnableCursor = BlConsoleEnableCursor;
|
||||
LdrProtocol.Console.Print = BlConsolePrint;
|
||||
LdrProtocol.Console.Write = BlConsoleWrite;
|
||||
LdrProtocol.Debug.Print = BlDebugPrint;
|
||||
LdrProtocol.Disk.CloseVolume = BlCloseVolume;
|
||||
LdrProtocol.Disk.OpenVolume = BlOpenVolume;
|
||||
|
Reference in New Issue
Block a user