diff options
Diffstat (limited to 'Private/FirmwareKit')
| -rw-r--r-- | Private/FirmwareKit/EFI/API.hxx | 1 | ||||
| -rw-r--r-- | Private/FirmwareKit/EFI/EFI.hxx | 4 |
2 files changed, 4 insertions, 1 deletions
diff --git a/Private/FirmwareKit/EFI/API.hxx b/Private/FirmwareKit/EFI/API.hxx index dcbb35cf..ffbb1eaa 100644 --- a/Private/FirmwareKit/EFI/API.hxx +++ b/Private/FirmwareKit/EFI/API.hxx @@ -79,6 +79,7 @@ inline void InitEFI(EfiSystemTable *SystemTable) noexcept { ST->ConOut->SetAttribute(SystemTable->ConOut, kEFIYellow); ST->BootServices->SetWatchdogTimer(0, 0, 0, nullptr); + ST->ConOut->EnableCursor(ST->ConOut, false); } #ifdef __BOOTLOADER__ diff --git a/Private/FirmwareKit/EFI/EFI.hxx b/Private/FirmwareKit/EFI/EFI.hxx index aeadfc01..e9dd3ac8 100644 --- a/Private/FirmwareKit/EFI/EFI.hxx +++ b/Private/FirmwareKit/EFI/EFI.hxx @@ -469,6 +469,8 @@ typedef UInt64(EFI_API *EfiOpenProtocol)(EfiHandlePtr Handle, EfiGUID *Guid, EfiHandlePtr ControllerHandle, UInt32 Attributes); +typedef UInt64(EFI_API *EfiEnableCursor)(EfiSimpleTextOutputProtocol* This, Boolean Visible); + /** @name EfiBootServices @brief UEFI Boot Services record, it contains functions necessary to a @@ -538,7 +540,7 @@ typedef struct EfiSimpleTextOutputProtocol { EfiTextAttrib SetAttribute; EfiTextClear ClearScreen; VoidPtr SetCursorPosition; - VoidPtr EnableCursor; + EfiEnableCursor EnableCursor; VoidPtr Mode; } EfiSimpleTextOutputProtocol; |
