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