]>
Commit | Line | Data |
---|---|---|
2cb6eabe EL |
1 | ## @file\r |
2 | # Debug Communication Library instance based on usb3 debug port.\r | |
3 | #\r | |
75787f65 | 4 | # Copyright (c) 2014 - 2018, Intel Corporation. All rights reserved.<BR>\r |
2cb6eabe | 5 | #\r |
85f7e110 | 6 | # SPDX-License-Identifier: BSD-2-Clause-Patent\r |
2cb6eabe EL |
7 | #\r |
8 | #\r | |
9 | ##\r | |
10 | \r | |
11 | [Defines]\r | |
12 | INF_VERSION = 0x00010005\r | |
13 | BASE_NAME = DebugCommunicationLibUsb3Pei\r | |
14 | MODULE_UNI_FILE = DebugCommunicationLibUsb3Pei.uni\r | |
15 | FILE_GUID = 106C877F-C2BA-4c46-876C-BDFE6171CD7E\r | |
16 | MODULE_TYPE = PEIM\r | |
17 | VERSION_STRING = 1.0\r | |
18 | LIBRARY_CLASS = DebugCommunicationLib|PEIM PEI_CORE\r | |
19 | \r | |
20 | #\r | |
21 | # The following information is for reference only and not required by the build tools.\r | |
22 | #\r | |
659e7817 | 23 | # VALID_ARCHITECTURES = IA32 X64\r |
2cb6eabe EL |
24 | #\r |
25 | \r | |
26 | [Sources]\r | |
27 | DebugCommunicationLibUsb3Pei.c\r | |
28 | DebugCommunicationLibUsb3Transfer.c\r | |
29 | DebugCommunicationLibUsb3Common.c\r | |
30 | DebugCommunicationLibUsb3Internal.h\r | |
31 | \r | |
32 | [Packages]\r | |
33 | MdePkg/MdePkg.dec\r | |
34 | MdeModulePkg/MdeModulePkg.dec\r | |
2cb6eabe EL |
35 | SourceLevelDebugPkg/SourceLevelDebugPkg.dec\r |
36 | \r | |
364f63c0 SZ |
37 | [Ppis]\r |
38 | gEfiPeiMemoryDiscoveredPpiGuid ## CONSUMES\r | |
75787f65 | 39 | gEdkiiIoMmuPpiGuid ## SOMETIMES_CONSUMES\r |
364f63c0 | 40 | \r |
2cb6eabe | 41 | [Pcd]\r |
4e4a6f3d SQ |
42 | # The memory BAR of ehci host controller, in which usb debug feature is enabled.\r |
43 | # Note that the memory BAR address is only used before Pci bus resource allocation.\r | |
2cb6eabe EL |
44 | gEfiSourceLevelDebugPkgTokenSpaceGuid.PcdUsbXhciMemorySpaceBase ## SOMETIMES_CONSUMES\r |
45 | \r | |
4e4a6f3d SQ |
46 | # The pci address of ehci host controller, in which usb debug feature is enabled.\r |
47 | # The format of pci address please refer to SourceLevelDebugPkg.dec\r | |
2cb6eabe EL |
48 | gEfiSourceLevelDebugPkgTokenSpaceGuid.PcdUsbXhciPciAddress ## CONSUMES\r |
49 | \r | |
77695f4d | 50 | # Per XHCI spec, software shall impose a timeout between the detection of the Debug Host\r |
4e4a6f3d | 51 | # connection and the DbC Run transition to 1. This PCD specifies the timeout value in microsecond.\r |
2cb6eabe EL |
52 | gEfiSourceLevelDebugPkgTokenSpaceGuid.PcdUsbXhciDebugDetectTimeout ## SOMETIMES_CONSUMES\r |
53 | \r | |
4e4a6f3d SQ |
54 | # The value of data buffer size used for USB debug port handle.\r |
55 | # It should be equal to sizeof (USB3_DEBUG_PORT_HANDLE).\r | |
75787f65 | 56 | gEfiSourceLevelDebugPkgTokenSpaceGuid.PcdDebugPortHandleBufferSize|249 ## SOMETIMES_CONSUMES\r |
2cb6eabe EL |
57 | \r |
58 | [LibraryClasses]\r | |
59 | BaseLib\r | |
60 | PcdLib\r | |
61 | IoLib\r | |
62 | PciLib\r | |
63 | TimerLib\r | |
64 | BaseMemoryLib\r | |
65 | PeiServicesLib\r | |
75787f65 SZ |
66 | HobLib\r |
67 | \r | |
2cb6eabe EL |
68 | [Depex.common.PEIM]\r |
69 | gEfiPeiMemoryDiscoveredPpiGuid\r |