Implement BlConsoleQueryMode() and BlSetCursorPosition()
This commit is contained in:
@@ -36,6 +36,8 @@ typedef VOID (*PBL_CONSOLE_CLEAR_SCREEN)();
|
||||
typedef VOID (*PBL_CONSOLE_DISABLE_CURSOR)();
|
||||
typedef VOID (*PBL_CONSOLE_ENABLE_CURSOR)();
|
||||
typedef VOID (*PBL_CONSOLE_PRINT)(IN PUINT16 Format, IN ...);
|
||||
typedef VOID (*PBL_CONSOLE_QUERY_MODE)(OUT PUINT_PTR ResX, OUT PUINT_PTR ResY);
|
||||
typedef VOID (*PBL_CONSOLE_SET_CURSOR_POSITION)(IN ULONGLONG PosX, IN ULONGLONG PosY);
|
||||
typedef VOID (*PBL_CONSOLE_WRITE)(IN PUSHORT String);
|
||||
typedef VOID (*PBL_DEBUG_PRINT)(IN PUINT16 Format, IN ...);
|
||||
typedef EFI_STATUS (*PBL_EXIT_BOOT_SERVICES)(IN UINT_PTR MapKey);
|
||||
@@ -78,8 +80,10 @@ typedef struct _XTBL_LOADER_PROTOCOL
|
||||
PBL_CONSOLE_CLEAR_SCREEN ClearScreen;
|
||||
PBL_CONSOLE_DISABLE_CURSOR DisableCursor;
|
||||
PBL_CONSOLE_ENABLE_CURSOR EnableCursor;
|
||||
PBL_CONSOLE_WRITE Write;
|
||||
PBL_CONSOLE_PRINT Print;
|
||||
PBL_CONSOLE_QUERY_MODE QueryMode;
|
||||
PBL_CONSOLE_SET_CURSOR_POSITION SetCursorPosition;
|
||||
PBL_CONSOLE_WRITE Write;
|
||||
} Console;
|
||||
struct
|
||||
{
|
||||
|
Reference in New Issue
Block a user