TianoCore EDK2 master
Loading...
Searching...
No Matches
GraphicsConsole.h File Reference

Go to the source code of this file.

Data Structures

union  GLYPH_UNION
 
struct  GRAPHICS_CONSOLE_MODE_DATA
 
struct  GRAPHICS_CONSOLE_DEV
 

Macros

#define GRAPHICS_CONSOLE_DEV_SIGNATURE   SIGNATURE_32 ('g', 's', 't', 'o')
 
#define GRAPHICS_CONSOLE_CON_OUT_DEV_FROM_THIS(a)    CR (a, GRAPHICS_CONSOLE_DEV, SimpleTextOutput, GRAPHICS_CONSOLE_DEV_SIGNATURE)
 

Functions

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)
 

Variables

EFI_COMPONENT_NAME_PROTOCOL gGraphicsConsoleComponentName
 
EFI_COMPONENT_NAME2_PROTOCOL gGraphicsConsoleComponentName2
 
EFI_DRIVER_BINDING_PROTOCOL gGraphicsConsoleDriverBinding
 
EFI_NARROW_GLYPH gUsStdNarrowGlyphData []
 
UINT32 mNarrowFontSize
 

Detailed Description

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.

Macro Definition Documentation

◆ GRAPHICS_CONSOLE_CON_OUT_DEV_FROM_THIS

#define GRAPHICS_CONSOLE_CON_OUT_DEV_FROM_THIS (   a)     CR (a, GRAPHICS_CONSOLE_DEV, SimpleTextOutput, GRAPHICS_CONSOLE_DEV_SIGNATURE)

Definition at line 69 of file GraphicsConsole.h.

◆ GRAPHICS_CONSOLE_DEV_SIGNATURE

#define GRAPHICS_CONSOLE_DEV_SIGNATURE   SIGNATURE_32 ('g', 's', 't', 'o')

Definition at line 47 of file GraphicsConsole.h.

Function Documentation

◆ CheckModeSupported()

EFI_STATUS CheckModeSupported ( EFI_GRAPHICS_OUTPUT_PROTOCOL GraphicsOutput,
IN UINT32  HorizontalResolution,
IN UINT32  VerticalResolution,
OUT UINT32 *  CurrentModeNumber 
)

Check if the current specific mode supported the user defined resolution for the Graphics Console device based on Graphics Output Protocol.

If yes, set the graphic device's current mode to this specific mode.

Parameters
GraphicsOutputGraphics Output Protocol instance pointer.
HorizontalResolutionUser defined horizontal resolution
VerticalResolutionUser defined vertical resolution.
CurrentModeNumberCurrent specific mode to be check.
Return values
EFI_SUCCESSThe mode is supported.
EFI_UNSUPPORTEDThe specific mode is out of range of graphics device supported.
otherThe specific mode does not support user defined resolution or failed to set the current mode to the specific mode on graphics device.

Definition at line 784 of file GraphicsConsole.c.

◆ DrawUnicodeWeightAtCursorN()

EFI_STATUS DrawUnicodeWeightAtCursorN ( IN EFI_SIMPLE_TEXT_OUTPUT_PROTOCOL This,
IN CHAR16 *  UnicodeWeight,
IN UINTN  Count 
)

Draw Unicode string on the Graphics Console device's screen.

Parameters
ThisProtocol instance pointer.
UnicodeWeightOne Unicode string to be displayed.
CountThe count of Unicode string.
Return values
EFI_OUT_OF_RESOURCESIf no memory resource to use.
EFI_UNSUPPORTEDIf no Graphics Output protocol and UGA Draw protocol exist.
EFI_SUCCESSDrawing Unicode string implemented successfully.

Definition at line 1773 of file GraphicsConsole.c.

◆ EfiLocateHiiProtocol()

EFI_STATUS EfiLocateHiiProtocol ( VOID  )

Locate HII Database protocol and HII Font protocol.

Return values
EFI_SUCCESSHII Database protocol and HII Font protocol are located successfully.
Returns
other Failed to locate HII Database protocol or HII Font protocol.

Definition at line 850 of file GraphicsConsole.c.

◆ FlushCursor()

Flush the cursor on the screen.

If CursorVisible is FALSE, nothing to do and return directly. If CursorVisible is TRUE, i) If the cursor shows on screen, it will be erased. ii) If the cursor does not show on screen, it will be shown.

Parameters
ThisProtocol instance pointer.
Return values
EFI_SUCCESSThe cursor is erased successfully.

Definition at line 1928 of file GraphicsConsole.c.

◆ GetTextColors()

Gets Graphics Console device's foreground color and background color.

Parameters
ThisProtocol instance pointer.
ForegroundReturned text foreground color.
BackgroundReturned text background color.
Return values
EFI_SUCCESSIt returned always.

Definition at line 1743 of file GraphicsConsole.c.

◆ GraphicsConsoleComponentNameGetControllerName()

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 
)

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_SUCCESSThe 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_PARAMETERControllerHandle is NULL.
EFI_INVALID_PARAMETERChildHandle is not NULL and it is not a valid EFI_HANDLE.
EFI_INVALID_PARAMETERLanguage is NULL.
EFI_INVALID_PARAMETERControllerName is NULL.
EFI_UNSUPPORTEDThe driver specified by This is not currently managing the controller specified by ControllerHandle and ChildHandle.
EFI_UNSUPPORTEDThe driver specified by This does not support the language specified by Language.

Definition at line 166 of file ComponentName.c.

◆ GraphicsConsoleComponentNameGetDriverName()

EFI_STATUS EFIAPI GraphicsConsoleComponentNameGetDriverName ( IN EFI_COMPONENT_NAME_PROTOCOL This,
IN CHAR8 *  Language,
OUT CHAR16 **  DriverName 
)

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_SUCCESSThe Unicode string for the Driver specified by This and the language specified by Language was returned in DriverName.
EFI_INVALID_PARAMETERLanguage is NULL.
EFI_INVALID_PARAMETERDriverName is NULL.
EFI_UNSUPPORTEDThe driver specified by This does not support the language specified by Language.

Definition at line 81 of file ComponentName.c.

◆ GraphicsConsoleConOutClearScreen()

EFI_STATUS EFIAPI GraphicsConsoleConOutClearScreen ( IN EFI_SIMPLE_TEXT_OUTPUT_PROTOCOL This)

Clears the output device(s) display to the currently selected background color.

Implements SIMPLE_TEXT_OUTPUT.ClearScreen().

Parameters
ThisProtocol instance pointer.
Return values
EFI_SUCCESSThe operation completed successfully.
EFI_DEVICE_ERRORThe device had an error and could not complete the request.
EFI_UNSUPPORTEDThe output device is not in a valid text mode.

Definition at line 1553 of file GraphicsConsole.c.

◆ GraphicsConsoleConOutEnableCursor()

EFI_STATUS EFIAPI GraphicsConsoleConOutEnableCursor ( IN EFI_SIMPLE_TEXT_OUTPUT_PROTOCOL This,
IN BOOLEAN  Visible 
)

Makes the cursor visible or invisible.

Implements SIMPLE_TEXT_OUTPUT.EnableCursor().

Parameters
ThisProtocol instance pointer.
VisibleIf TRUE, the cursor is set to be visible, If FALSE, the cursor is set to be invisible.
Return values
EFI_SUCCESSThe operation completed successfully.

Makes the cursor visible or invisible.

Implements SIMPLE_TEXT_OUTPUT.EnableCursor().

Parameters
ThisProtocol instance pointer.
VisibleIf TRUE, the cursor is set to be visible, If FALSE, the cursor is set to be invisible.
Return values
EFI_SUCCESSThe operation completed successfully.
EFI_UNSUPPORTEDThe output device's mode is not currently in a defined text mode.

Definition at line 1706 of file GraphicsConsole.c.

◆ GraphicsConsoleConOutOutputString()

EFI_STATUS EFIAPI GraphicsConsoleConOutOutputString ( IN EFI_SIMPLE_TEXT_OUTPUT_PROTOCOL This,
IN CHAR16 *  WString 
)

Write a Unicode string to the output device.

Implements SIMPLE_TEXT_OUTPUT.OutputString(). The Unicode string will be converted to Glyphs and will be sent to the Graphics Console.

Parameters
ThisProtocol instance pointer.
WStringThe NULL-terminated Unicode string to be displayed on the output device(s). All output devices must also support the Unicode drawing defined in this file.
Return values
EFI_SUCCESSThe string was output to the device.
EFI_DEVICE_ERRORThe device reported an error while attempting to output the text.
EFI_UNSUPPORTEDThe output device's mode is not currently in a defined text mode.
EFI_WARN_UNKNOWN_GLYPHThis warning code indicates that some of the characters in the Unicode string could not be rendered and were skipped.

Definition at line 929 of file GraphicsConsole.c.

◆ GraphicsConsoleConOutQueryMode()

EFI_STATUS EFIAPI GraphicsConsoleConOutQueryMode ( IN EFI_SIMPLE_TEXT_OUTPUT_PROTOCOL This,
IN UINTN  ModeNumber,
OUT UINTN Columns,
OUT UINTN Rows 
)

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
ThisProtocol instance pointer.
ModeNumberThe mode number to return information on.
ColumnsThe returned columns of the requested mode.
RowsThe returned rows of the requested mode.
Return values
EFI_SUCCESSThe requested mode information is returned.
EFI_UNSUPPORTEDThe 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
ThisProtocol instance pointer.
ModeNumberThe mode number to return information on.
ColumnsThe returned columns of the requested mode.
RowsThe returned rows of the requested mode.
Return values
EFI_SUCCESSThe requested mode information is returned.
EFI_UNSUPPORTEDThe mode number is not valid.

Definition at line 1264 of file GraphicsConsole.c.

◆ GraphicsConsoleConOutReset()

EFI_STATUS EFIAPI GraphicsConsoleConOutReset ( IN EFI_SIMPLE_TEXT_OUTPUT_PROTOCOL This,
IN BOOLEAN  ExtendedVerification 
)

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
ThisProtocol instance pointer.
ExtendedVerificationIndicates that the driver may perform a more exhaustive verification operation of the device during reset.
Return values
EFI_SUCCESSThe text output device was reset.
EFI_DEVICE_ERRORThe text output device is not functioning correctly and could not be reset.

Definition at line 889 of file GraphicsConsole.c.

◆ GraphicsConsoleConOutSetAttribute()

EFI_STATUS EFIAPI GraphicsConsoleConOutSetAttribute ( IN EFI_SIMPLE_TEXT_OUTPUT_PROTOCOL This,
IN UINTN  Attribute 
)

Sets the background and foreground colors for the OutputString () and ClearScreen () functions.

Implements SIMPLE_TEXT_OUTPUT.SetAttribute().

Parameters
ThisProtocol instance pointer.
AttributeThe attribute to set. Bits 0..3 are the foreground color, and bits 4..6 are the background color. All other bits are undefined and must be zero.
Return values
EFI_SUCCESSThe requested attribute is set.
EFI_DEVICE_ERRORThe requested attribute cannot be set due to Graphics Console port error.
EFI_UNSUPPORTEDThe attribute requested is not defined.

Definition at line 1510 of file GraphicsConsole.c.

◆ GraphicsConsoleConOutSetCursorPosition()

EFI_STATUS EFIAPI GraphicsConsoleConOutSetCursorPosition ( IN EFI_SIMPLE_TEXT_OUTPUT_PROTOCOL This,
IN UINTN  Column,
IN UINTN  Row 
)

Sets the current coordinates of the cursor position.

Implements SIMPLE_TEXT_OUTPUT.SetCursorPosition().

Parameters
ThisProtocol instance pointer.
ColumnThe position to set the cursor to. Must be greater than or equal to zero and less than the number of columns and rows by QueryMode ().
RowThe position to set the cursor to. Must be greater than or equal to zero and less than the number of columns and rows by QueryMode ().
Return values
EFI_SUCCESSThe operation completed successfully.
EFI_DEVICE_ERRORThe device had an error and could not complete the request.
EFI_UNSUPPORTEDThe output device is not in a valid text mode, or the cursor position is invalid for the current mode.

Definition at line 1642 of file GraphicsConsole.c.

◆ GraphicsConsoleConOutSetMode()

EFI_STATUS EFIAPI GraphicsConsoleConOutSetMode ( IN EFI_SIMPLE_TEXT_OUTPUT_PROTOCOL This,
IN UINTN  ModeNumber 
)

Sets the output device(s) to a specified mode.

Implements SIMPLE_TEXT_OUTPUT.SetMode(). Set the Graphics Console to a specified mode. In this driver, we only support mode 0.

Parameters
ThisProtocol instance pointer.
ModeNumberThe text mode to set.
Return values
EFI_SUCCESSThe requested text mode is set.
EFI_DEVICE_ERRORThe requested text mode cannot be set because of Graphics Console device error.
EFI_UNSUPPORTEDThe text mode number is not valid.

Definition at line 1314 of file GraphicsConsole.c.

◆ GraphicsConsoleConOutTestString()

EFI_STATUS EFIAPI GraphicsConsoleConOutTestString ( IN EFI_SIMPLE_TEXT_OUTPUT_PROTOCOL This,
IN CHAR16 *  WString 
)

Verifies that all characters in a Unicode string can be output to the target device.

Implements SIMPLE_TEXT_OUTPUT.TestString(). If one of the characters in the *Wstring is neither valid valid Unicode drawing characters, not ASCII code, then this function will return EFI_UNSUPPORTED

Parameters
ThisProtocol instance pointer.
WStringThe NULL-terminated Unicode string to be examined for the output device(s).
Return values
EFI_SUCCESSThe device(s) are capable of rendering the output string.
EFI_UNSUPPORTEDSome of the characters in the Unicode string cannot be rendered by one or more of the output devices mapped by the EFI handle.

Definition at line 1209 of file GraphicsConsole.c.

◆ GraphicsConsoleControllerDriverStart()

EFI_STATUS EFIAPI GraphicsConsoleControllerDriverStart ( IN EFI_DRIVER_BINDING_PROTOCOL This,
IN EFI_HANDLE  Controller,
IN EFI_DEVICE_PATH_PROTOCOL RemainingDevicePath 
)

Start this driver on Controller by opening Graphics Output protocol or UGA Draw protocol, and installing Simple Text Out protocol on Controller. (UGA Draw protocol could be skipped if PcdUgaConsumeSupport is set to FALSE.)

Parameters
ThisProtocol instance pointer.
ControllerHandle of device to bind driver to
RemainingDevicePathOptional parameter use to pick a specific child device to start.
Return values
EFI_SUCCESSThis driver is added to Controller.
otherThis driver does not support this device.

Definition at line 387 of file GraphicsConsole.c.

◆ GraphicsConsoleControllerDriverStop()

EFI_STATUS EFIAPI GraphicsConsoleControllerDriverStop ( IN EFI_DRIVER_BINDING_PROTOCOL This,
IN EFI_HANDLE  Controller,
IN UINTN  NumberOfChildren,
IN EFI_HANDLE ChildHandleBuffer 
)

Stop this driver on Controller by removing Simple Text Out protocol and closing the Graphics Output Protocol or UGA Draw protocol on Controller. (UGA Draw protocol could be skipped if PcdUgaConsumeSupport is set to FALSE.)

Parameters
ThisProtocol instance pointer.
ControllerHandle of device to stop driver on
NumberOfChildrenNumber of Handles in ChildHandleBuffer. If number of children is zero stop the entire bus driver.
ChildHandleBufferList of Child Handles to Stop.
Return values
EFI_SUCCESSThis driver is removed Controller.
EFI_NOT_STARTEDSimple Text Out protocol could not be found the Controller.
otherThis driver was not removed from this device.

Definition at line 696 of file GraphicsConsole.c.

◆ GraphicsConsoleControllerDriverSupported()

EFI_STATUS EFIAPI GraphicsConsoleControllerDriverSupported ( IN EFI_DRIVER_BINDING_PROTOCOL This,
IN EFI_HANDLE  Controller,
IN EFI_DEVICE_PATH_PROTOCOL RemainingDevicePath 
)

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
ThisProtocol instance pointer.
ControllerHandle of device to test.
RemainingDevicePathOptional parameter use to pick a specific child device to start.
Return values
EFI_SUCCESSThis driver supports this device.
otherThis 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
ThisProtocol instance pointer.
ControllerHandle of device to test.
RemainingDevicePathOptional parameter use to pick a specific child device to start.
Return values
EFI_SUCCESSThis driver supports this device.
otherThis driver does not support this device.

Definition at line 122 of file GraphicsConsole.c.

Variable Documentation

◆ gGraphicsConsoleComponentName

EFI_COMPONENT_NAME_PROTOCOL gGraphicsConsoleComponentName
extern

Definition at line 14 of file ComponentName.c.

◆ gGraphicsConsoleComponentName2

EFI_COMPONENT_NAME2_PROTOCOL gGraphicsConsoleComponentName2
extern

Definition at line 23 of file ComponentName.c.

◆ gGraphicsConsoleDriverBinding

EFI_DRIVER_BINDING_PROTOCOL gGraphicsConsoleDriverBinding
extern

Definition at line 95 of file GraphicsConsole.c.

◆ gUsStdNarrowGlyphData

EFI_NARROW_GLYPH gUsStdNarrowGlyphData[]
extern

Definition at line 11 of file LaffStd.c.

◆ mNarrowFontSize

UINT32 mNarrowFontSize
extern

Definition at line 510 of file LaffStd.c.