Implement more wrappers and refactoring
This commit is contained in:
@@ -90,11 +90,13 @@ BlpRegisterXtLoaderProtocol()
|
||||
EFI_HANDLE Handle = NULL;
|
||||
|
||||
/* Set all routines available via loader protocol */
|
||||
LdrProtocol.Console.ClearScreen = BlConsoleClearScreen;
|
||||
LdrProtocol.Console.DisableCursor = BlConsoleDisableCursor;
|
||||
LdrProtocol.Console.EnableCursor = BlConsoleEnableCursor;
|
||||
LdrProtocol.Console.ClearScreen = BlClearConsoleScreen;
|
||||
LdrProtocol.Console.DisableCursor = BlDisableConsoleCursor;
|
||||
LdrProtocol.Console.EnableCursor = BlEnableConsoleCursor;
|
||||
LdrProtocol.Console.Print = BlConsolePrint;
|
||||
LdrProtocol.Console.QueryMode = BlConsoleQueryMode;
|
||||
LdrProtocol.Console.QueryMode = BlQueryConsoleMode;
|
||||
LdrProtocol.Console.ReadKeyStroke = BlReadKeyStroke;
|
||||
LdrProtocol.Console.ResetInputBuffer = BlResetConsoleInputBuffer;
|
||||
LdrProtocol.Console.SetAttributes = BlSetConsoleAttributes;
|
||||
LdrProtocol.Console.SetCursorPosition = BlSetCursorPosition;
|
||||
LdrProtocol.Console.Write = BlConsoleWrite;
|
||||
@@ -110,6 +112,7 @@ BlpRegisterXtLoaderProtocol()
|
||||
LdrProtocol.Util.ExitBootServices = BlExitBootServices;
|
||||
LdrProtocol.Util.GetSecureBootStatus = BlGetSecureBootStatus;
|
||||
LdrProtocol.Util.SleepExecution = BlSleepExecution;
|
||||
LdrProtocol.Util.WaitForEfiEvent = BlWaitForEfiEvent;
|
||||
|
||||
/* Register XTLDR loader protocol */
|
||||
BlDebugPrint(L"Registering XT loader protocol\n");
|
||||
|
||||
Reference in New Issue
Block a user