1## @file
2# This driver provides multi console supports.
3#
4# This driver acts as a virtual console, takes over the console I/O control from selected
5# standard console devices, and transmits console I/O to related console device drivers.
6# Consplitter could install Graphics Output protocol and/or UGA Draw protocol in system
7# table according PCD settings(PcdConOutGopSupport, and PcdConOutUgaSupport). It always
8# consumes Graphics Output protocol which is produced by display device, and consumes UGA Draw
9# protocol which is produced by display device according to PcdUgaConsumeSupport value.
10# Note: If only UGA Draw protocol is installed in system, PcdUgaConsumeSupport should be
11# set to TRUE.
12#
13# Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR>
14#
15#  SPDX-License-Identifier: BSD-2-Clause-Patent
16#
17#
18##
19
20[Defines]
21  INF_VERSION                    = 0x00010005
22  BASE_NAME                      = ConSplitterDxe
23  MODULE_UNI_FILE                = ConSplitterDxe.uni
24  FILE_GUID                      = 408edcec-cf6d-477c-a5a8-b4844e3de281
25  MODULE_TYPE                    = UEFI_DRIVER
26  VERSION_STRING                 = 1.0
27  ENTRY_POINT                    = ConSplitterDriverEntry
28
29#
30# The following information is for reference only and not required by the build tools.
31#
32#  VALID_ARCHITECTURES           = IA32 X64 EBC
33#
34#  DRIVER_BINDING                =  gConSplitterConInDriverBinding
35#  COMPONENT_NAME                =  gConSplitterConInComponentName
36#  COMPONENT_NAME2               =  gConSplitterConInComponentName2
37#  DRIVER_BINDING                =  gConSplitterSimplePointerDriverBinding
38#  COMPONENT_NAME                =  gConSplitterSimplePointerComponentName
39#  COMPONENT_NAME2               =  gConSplitterSimplePointerComponentName2
40#  DRIVER_BINDING                =  gConSplitterConOutDriverBinding
41#  COMPONENT_NAME                =  gConSplitterConOutComponentName
42#  COMPONENT_NAME2               =  gConSplitterConOutComponentName2
43#  DRIVER_BINDING                =  gConSplitterStdErrDriverBinding
44#  COMPONENT_NAME                =  gConSplitterStdErrComponentName
45#  COMPONENT_NAME2               =  gConSplitterStdErrComponentName2
46#
47
48[Sources]
49  ConSplitterGraphics.c
50  ComponentName.c
51  ConSplitter.h
52  ConSplitter.c
53
54[Packages]
55  MdePkg/MdePkg.dec
56  MdeModulePkg/MdeModulePkg.dec
57
58[LibraryClasses]
59  UefiBootServicesTableLib
60  MemoryAllocationLib
61  BaseMemoryLib
62  BaseLib
63  UefiLib
64  UefiDriverEntryPoint
65  DebugLib
66  PcdLib
67
68[Guids]
69  gEfiConsoleInDeviceGuid                       ## SOMETIMES_CONSUMES ## UNDEFINED # protocol GUID installed on device handle
70  gEfiStandardErrorDeviceGuid                   ## SOMETIMES_CONSUMES ## UNDEFINED # protocol GUID installed on device handle
71  gEfiConsoleOutDeviceGuid                      ## SOMETIMES_CONSUMES ## UNDEFINED # protocol GUID installed on device handle
72  ## SOMETIMES_PRODUCES ## Event
73  ## SOMETIMES_CONSUMES ## Event
74  gConnectConInEventGuid
75
76[Protocols]
77  ## PRODUCES
78  ## TO_START
79  gEfiSimplePointerProtocolGuid
80  ## PRODUCES
81  ## TO_START
82  gEfiAbsolutePointerProtocolGuid
83  ## PRODUCES
84  ## TO_START
85  gEfiSimpleTextInProtocolGuid
86  ## PRODUCES
87  ## TO_START
88  gEfiSimpleTextInputExProtocolGuid
89  ## PRODUCES
90  ## TO_START
91  gEfiSimpleTextOutProtocolGuid
92  ## SOMETIMES_PRODUCES
93  ## SOMETIMES_CONSUMES
94  gEfiGraphicsOutputProtocolGuid
95  ## SOMETIMES_PRODUCES
96  ## SOMETIMES_CONSUMES
97  gEfiUgaDrawProtocolGuid
98
99[FeaturePcd]
100  gEfiMdeModulePkgTokenSpaceGuid.PcdConOutGopSupport   ## CONSUMES
101  gEfiMdeModulePkgTokenSpaceGuid.PcdConOutUgaSupport   ## CONSUMES
102  gEfiMdePkgTokenSpaceGuid.PcdUgaConsumeSupport        ## CONSUMES
103
104[Pcd]
105  ## SOMETIMES_PRODUCES
106  ## SOMETIMES_CONSUMES
107  gEfiMdeModulePkgTokenSpaceGuid.PcdConOutRow
108  ## SOMETIMES_PRODUCES
109  ## SOMETIMES_CONSUMES
110  gEfiMdeModulePkgTokenSpaceGuid.PcdConOutColumn
111  gEfiMdeModulePkgTokenSpaceGuid.PcdConInConnectOnDemand  ## SOMETIMES_CONSUMES
112
113[UserExtensions.TianoCore."ExtraFiles"]
114  ConSplitterDxeExtra.uni
115