TianoCore EDK2 master
|
#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 | LcdPlatformInitializeDisplay (IN EFI_HANDLE Handle) |
EFI_STATUS | LcdPlatformGetVram (OUT EFI_PHYSICAL_ADDRESS *VramBaseAddress, OUT UINTN *VramSize) |
UINT32 | LcdPlatformGetMaxMode (VOID) |
EFI_STATUS | LcdPlatformSetMode (IN UINT32 ModeNumber) |
EFI_STATUS | LcdPlatformQueryMode (IN UINT32 ModeNumber, OUT EFI_GRAPHICS_OUTPUT_MODE_INFORMATION *Info) |
EFI_STATUS | LcdPlatformGetTimings (IN UINT32 ModeNumber, OUT SCAN_TIMINGS **Horizontal, OUT SCAN_TIMINGS **Vertical) |
EFI_STATUS | LcdPlatformGetBpp (IN UINT32 ModeNumber, OUT LCD_BPP *Bpp) |
Copyright (c) 2017, Linaro, Ltd. All rights reserved. Copyright (c) 2018, Arm Limited. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent
Definition in file LcdPlatformNullLib.c.
EFI_STATUS LcdPlatformGetBpp | ( | IN UINT32 | ModeNumber, |
OUT LCD_BPP * | Bpp | ||
) |
Return bits per pixel information for a mode number.
[in] | ModeNumber | Mode Number. |
[out] | Bpp | Pointer to value bits per pixel information. |
EFI_UNSUPPORTED | Interface is not supported. |
Definition at line 138 of file LcdPlatformNullLib.c.
UINT32 LcdPlatformGetMaxMode | ( | VOID | ) |
Return total number of modes supported.
Note: Valid mode numbers are 0 to MaxMode - 1 See Section 12.9 of the UEFI Specification 2.7
UINT32 | Zero number of modes supported in a NULL library implementation. |
Definition at line 60 of file LcdPlatformNullLib.c.
EFI_STATUS LcdPlatformGetTimings | ( | IN UINT32 | ModeNumber, |
OUT SCAN_TIMINGS ** | Horizontal, | ||
OUT SCAN_TIMINGS ** | Vertical | ||
) |
Return display timing information for the requested mode number.
[in] | ModeNumber | Mode Number. |
[out] | HRes | Pointer to horizontal resolution. |
[out] | HSync | Pointer to horizontal sync width. |
[out] | HBackPorch | Pointer to horizontal back porch. |
[out] | HFrontPorch | Pointer to horizontal front porch. |
[out] | VRes | Pointer to vertical resolution. |
[out] | VSync | Pointer to vertical sync width. |
[out] | VBackPorch | Pointer to vertical back porch. |
[out] | VFrontPorch | Pointer to vertical front porch. |
EFI_UNSUPPORTED | Interface is not supported. |
Definition at line 118 of file LcdPlatformNullLib.c.
EFI_STATUS LcdPlatformGetVram | ( | OUT EFI_PHYSICAL_ADDRESS * | VramBaseAddress, |
OUT UINTN * | VramSize | ||
) |
Allocate VRAM memory in DRAM for the framebuffer (unless it is reserved already).
The allocated address can be used to set the framebuffer.
[out] | VramBaseAddress | A pointer to the framebuffer address. |
[out] | VramSize | A pointer to the size of the frame buffer in bytes |
EFI_UNSUPPORTED | Interface is not supported. |
Definition at line 42 of file LcdPlatformNullLib.c.
EFI_STATUS LcdPlatformInitializeDisplay | ( | IN EFI_HANDLE | Handle | ) |
Platform related initialization function.
[in] | Handle | Handle to the LCD device instance. |
EFI_UNSUPPORTED | Interface is not supported. |
Definition at line 22 of file LcdPlatformNullLib.c.
EFI_STATUS LcdPlatformQueryMode | ( | IN UINT32 | ModeNumber, |
OUT EFI_GRAPHICS_OUTPUT_MODE_INFORMATION * | Info | ||
) |
Return information for the requested mode number.
[in] | ModeNumber | Mode Number. |
[out] | Info | Pointer for returned mode information (on success). |
EFI_UNSUPPORTED | Interface is not supported. |
Definition at line 93 of file LcdPlatformNullLib.c.
EFI_STATUS LcdPlatformSetMode | ( | IN UINT32 | ModeNumber | ) |
Set the requested display mode.
[in] | ModeNumber | Mode Number. |
EFI_UNSUPPORTED | Interface is not supported. |
Definition at line 75 of file LcdPlatformNullLib.c.