1## @file
2# This driver produces Debug Port protocol to be used by debug agent to communicate with the remote debug host.
3#
4# This driver binds exclusively to a standard UART serial port on the controller handle,
5# and initializes serial Io interface, publishs Debug Port and Device Path Protocol.
6#
7# Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR>
8#
9#  SPDX-License-Identifier: BSD-2-Clause-Patent
10#
11#
12##
13
14[Defines]
15  INF_VERSION                    = 0x00010005
16  BASE_NAME                      = DebugPortDxe
17  MODULE_UNI_FILE                = DebugPortDxe.uni
18  FILE_GUID                      = 73E9457A-CEA1-4917-9A9C-9F1F0F0FD322
19  MODULE_TYPE                    = UEFI_DRIVER
20  VERSION_STRING                 = 1.0
21  ENTRY_POINT                    = InitializeDebugPortDriver
22  UNLOAD_IMAGE                   = ImageUnloadHandler
23
24#
25# The following information is for reference only and not required by the build tools.
26#
27#  VALID_ARCHITECTURES           = IA32 X64 EBC
28#
29#  DRIVER_BINDING                =  gDebugPortDriverBinding
30#  COMPONENT_NAME                =  gDebugPortComponentName
31#  COMPONENT_NAME2               =  gDebugPortComponentName2
32#  Variable Guid C Name: gEfiDebugPortProtocolGuid Variable Name: L"DEBUGPORT"
33#
34#
35
36[Sources]
37  ComponentName.c
38  DebugPort.c
39  DebugPort.h
40
41
42[Packages]
43  MdePkg/MdePkg.dec
44
45
46[LibraryClasses]
47  DevicePathLib
48  UefiRuntimeServicesTableLib
49  UefiBootServicesTableLib
50  MemoryAllocationLib
51  BaseMemoryLib
52  UefiLib
53  UefiDriverEntryPoint
54  DebugLib
55
56[Guids]
57  gEfiDebugPortVariableGuid                     ## SOMETIMES_CONSUMES   ## Variable:L"DEBUGPORT"
58  gEfiDebugPortDevicePathGuid                   ## SOMETIMES_CONSUMES   ## UNDEFINED # Device path
59
60[Protocols]
61  gEfiSerialIoProtocolGuid                      ## TO_START
62  gEfiDevicePathProtocolGuid                    ## BY_START
63  gEfiDebugPortProtocolGuid                     ## BY_START
64
65[UserExtensions.TianoCore."ExtraFiles"]
66  DebugPortDxeExtra.uni
67