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