24a120322cc5618f223f33ab7f69e4ce6b401f01
[mirror_edk2.git] / SourceLevelDebugPkg / Library / DebugCommunicationLibUsb3 / DebugCommunicationLibUsb3Pei.inf
1 ## @file
2 # Debug Communication Library instance based on usb3 debug port.
3 #
4 # Copyright (c) 2014 - 2018, Intel Corporation. All rights reserved.<BR>
5 #
6 # This program and the accompanying materials
7 # are licensed and made available under the terms and conditions of the BSD License
8 # which accompanies this distribution. The full text of the license may be found at
9 # http://opensource.org/licenses/bsd-license.php.
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
16 [Defines]
17 INF_VERSION = 0x00010005
18 BASE_NAME = DebugCommunicationLibUsb3Pei
19 MODULE_UNI_FILE = DebugCommunicationLibUsb3Pei.uni
20 FILE_GUID = 106C877F-C2BA-4c46-876C-BDFE6171CD7E
21 MODULE_TYPE = PEIM
22 VERSION_STRING = 1.0
23 LIBRARY_CLASS = DebugCommunicationLib|PEIM PEI_CORE
24
25 #
26 # The following information is for reference only and not required by the build tools.
27 #
28 # VALID_ARCHITECTURES = IA32 X64 IPF
29 #
30
31 [Sources]
32 DebugCommunicationLibUsb3Pei.c
33 DebugCommunicationLibUsb3Transfer.c
34 DebugCommunicationLibUsb3Common.c
35 DebugCommunicationLibUsb3Internal.h
36
37 [Packages]
38 MdePkg/MdePkg.dec
39 MdeModulePkg/MdeModulePkg.dec
40 SourceLevelDebugPkg/SourceLevelDebugPkg.dec
41
42 [Ppis]
43 gEfiPeiMemoryDiscoveredPpiGuid ## CONSUMES
44 gEdkiiIoMmuPpiGuid ## SOMETIMES_CONSUMES
45
46 [Pcd]
47 # The memory BAR of ehci host controller, in which usb debug feature is enabled.
48 # Note that the memory BAR address is only used before Pci bus resource allocation.
49 gEfiSourceLevelDebugPkgTokenSpaceGuid.PcdUsbXhciMemorySpaceBase ## SOMETIMES_CONSUMES
50
51 # The pci address of ehci host controller, in which usb debug feature is enabled.
52 # The format of pci address please refer to SourceLevelDebugPkg.dec
53 gEfiSourceLevelDebugPkgTokenSpaceGuid.PcdUsbXhciPciAddress ## CONSUMES
54
55 # Per XHCI spec, software shall impose a timeout between the detection of the Debug Host
56 # connection and the DbC Run transition to 1. This PCD specifies the timeout value in microsecond.
57 gEfiSourceLevelDebugPkgTokenSpaceGuid.PcdUsbXhciDebugDetectTimeout ## SOMETIMES_CONSUMES
58
59 # The value of data buffer size used for USB debug port handle.
60 # It should be equal to sizeof (USB3_DEBUG_PORT_HANDLE).
61 gEfiSourceLevelDebugPkgTokenSpaceGuid.PcdDebugPortHandleBufferSize|249 ## SOMETIMES_CONSUMES
62
63 [LibraryClasses]
64 BaseLib
65 PcdLib
66 IoLib
67 PciLib
68 TimerLib
69 BaseMemoryLib
70 PeiServicesLib
71 HobLib
72
73 [Depex.common.PEIM]
74 gEfiPeiMemoryDiscoveredPpiGuid