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

Go to the source code of this file.

Macros

#define BYTES_PER_PIXEL   4
 

Functions

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

Detailed Description

This file contains the platform independent parts of HdLcd

Copyright (c) 2011-2018, ARM Ltd. All rights reserved.

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

Definition in file HdLcd.c.

Macro Definition Documentation

◆ BYTES_PER_PIXEL

#define BYTES_PER_PIXEL   4

Definition at line 19 of file HdLcd.c.

Function Documentation

◆ LcdIdentify()

EFI_STATUS LcdIdentify ( VOID  )

Check for presence of HDLCD.

Return values
EFI_SUCCESSReturns success if platform implements a HDLCD controller.
EFI_NOT_FOUNDHDLCD display controller not found on the platform.

Definition at line 165 of file HdLcd.c.

◆ LcdInitialize()

EFI_STATUS LcdInitialize ( IN EFI_PHYSICAL_ADDRESS  VramBaseAddress)

Initialize display.

Parameters
[in]VramBaseAddressAddress of the framebuffer.
Return values
EFI_SUCCESSDisplay initialization successful.

Definition at line 28 of file HdLcd.c.

◆ LcdSetMode()

EFI_STATUS LcdSetMode ( IN UINT32  ModeNumber)

Set requested mode of the display.

Parameters
[in]ModeNumberDisplay mode number.
Return values
EFI_SUCCESSDisplay mode set successfully.
!(EFI_SUCCESS)Other errors.

Definition at line 62 of file HdLcd.c.

◆ LcdShutdown()

VOID LcdShutdown ( VOID  )

De-initializes the display.

Definition at line 149 of file HdLcd.c.