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