TianoCore EDK2 master
Loading...
Searching...
No Matches
LcdGraphicsOutputDxe.c File Reference

Go to the source code of this file.

Functions

EFI_STATUS LcdInstanceContructor (OUT LCD_INSTANCE **NewInstance)
 
EFI_STATUS InitializeDisplay (IN LCD_INSTANCE *Instance)
 
EFI_STATUS EFIAPI LcdGraphicsOutputDxeInitialize (IN EFI_HANDLE ImageHandle, IN EFI_SYSTEM_TABLE *SystemTable)
 
VOID LcdGraphicsExitBootServicesEvent (IN EFI_EVENT Event, IN VOID *Context)
 
EFI_STATUS EFIAPI LcdGraphicsQueryMode (IN EFI_GRAPHICS_OUTPUT_PROTOCOL *This, IN UINT32 ModeNumber, OUT UINTN *SizeOfInfo, OUT EFI_GRAPHICS_OUTPUT_MODE_INFORMATION **Info)
 
EFI_STATUS EFIAPI LcdGraphicsSetMode (IN EFI_GRAPHICS_OUTPUT_PROTOCOL *This, IN UINT32 ModeNumber)
 
UINTN GetBytesPerPixel (IN LCD_BPP Bpp)
 

Variables

BOOLEAN mDisplayInitialized = FALSE
 
LCD_INSTANCE mLcdTemplate
 

Detailed Description

This file implements the Graphics Output protocol for Arm platforms

Copyright (c) 2011 - 2020, Arm Limited. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent

Definition in file LcdGraphicsOutputDxe.c.

Function Documentation

◆ GetBytesPerPixel()

UINTN GetBytesPerPixel ( IN LCD_BPP  Bpp)

Definition at line 374 of file LcdGraphicsOutputDxe.c.

◆ InitializeDisplay()

EFI_STATUS InitializeDisplay ( IN LCD_INSTANCE Instance)

Definition at line 101 of file LcdGraphicsOutputDxe.c.

◆ LcdGraphicsExitBootServicesEvent()

VOID LcdGraphicsExitBootServicesEvent ( IN EFI_EVENT  Event,
IN VOID *  Context 
)

This function should be called on Event: ExitBootServices to free up memory, stop the driver and uninstall the protocols

Definition at line 223 of file LcdGraphicsOutputDxe.c.

◆ LcdGraphicsOutputDxeInitialize()

EFI_STATUS EFIAPI LcdGraphicsOutputDxeInitialize ( IN EFI_HANDLE  ImageHandle,
IN EFI_SYSTEM_TABLE SystemTable 
)

Definition at line 146 of file LcdGraphicsOutputDxe.c.

◆ LcdGraphicsQueryMode()

EFI_STATUS EFIAPI LcdGraphicsQueryMode ( IN EFI_GRAPHICS_OUTPUT_PROTOCOL This,
IN UINT32  ModeNumber,
OUT UINTN SizeOfInfo,
OUT EFI_GRAPHICS_OUTPUT_MODE_INFORMATION **  Info 
)

GraphicsOutput Protocol function, mapping to EFI_GRAPHICS_OUTPUT_PROTOCOL.QueryMode

Definition at line 242 of file LcdGraphicsOutputDxe.c.

◆ LcdGraphicsSetMode()

EFI_STATUS EFIAPI LcdGraphicsSetMode ( IN EFI_GRAPHICS_OUTPUT_PROTOCOL This,
IN UINT32  ModeNumber 
)

GraphicsOutput Protocol function, mapping to EFI_GRAPHICS_OUTPUT_PROTOCOL.SetMode

Definition at line 295 of file LcdGraphicsOutputDxe.c.

◆ LcdInstanceContructor()

EFI_STATUS LcdInstanceContructor ( OUT LCD_INSTANCE **  NewInstance)

Definition at line 77 of file LcdGraphicsOutputDxe.c.

Variable Documentation

◆ mDisplayInitialized

BOOLEAN mDisplayInitialized = FALSE

Definition at line 24 of file LcdGraphicsOutputDxe.c.

◆ mLcdTemplate

LCD_INSTANCE mLcdTemplate

Definition at line 26 of file LcdGraphicsOutputDxe.c.