74dcdd124b4780ce48d0c22c00f52448a61be3fb
[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 - 2015, 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 IntelFrameworkPkg/IntelFrameworkPkg.dec
41 SourceLevelDebugPkg/SourceLevelDebugPkg.dec
42
43 [Pcd]
44 # The memory BAR of ehci host controller, in which usb debug feature is enabled.
45 # Note that the memory BAR address is only used before Pci bus resource allocation.
46 gEfiSourceLevelDebugPkgTokenSpaceGuid.PcdUsbXhciMemorySpaceBase ## SOMETIMES_CONSUMES
47
48 # The pci address of ehci host controller, in which usb debug feature is enabled.
49 # The format of pci address please refer to SourceLevelDebugPkg.dec
50 gEfiSourceLevelDebugPkgTokenSpaceGuid.PcdUsbXhciPciAddress ## CONSUMES
51
52 # Per XHCI spec, software shall impose a timeout between the detection of the Debug Host
53 # connection and the DbC Run transition to 1. This PCD specifies the timeout value in microsecond.
54 gEfiSourceLevelDebugPkgTokenSpaceGuid.PcdUsbXhciDebugDetectTimeout ## SOMETIMES_CONSUMES
55
56 # The value of data buffer size used for USB debug port handle.
57 # It should be equal to sizeof (USB3_DEBUG_PORT_HANDLE).
58 gEfiSourceLevelDebugPkgTokenSpaceGuid.PcdDebugPortHandleBufferSize|239 ## SOMETIMES_CONSUMES
59
60 [LibraryClasses]
61 BaseLib
62 PcdLib
63 IoLib
64 PciLib
65 TimerLib
66 BaseMemoryLib
67 PeiServicesLib
68
69 [Depex.common.PEIM]
70 gEfiPeiMemoryDiscoveredPpiGuid