]> git.proxmox.com Git - mirror_edk2.git/blob - ArmPlatformPkg/Library/LcdPlatformNullLib/LcdPlatformNullLib.c
ArmPlatformPkg: add Null implementation of LcdPlatformlLib
[mirror_edk2.git] / ArmPlatformPkg / Library / LcdPlatformNullLib / LcdPlatformNullLib.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 EFI_STATUS
21 LcdPlatformInitializeDisplay (
22 IN EFI_HANDLE Handle
23 )
24 {
25 ASSERT (FALSE);
26 return EFI_UNSUPPORTED;
27 }
28
29 EFI_STATUS
30 LcdPlatformGetVram (
31 OUT EFI_PHYSICAL_ADDRESS* VramBaseAddress,
32 OUT UINTN* VramSize
33 )
34 {
35 ASSERT (FALSE);
36 return EFI_UNSUPPORTED;
37 }
38
39 UINT32
40 LcdPlatformGetMaxMode (
41 VOID
42 )
43 {
44 ASSERT (FALSE);
45 return 0;
46 }
47
48 EFI_STATUS
49 LcdPlatformSetMode (
50 IN UINT32 ModeNumber
51 )
52 {
53 ASSERT (FALSE);
54 return EFI_UNSUPPORTED;
55 }
56
57 EFI_STATUS
58 LcdPlatformQueryMode (
59 IN UINT32 ModeNumber,
60 OUT EFI_GRAPHICS_OUTPUT_MODE_INFORMATION *Info
61 )
62 {
63 ASSERT (FALSE);
64 return EFI_UNSUPPORTED;
65 }
66
67 EFI_STATUS
68 LcdPlatformGetTimings (
69 IN UINT32 ModeNumber,
70 OUT UINT32* HRes,
71 OUT UINT32* HSync,
72 OUT UINT32* HBackPorch,
73 OUT UINT32* HFrontPorch,
74 OUT UINT32* VRes,
75 OUT UINT32* VSync,
76 OUT UINT32* VBackPorch,
77 OUT UINT32* VFrontPorch
78 )
79 {
80 ASSERT (FALSE);
81 return EFI_UNSUPPORTED;
82 }
83
84 EFI_STATUS
85 LcdPlatformGetBpp (
86 IN UINT32 ModeNumber,
87 OUT LCD_BPP* Bpp
88 )
89 {
90 ASSERT (FALSE);
91 return EFI_UNSUPPORTED;
92 }