• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1## @file
2#  Terminal module installs Simple Text Input(ex)/Out protocols for serial devices.
3#
4#  This module will install Simple Text Input (Ex) protocol and Simple Test Output
5#  protocols based on Serial I/O protocol for serial devices including hotplug serial
6#  devices.
7#
8#  Copyright (c) 2006 - 2014, Intel Corporation. All rights reserved.<BR>
9#  This program and the accompanying materials
10#  are licensed and made available under the terms and conditions of the BSD License
11#  which accompanies this distribution. The full text of the license may be found at
12#  http://opensource.org/licenses/bsd-license.php
13#  THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
14#  WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
15#
16#
17##
18
19[Defines]
20  INF_VERSION                    = 0x00010005
21  BASE_NAME                      = TerminalDxe
22  MODULE_UNI_FILE                = TerminalDxe.uni
23  FILE_GUID                      = 9E863906-A40F-4875-977F-5B93FF237FC6
24  MODULE_TYPE                    = UEFI_DRIVER
25  VERSION_STRING                 = 1.0
26  ENTRY_POINT                    = InitializeTerminal
27
28#
29# The following information is for reference only and not required by the build tools.
30#
31#  VALID_ARCHITECTURES           = IA32 X64 IPF EBC
32#
33#  DRIVER_BINDING                =  gTerminalDriverBinding
34#  COMPONENT_NAME                =  gTerminalComponentName
35#  COMPONENT_NAME2               =  gTerminalComponentName2
36#
37
38[Sources]
39  ComponentName.c
40  Vtutf8.c
41  Ansi.c
42  TerminalConOut.c
43  TerminalConIn.c
44  Terminal.c
45  Terminal.h
46
47[Packages]
48  MdePkg/MdePkg.dec
49  MdeModulePkg/MdeModulePkg.dec
50
51[LibraryClasses]
52  DevicePathLib
53  UefiRuntimeServicesTableLib
54  UefiBootServicesTableLib
55  MemoryAllocationLib
56  BaseMemoryLib
57  ReportStatusCodeLib
58  UefiLib
59  UefiDriverEntryPoint
60  DebugLib
61  PcdLib
62  BaseLib
63
64[Guids]
65  ## SOMETIMES_PRODUCES ## Variable:L"ConInDev"
66  ## SOMETIMES_CONSUMES ## Variable:L"ConInDev"
67  ## SOMETIMES_PRODUCES ## Variable:L"ConOutDev"
68  ## SOMETIMES_CONSUMES ## Variable:L"ConOutDev"
69  ## SOMETIMES_PRODUCES ## Variable:L"ErrOutDev"
70  ## SOMETIMES_CONSUMES ## Variable:L"ErrOutDev"
71  gEfiGlobalVariableGuid
72  gEfiVTUTF8Guid                                ## SOMETIMES_CONSUMES ## GUID # used with a Vendor-Defined Messaging Device Path
73  gEfiVT100Guid                                 ## SOMETIMES_CONSUMES ## GUID # used with a Vendor-Defined Messaging Device Path
74  gEfiVT100PlusGuid                             ## SOMETIMES_CONSUMES ## GUID # used with a Vendor-Defined Messaging Device Path
75  gEfiPcAnsiGuid                                ## SOMETIMES_CONSUMES ## GUID # used with a Vendor-Defined Messaging Device Path
76  gEfiTtyTermGuid                               ## SOMETIMES_CONSUMES ## GUID # used with a Vendor-Defined Messaging Device Path
77  gEdkiiStatusCodeDataTypeVariableGuid          ## SOMETIMES_CONSUMES ## GUID
78
79[Protocols]
80  gEfiSerialIoProtocolGuid                      ## TO_START
81  ## BY_START
82  ## TO_START
83  gEfiDevicePathProtocolGuid
84  gEfiSimpleTextInProtocolGuid                  ## BY_START
85  gEfiSimpleTextInputExProtocolGuid             ## BY_START
86  gEfiSimpleTextOutProtocolGuid                 ## BY_START
87
88[Pcd]
89  gEfiMdePkgTokenSpaceGuid.PcdDefaultTerminalType           ## SOMETIMES_CONSUMES
90  gEfiMdeModulePkgTokenSpaceGuid.PcdErrorCodeSetVariable    ## CONSUMES
91
92# [Event]
93# # Relative timer event set by UnicodeToEfiKey(), used to be one 2 seconds input timeout.
94# EVENT_TYPE_RELATIVE_TIMER                   ## CONSUMES
95# # Period timer event to invoke TerminalConInTimerHandler(), period value is KEYBOARD_TIMER_INTERVAL and used to poll the key from serial
96# EVENT_TYPE_PERIODIC_TIMER                   ## CONSUMES
97
98[UserExtensions.TianoCore."ExtraFiles"]
99  TerminalDxeExtra.uni
100