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