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 = DebugCommunicationLibUsb3Dxe
|
---|
19 | MODULE_UNI_FILE = DebugCommunicationLibUsb3Dxe.uni
|
---|
20 | FILE_GUID = C41F8C82-B3E6-47e0-A61D-0F9E429E6996
|
---|
21 | MODULE_TYPE = DXE_DRIVER
|
---|
22 | VERSION_STRING = 1.0
|
---|
23 | LIBRARY_CLASS = DebugCommunicationLib|DXE_CORE DXE_DRIVER DXE_RUNTIME_DRIVER DXE_SAL_DRIVER DXE_SMM_DRIVER UEFI_APPLICATION UEFI_DRIVER SMM_CORE
|
---|
24 | CONSTRUCTOR = DebugCommunicationUsb3DxeConstructor
|
---|
25 | DESTRUCTOR = DebugCommunicationUsb3DxeDestructor
|
---|
26 |
|
---|
27 | #
|
---|
28 | # The following information is for reference only and not required by the build tools.
|
---|
29 | #
|
---|
30 | # VALID_ARCHITECTURES = IA32 X64 IPF
|
---|
31 | #
|
---|
32 |
|
---|
33 | [Sources]
|
---|
34 | DebugCommunicationLibUsb3Dxe.c
|
---|
35 | DebugCommunicationLibUsb3Transfer.c
|
---|
36 | DebugCommunicationLibUsb3Common.c
|
---|
37 | DebugCommunicationLibUsb3Internal.h
|
---|
38 |
|
---|
39 | [Packages]
|
---|
40 | MdePkg/MdePkg.dec
|
---|
41 | MdeModulePkg/MdeModulePkg.dec
|
---|
42 | SourceLevelDebugPkg/SourceLevelDebugPkg.dec
|
---|
43 |
|
---|
44 | [Pcd]
|
---|
45 | # The memory BAR of ehci host controller, in which usb debug feature is enabled.
|
---|
46 | # Note that the memory BAR address is only used before Pci bus resource allocation.
|
---|
47 | gEfiSourceLevelDebugPkgTokenSpaceGuid.PcdUsbXhciMemorySpaceBase ## SOMETIMES_CONSUMES
|
---|
48 |
|
---|
49 | # The pci address of ehci host controller, in which usb debug feature is enabled.
|
---|
50 | # The format of pci address please refer to SourceLevelDebugPkg.dec
|
---|
51 | gEfiSourceLevelDebugPkgTokenSpaceGuid.PcdUsbXhciPciAddress ## CONSUMES
|
---|
52 |
|
---|
53 | # Per XHCI spec, software shall impose a timeout between the detection of the Debug Host
|
---|
54 | # connection and the DbC Run transition to 1. This PCD specifies the timeout value in microsecond.
|
---|
55 | gEfiSourceLevelDebugPkgTokenSpaceGuid.PcdUsbXhciDebugDetectTimeout ## SOMETIMES_CONSUMES
|
---|
56 |
|
---|
57 | # The value of data buffer size used for USB debug port handle.
|
---|
58 | # It should be equal to sizeof (USB3_DEBUG_PORT_HANDLE).
|
---|
59 | gEfiSourceLevelDebugPkgTokenSpaceGuid.PcdDebugPortHandleBufferSize|249 ## SOMETIMES_CONSUMES
|
---|
60 |
|
---|
61 | [Protocols]
|
---|
62 | ## NOTIFY
|
---|
63 | ## SOMETIMES_CONSUMES
|
---|
64 | gEfiPciIoProtocolGuid
|
---|
65 | gEdkiiIoMmuProtocolGuid ## SOMETIMES_CONSUMES
|
---|
66 | ## NOTIFY
|
---|
67 | ## SOMETIMES_CONSUMES
|
---|
68 | gEfiDxeSmmReadyToLockProtocolGuid
|
---|
69 |
|
---|
70 | [LibraryClasses]
|
---|
71 | BaseLib
|
---|
72 | PcdLib
|
---|
73 | IoLib
|
---|
74 | PciLib
|
---|
75 | TimerLib
|
---|
76 | UefiBootServicesTableLib
|
---|
77 | UefiLib
|
---|
78 | BaseMemoryLib
|
---|
79 | HobLib
|
---|