EFI GRAPHICS OUTPUT PROTOCOL MODE

From PhoenixWiki

Jump to: navigation, search

The EFI_GRAPHICS_OUTPUT_PROTOCOL_MODE is read-only and values are only changed by using the appropriate interface functions:

Prototype

typedef struct { 
  UINT32                               MaxMode;
  UINT32                               Mode;
  EFI_GRAPHICS_OUTPUT_MODE_INFORMATION *Info;
  UINTN                                SizeOfInfo;
  EFI_PHYSICAL_ADDRESS                 FrameBufferBase;
  UINTN                                FrameBufferSize;
} EFI_GRAPHICS_OUTPUT_PROTOCOL_MODE;

Members

Member Description
MaxMode The number of modes supported by QueryMode() and SetMode().
Mode Current Mode of the graphics device. Valid mode numbers are 0 to MaxMode -1.
Info Pointer to read-only EFI_GRAPHICS_OUTPUT_MODE_INFORMATION data.
SizeOfInfo Size of Info structure in bytes. Future versions of this specification may increase the size of the EFI_GRAPHICS_OUTPUT_MODE_INFORMATION data.
FrameBufferBase Base address of graphics linear frame buffer. Info contains information required to allow software to draw directly to the frame buffer without using Blt(). Offset zero in FrameBufferBase represents the upper left pixel of the display.
FrameBufferSize Size of the frame buffer represented by FrameBufferBase in bytes.

Copyright (C) 2008-2009 Phoenix Technologies Ltd. All Rights Reserved. Portions copyright (C) 2008 UEFI Forum, Inc. Used with permission.

Personal tools