|
EFI_STATUS EFIAPI | GraphicsConsoleComponentNameGetDriverName (IN EFI_COMPONENT_NAME_PROTOCOL *This, IN CHAR8 *Language, OUT CHAR16 **DriverName) |
|
EFI_STATUS EFIAPI | GraphicsConsoleComponentNameGetControllerName (IN EFI_COMPONENT_NAME_PROTOCOL *This, IN EFI_HANDLE ControllerHandle, IN EFI_HANDLE ChildHandle OPTIONAL, IN CHAR8 *Language, OUT CHAR16 **ControllerName) |
|
EFI_STATUS EFIAPI | GraphicsConsoleConOutReset (IN EFI_SIMPLE_TEXT_OUTPUT_PROTOCOL *This, IN BOOLEAN ExtendedVerification) |
|
EFI_STATUS EFIAPI | GraphicsConsoleConOutOutputString (IN EFI_SIMPLE_TEXT_OUTPUT_PROTOCOL *This, IN CHAR16 *WString) |
|
EFI_STATUS EFIAPI | GraphicsConsoleConOutTestString (IN EFI_SIMPLE_TEXT_OUTPUT_PROTOCOL *This, IN CHAR16 *WString) |
|
EFI_STATUS EFIAPI | GraphicsConsoleConOutQueryMode (IN EFI_SIMPLE_TEXT_OUTPUT_PROTOCOL *This, IN UINTN ModeNumber, OUT UINTN *Columns, OUT UINTN *Rows) |
|
EFI_STATUS EFIAPI | GraphicsConsoleConOutSetMode (IN EFI_SIMPLE_TEXT_OUTPUT_PROTOCOL *This, IN UINTN ModeNumber) |
|
EFI_STATUS EFIAPI | GraphicsConsoleConOutSetAttribute (IN EFI_SIMPLE_TEXT_OUTPUT_PROTOCOL *This, IN UINTN Attribute) |
|
EFI_STATUS EFIAPI | GraphicsConsoleConOutClearScreen (IN EFI_SIMPLE_TEXT_OUTPUT_PROTOCOL *This) |
|
EFI_STATUS EFIAPI | GraphicsConsoleConOutSetCursorPosition (IN EFI_SIMPLE_TEXT_OUTPUT_PROTOCOL *This, IN UINTN Column, IN UINTN Row) |
|
EFI_STATUS EFIAPI | GraphicsConsoleConOutEnableCursor (IN EFI_SIMPLE_TEXT_OUTPUT_PROTOCOL *This, IN BOOLEAN Visible) |
|
EFI_STATUS EFIAPI | GraphicsConsoleControllerDriverSupported (IN EFI_DRIVER_BINDING_PROTOCOL *This, IN EFI_HANDLE Controller, IN EFI_DEVICE_PATH_PROTOCOL *RemainingDevicePath) |
|
EFI_STATUS EFIAPI | GraphicsConsoleControllerDriverStart (IN EFI_DRIVER_BINDING_PROTOCOL *This, IN EFI_HANDLE Controller, IN EFI_DEVICE_PATH_PROTOCOL *RemainingDevicePath) |
|
EFI_STATUS EFIAPI | GraphicsConsoleControllerDriverStop (IN EFI_DRIVER_BINDING_PROTOCOL *This, IN EFI_HANDLE Controller, IN UINTN NumberOfChildren, IN EFI_HANDLE *ChildHandleBuffer) |
|
EFI_STATUS | EfiLocateHiiProtocol (VOID) |
|
EFI_STATUS | GetTextColors (IN EFI_SIMPLE_TEXT_OUTPUT_PROTOCOL *This, OUT EFI_GRAPHICS_OUTPUT_BLT_PIXEL *Foreground, OUT EFI_GRAPHICS_OUTPUT_BLT_PIXEL *Background) |
|
EFI_STATUS | DrawUnicodeWeightAtCursorN (IN EFI_SIMPLE_TEXT_OUTPUT_PROTOCOL *This, IN CHAR16 *UnicodeWeight, IN UINTN Count) |
|
EFI_STATUS | FlushCursor (IN EFI_SIMPLE_TEXT_OUTPUT_PROTOCOL *This) |
|
EFI_STATUS | CheckModeSupported (EFI_GRAPHICS_OUTPUT_PROTOCOL *GraphicsOutput, IN UINT32 HorizontalResolution, IN UINT32 VerticalResolution, OUT UINT32 *CurrentModeNumber) |
|
Header file for GraphicsConsole driver.
Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent
Definition in file GraphicsConsole.h.
Retrieves a Unicode string that is the user readable name of the controller that is being managed by a driver.
This function retrieves the user readable name of the controller specified by ControllerHandle and ChildHandle in the form of a Unicode string. If the driver specified by This has a user readable name in the language specified by Language, then a pointer to the controller name is returned in ControllerName, and EFI_SUCCESS is returned. If the driver specified by This is not currently managing the controller specified by ControllerHandle and ChildHandle, then EFI_UNSUPPORTED is returned. If the driver specified by This does not support the language specified by Language, then EFI_UNSUPPORTED is returned.
- Parameters
-
This[in] | A pointer to the EFI_COMPONENT_NAME2_PROTOCOL or EFI_COMPONENT_NAME_PROTOCOL instance. |
ControllerHandle[in] | The handle of a controller that the driver specified by This is managing. This handle specifies the controller whose name is to be returned. |
ChildHandle[in] | The handle of the child controller to retrieve the name of. This is an optional parameter that may be NULL. It will be NULL for device drivers. It will also be NULL for a bus drivers that wish to retrieve the name of the bus controller. It will not be NULL for a bus driver that wishes to retrieve the name of a child controller. |
Language[in] | A pointer to a Null-terminated ASCII string array indicating the language. This is the language of the driver name that the caller is requesting, and it must match one of the languages specified in SupportedLanguages. The number of languages supported by a driver is up to the driver writer. Language is specified in RFC 4646 or ISO 639-2 language code format. |
ControllerName[out] | A pointer to the Unicode string to return. This Unicode string is the name of the controller specified by ControllerHandle and ChildHandle in the language specified by Language from the point of view of the driver specified by This. |
- Return values
-
EFI_SUCCESS | The Unicode string for the user readable name in the language specified by Language for the driver specified by This was returned in DriverName. |
EFI_INVALID_PARAMETER | ControllerHandle is NULL. |
EFI_INVALID_PARAMETER | ChildHandle is not NULL and it is not a valid EFI_HANDLE. |
EFI_INVALID_PARAMETER | Language is NULL. |
EFI_INVALID_PARAMETER | ControllerName is NULL. |
EFI_UNSUPPORTED | The driver specified by This is not currently managing the controller specified by ControllerHandle and ChildHandle. |
EFI_UNSUPPORTED | The driver specified by This does not support the language specified by Language. |
Definition at line 166 of file ComponentName.c.
Retrieves a Unicode string that is the user readable name of the driver.
This function retrieves the user readable name of a driver in the form of a Unicode string. If the driver specified by This has a user readable name in the language specified by Language, then a pointer to the driver name is returned in DriverName, and EFI_SUCCESS is returned. If the driver specified by This does not support the language specified by Language, then EFI_UNSUPPORTED is returned.
- Parameters
-
This[in] | A pointer to the EFI_COMPONENT_NAME2_PROTOCOL or EFI_COMPONENT_NAME_PROTOCOL instance. |
Language[in] | A pointer to a Null-terminated ASCII string array indicating the language. This is the language of the driver name that the caller is requesting, and it must match one of the languages specified in SupportedLanguages. The number of languages supported by a driver is up to the driver writer. Language is specified in RFC 4646 or ISO 639-2 language code format. |
DriverName[out] | A pointer to the Unicode string to return. This Unicode string is the name of the driver specified by This in the language specified by Language. |
- Return values
-
EFI_SUCCESS | The Unicode string for the Driver specified by This and the language specified by Language was returned in DriverName. |
EFI_INVALID_PARAMETER | Language is NULL. |
EFI_INVALID_PARAMETER | DriverName is NULL. |
EFI_UNSUPPORTED | The driver specified by This does not support the language specified by Language. |
Definition at line 81 of file ComponentName.c.
Makes the cursor visible or invisible.
Implements SIMPLE_TEXT_OUTPUT.EnableCursor().
- Parameters
-
This | Protocol instance pointer. |
Visible | If TRUE, the cursor is set to be visible, If FALSE, the cursor is set to be invisible. |
- Return values
-
EFI_SUCCESS | The operation completed successfully. |
Makes the cursor visible or invisible.
Implements SIMPLE_TEXT_OUTPUT.EnableCursor().
- Parameters
-
This | Protocol instance pointer. |
Visible | If TRUE, the cursor is set to be visible, If FALSE, the cursor is set to be invisible. |
- Return values
-
EFI_SUCCESS | The operation completed successfully. |
EFI_UNSUPPORTED | The output device's mode is not currently in a defined text mode. |
Definition at line 1706 of file GraphicsConsole.c.
Returns information for an available text mode that the output device(s) supports
Implements SIMPLE_TEXT_OUTPUT.QueryMode(). It returns information for an available text mode that the Graphics Console supports. In this driver,we only support text mode 80x25, which is defined as mode 0.
- Parameters
-
This | Protocol instance pointer. |
ModeNumber | The mode number to return information on. |
Columns | The returned columns of the requested mode. |
Rows | The returned rows of the requested mode. |
- Return values
-
EFI_SUCCESS | The requested mode information is returned. |
EFI_UNSUPPORTED | The mode number is not valid. |
Returns information for an available text mode that the output device(s) supports
Implements SIMPLE_TEXT_OUTPUT.QueryMode(). It returnes information for an available text mode that the Graphics Console supports. In this driver,we only support text mode 80x25, which is defined as mode 0.
- Parameters
-
This | Protocol instance pointer. |
ModeNumber | The mode number to return information on. |
Columns | The returned columns of the requested mode. |
Rows | The returned rows of the requested mode. |
- Return values
-
EFI_SUCCESS | The requested mode information is returned. |
EFI_UNSUPPORTED | The mode number is not valid. |
Definition at line 1264 of file GraphicsConsole.c.
Reset the text output device hardware and optionally run diagnostics.
Implements SIMPLE_TEXT_OUTPUT.Reset(). If ExtendedVerification is TRUE, then perform dependent Graphics Console device reset, and set display mode to mode 0. If ExtendedVerification is FALSE, only set display mode to mode 0.
- Parameters
-
This | Protocol instance pointer. |
ExtendedVerification | Indicates that the driver may perform a more exhaustive verification operation of the device during reset. |
- Return values
-
EFI_SUCCESS | The text output device was reset. |
EFI_DEVICE_ERROR | The text output device is not functioning correctly and could not be reset. |
Definition at line 889 of file GraphicsConsole.c.
Test to see if Graphics Console could be supported on the Controller.
Graphics Console could be supported if Graphics Output Protocol or UGADraw Protocol exists on the Controller. (UGA Draw Protocol could be skipped if PcdUgaConsumeSupport is set to FALSE.)
- Parameters
-
This | Protocol instance pointer. |
Controller | Handle of device to test. |
RemainingDevicePath | Optional parameter use to pick a specific child device to start. |
- Return values
-
EFI_SUCCESS | This driver supports this device. |
other | This driver does not support this device. |
Test to see if Graphics Console could be supported on the Controller.
Graphics Console could be supported if Graphics Output Protocol or UGA Draw Protocol exists on the Controller. (UGA Draw Protocol could be skipped if PcdUgaConsumeSupport is set to FALSE.)
- Parameters
-
This | Protocol instance pointer. |
Controller | Handle of device to test. |
RemainingDevicePath | Optional parameter use to pick a specific child device to start. |
- Return values
-
EFI_SUCCESS | This driver supports this device. |
other | This driver does not support this device. |
Definition at line 122 of file GraphicsConsole.c.