]> git.proxmox.com Git - mirror_edk2.git/blob - ArmPlatformPkg/Library/LcdHwNullLib/LcdHwNullLib.c
ArmPlatformPkg: introduce LcdHwLib library class
[mirror_edk2.git] / ArmPlatformPkg / Library / LcdHwNullLib / LcdHwNullLib.c
1 /** @file
2
3 Copyright (c) 2017, Linaro, Ltd. All rights reserved.
4
5 This program and the accompanying materials
6 are licensed and made available under the terms and conditions of the BSD License
7 which accompanies this distribution. The full text of the license may be found at
8 http://opensource.org/licenses/bsd-license.php
9
10 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
11 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
12
13 **/
14
15 #include <Base.h>
16 #include <Uefi/UefiBaseType.h>
17 #include <Library/DebugLib.h>
18 #include <Library/LcdPlatformLib.h>
19
20 /**
21 Check for presence of display
22
23 @retval EFI_SUCCESS Platform implements display.
24 @retval EFI_NOT_FOUND Display not found on the platform.
25
26 **/
27 EFI_STATUS
28 LcdIdentify (
29 VOID
30 )
31 {
32 return EFI_SUCCESS;
33 }
34
35 /**
36 Initialize display.
37
38 @param FrameBaseAddress Address of the frame buffer.
39 @retval EFI_SUCCESS Display initialization success.
40 @retval !(EFI_SUCCESS) Display initialization failure.
41
42 **/
43 EFI_STATUS
44 LcdInitialize (
45 EFI_PHYSICAL_ADDRESS FrameBaseAddress
46 )
47 {
48 return EFI_SUCCESS;
49 }
50
51 /**
52 Set requested mode of the display.
53
54 @param ModeNumber Display mode number.
55 @retval EFI_SUCCESS Display set mode success.
56 @retval EFI_DEVICE_ERROR If mode not found/supported.
57
58 **/
59 EFI_STATUS
60 LcdSetMode (
61 IN UINT32 ModeNumber
62 )
63 {
64 return EFI_SUCCESS;
65 }
66
67 /**
68 De-initializes the display.
69 **/
70 VOID
71 LcdShutdown (
72 VOID
73 )
74 {
75 }