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