MdeModulePkg/GraphicsConsoleDxe: Initialize the output mode
[mirror_edk2.git] / MdeModulePkg / Universal / Console / GraphicsConsoleDxe / GraphicsConsoleDxe.inf
1 ## @file\r
2 #  Console support on graphic devices.\r
3 #\r
4 #  This driver will install Simple Text Output protocol by consuming Graphices Output\r
5 #  protocol or UGA Draw protocol on graphic devices.\r
6 #\r
7 #  Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR>\r
8 #  SPDX-License-Identifier: BSD-2-Clause-Patent\r
9 #\r
10 #\r
11 ##\r
12 \r
13 [Defines]\r
14   INF_VERSION                    = 0x00010005\r
15   BASE_NAME                      = GraphicsConsoleDxe\r
16   MODULE_UNI_FILE                = GraphicsConsoleDxe.uni\r
17   FILE_GUID                      = CCCB0C28-4B24-11d5-9A5A-0090273FC14D\r
18   MODULE_TYPE                    = UEFI_DRIVER\r
19   VERSION_STRING                 = 1.0\r
20   ENTRY_POINT                    = InitializeGraphicsConsole\r
21 \r
22 #\r
23 # The following information is for reference only and not required by the build tools.\r
24 #\r
25 #  VALID_ARCHITECTURES           = IA32 X64 EBC\r
26 #\r
27 #  DRIVER_BINDING                =  gGraphicsConsoleDriverBinding\r
28 #  COMPONENT_NAME                =  gGraphicsConsoleComponentName\r
29 #  COMPONENT_NAME2               =  gGraphicsConsoleComponentName2\r
30 #\r
31 \r
32 [Sources]\r
33   ComponentName.c\r
34   LaffStd.c\r
35   GraphicsConsole.c\r
36   GraphicsConsole.h\r
37 \r
38 [Packages]\r
39   MdePkg/MdePkg.dec\r
40   MdeModulePkg/MdeModulePkg.dec\r
41 \r
42 [LibraryClasses]\r
43   UefiBootServicesTableLib\r
44   MemoryAllocationLib\r
45   BaseMemoryLib\r
46   UefiLib\r
47   UefiDriverEntryPoint\r
48   DebugLib\r
49   HiiLib\r
50   PcdLib\r
51 \r
52 [Protocols]\r
53   gEfiDevicePathProtocolGuid                    ## TO_START\r
54   gEfiSimpleTextOutProtocolGuid                 ## BY_START\r
55   gEfiGraphicsOutputProtocolGuid                ## TO_START\r
56   gEfiUgaDrawProtocolGuid                       ## TO_START\r
57   gEfiHiiFontProtocolGuid                       ## TO_START\r
58   ## TO_START\r
59   ## NOTIFY\r
60   gEfiHiiDatabaseProtocolGuid\r
61 \r
62 [FeaturePcd]\r
63   gEfiMdePkgTokenSpaceGuid.PcdUgaConsumeSupport ## CONSUMES\r
64 \r
65 [Pcd]\r
66   gEfiMdeModulePkgTokenSpaceGuid.PcdVideoHorizontalResolution ## SOMETIMES_CONSUMES\r
67   gEfiMdeModulePkgTokenSpaceGuid.PcdVideoVerticalResolution   ## SOMETIMES_CONSUMES\r
68   gEfiMdeModulePkgTokenSpaceGuid.PcdConOutRow                 ## SOMETIMES_CONSUMES\r
69   gEfiMdeModulePkgTokenSpaceGuid.PcdConOutColumn              ## SOMETIMES_CONSUMES\r
70 \r
71 [UserExtensions.TianoCore."ExtraFiles"]\r
72   GraphicsConsoleDxeExtra.uni\r