TianoCore EDK2 master
Loading...
Searching...
No Matches
LcdHwNullLib.c File Reference
#include <Base.h>
#include <Uefi/UefiBaseType.h>
#include <Library/DebugLib.h>
#include <Library/LcdPlatformLib.h>

Go to the source code of this file.

Functions

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

Detailed Description

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

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

Definition in file LcdHwNullLib.c.

Function Documentation

◆ LcdIdentify()

EFI_STATUS LcdIdentify ( VOID  )

Check for presence of display

Return values
EFI_SUCCESSPlatform implements display.
EFI_NOT_FOUNDDisplay not found on the platform.

Definition at line 22 of file LcdHwNullLib.c.

◆ LcdInitialize()

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.

Definition at line 38 of file LcdHwNullLib.c.

◆ LcdSetMode()

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.

Definition at line 54 of file LcdHwNullLib.c.

◆ LcdShutdown()

VOID LcdShutdown ( VOID  )

De-initializes the display.

Definition at line 65 of file LcdHwNullLib.c.