11 #ifndef __GRAPHICS_OUTPUT_H__ 12 #define __GRAPHICS_OUTPUT_H__ 16 #define EFI_GRAPHICS_OUTPUT_PROTOCOL_GUID \ 18 0x9042a9de, 0x23dc, 0x4a38, {0x96, 0xfb, 0x7a, 0xde, 0xd0, 0x80, 0x51, 0x6a } \ #define OPTIONAL
Passing the datum to the function is optional, and a NULL is passed if the value is not supplied.
The Pixel definition of the physical frame buffer.
EFI_GRAPHICS_OUTPUT_PROTOCOL_MODE * Mode
Pointer to EFI_GRAPHICS_OUTPUT_PROTOCOL_MODE data.
128 bit buffer containing a unique identifier value.
Write data from the BltBuffer pixel (0, 0) directly to every pixel of the video display rectangle (De...
Write data from the BltBuffer rectangle (SourceX, SourceY) (SourceX + Width, SourceY + Height) direct...
EFI_GRAPHICS_OUTPUT_PROTOCOL_BLT Blt
Read data from the video display rectangle (SourceX, SourceY) (SourceX + Width, SourceY + Height) and...
EFI_GRAPHICS_OUTPUT_BLT_PIXEL Pixel
Copy from the video display rectangle (SourceX, SourceY) (SourceX + Width, SourceY + Height) to the v...
EFI_GRAPHICS_OUTPUT_MODE_INFORMATION * Info
Pointer to read-only EFI_GRAPHICS_OUTPUT_MODE_INFORMATION data.
UINT64 EFI_PHYSICAL_ADDRESS
64-bit physical memory address.
A pixel is 32-bits and byte zero represents blue, byte one represents green, byte two represents red,...
EFI_STATUS(EFIAPI * EFI_GRAPHICS_OUTPUT_PROTOCOL_BLT)(IN EFI_GRAPHICS_OUTPUT_PROTOCOL *This, IN EFI_GRAPHICS_OUTPUT_BLT_PIXEL *BltBuffer OPTIONAL, IN EFI_GRAPHICS_OUTPUT_BLT_OPERATION BltOperation, IN UINTN SourceX, IN UINTN SourceY, IN UINTN DestinationX, IN UINTN DestinationY, IN UINTN Width, IN UINTN Height, IN UINTN Delta OPTIONAL)
Blt a rectangle of pixels on the graphics screen.
EFI_GRAPHICS_OUTPUT_PROTOCOL_QUERY_MODE QueryMode
FILE_LICENCE(BSD2_PATENT)
EFI_STATUS(EFIAPI * EFI_GRAPHICS_OUTPUT_PROTOCOL_SET_MODE)(IN EFI_GRAPHICS_OUTPUT_PROTOCOL *This, IN UINT32 ModeNumber)
Set the video device into the specified mode and clears the visible portions of the output display to...
Provides a basic abstraction to set video modes and copy pixels to and from the graphics controller's...
EFI_GUID gEfiGraphicsOutputProtocolGuid
UINTN FrameBufferSize
Amount of frame buffer needed to support the active mode as defined by PixelsPerScanLine xVerticalRes...
Valid EFI_GRAPHICS_PIXEL_FORMAT enum values are less than this value.
EFI_GRAPHICS_OUTPUT_PROTOCOL_SET_MODE SetMode
UINT64 UINTN
Unsigned value of native width.
A pixel is 32-bits and byte zero represents red, byte one represents green, byte two represents blue,...
UINT32 MaxMode
The number of modes supported by QueryMode() and SetMode().
EFI_PHYSICAL_ADDRESS FrameBufferBase
Base address of graphics linear frame buffer.
UINT32 Mode
Current Mode of the graphics device.
RETURN_STATUS EFI_STATUS
Function return status for EFI API.
EFI_STATUS(EFIAPI * EFI_GRAPHICS_OUTPUT_PROTOCOL_QUERY_MODE)(IN EFI_GRAPHICS_OUTPUT_PROTOCOL *This, IN UINT32 ModeNumber, OUT UINTN *SizeOfInfo, OUT EFI_GRAPHICS_OUTPUT_MODE_INFORMATION **Info)
Returns information for an available graphics mode that the graphics device and the set of active vid...
EFI_GRAPHICS_PIXEL_FORMAT
EFI_GRAPHICS_OUTPUT_BLT_OPERATION
actions for BltOperations
This mode does not support a physical frame buffer.
UINTN SizeOfInfo
Size of Info structure in bytes.