ArmPlatformPkg[all]  0.1
 All Data Structures Files Functions Variables Enumerations Enumerator Macros Pages
LcdHwLib.h File Reference

Functions

EFI_STATUS LcdIdentify (VOID)
 
EFI_STATUS LcdInitialize (EFI_PHYSICAL_ADDRESS FrameBaseAddress)
 
EFI_STATUS LcdSetMode (IN UINT32 ModeNumber)
 
VOID LcdShutdown (VOID)
 

Detailed Description

This file contains interface functions for LcdHwLib of ArmPlatformPkg

Copyright (c) 2017, ARM Ltd. All rights reserved.

SPDX-License-Identifier: BSD-2-Clause-Patent

Function Documentation

EFI_STATUS LcdIdentify ( VOID  )

Check for presence of display

Return values
EFI_SUCCESSPlatform implements display.
EFI_NOT_FOUNDDisplay not found on the platform.
EFI_STATUS LcdInitialize ( EFI_PHYSICAL_ADDRESS  FrameBaseAddress)

Initialize display.

Parameters
FrameBaseAddressAddress of the frame buffer.
Return values
EFI_SUCCESSDisplay initialization success.
!(EFI_SUCCESS)Display initialization failure.
EFI_STATUS LcdSetMode ( IN UINT32  ModeNumber)

Set requested mode of the display.

Parameters
ModeNumberDisplay mode number.
Return values
EFI_SUCCESSDisplay set mode success.
EFI_DEVICE_ERRORIf mode not found/supported.
VOID LcdShutdown ( VOID  )

De-initializes the display.