Commit | Line | Data |
---|---|---|
2cb6eabe EL |
1 | ## @file\r |
2 | # Debug Communication Library instance based on usb3 debug port.\r | |
3 | #\r | |
9c6a26d6 | 4 | # Copyright (c) 2014 - 2017, Intel Corporation. All rights reserved.<BR>\r |
2cb6eabe EL |
5 | #\r |
6 | # This program and the accompanying materials\r | |
7 | # are licensed and made available under the terms and conditions of the BSD License\r | |
8 | # which accompanies this distribution. The full text of the license may be found at\r | |
9 | # http://opensource.org/licenses/bsd-license.php.\r | |
10 | # THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r | |
11 | # WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r | |
12 | #\r | |
13 | #\r | |
14 | ##\r | |
15 | \r | |
16 | [Defines]\r | |
17 | INF_VERSION = 0x00010005\r | |
18 | BASE_NAME = DebugCommunicationLibUsb3Dxe\r | |
19 | MODULE_UNI_FILE = DebugCommunicationLibUsb3Dxe.uni\r | |
20 | FILE_GUID = C41F8C82-B3E6-47e0-A61D-0F9E429E6996\r | |
21 | MODULE_TYPE = DXE_DRIVER\r | |
22 | VERSION_STRING = 1.0\r | |
23 | LIBRARY_CLASS = DebugCommunicationLib|DXE_CORE DXE_DRIVER DXE_RUNTIME_DRIVER DXE_SAL_DRIVER DXE_SMM_DRIVER UEFI_APPLICATION UEFI_DRIVER SMM_CORE\r | |
24 | \r | |
25 | #\r | |
26 | # The following information is for reference only and not required by the build tools.\r | |
27 | #\r | |
28 | # VALID_ARCHITECTURES = IA32 X64 IPF\r | |
29 | #\r | |
30 | \r | |
31 | [Sources]\r | |
32 | DebugCommunicationLibUsb3Dxe.c\r | |
33 | DebugCommunicationLibUsb3Transfer.c\r | |
34 | DebugCommunicationLibUsb3Common.c\r | |
35 | DebugCommunicationLibUsb3Internal.h\r | |
36 | \r | |
37 | [Packages]\r | |
38 | MdePkg/MdePkg.dec\r | |
39 | MdeModulePkg/MdeModulePkg.dec\r | |
2cb6eabe EL |
40 | SourceLevelDebugPkg/SourceLevelDebugPkg.dec\r |
41 | \r | |
42 | [Pcd]\r | |
4e4a6f3d SQ |
43 | # The memory BAR of ehci host controller, in which usb debug feature is enabled.\r |
44 | # Note that the memory BAR address is only used before Pci bus resource allocation.\r | |
2cb6eabe EL |
45 | gEfiSourceLevelDebugPkgTokenSpaceGuid.PcdUsbXhciMemorySpaceBase ## SOMETIMES_CONSUMES\r |
46 | \r | |
4e4a6f3d SQ |
47 | # The pci address of ehci host controller, in which usb debug feature is enabled.\r |
48 | # The format of pci address please refer to SourceLevelDebugPkg.dec\r | |
2cb6eabe EL |
49 | gEfiSourceLevelDebugPkgTokenSpaceGuid.PcdUsbXhciPciAddress ## CONSUMES\r |
50 | \r | |
4e4a6f3d SQ |
51 | # Per XHCI spec, software shall impose a timeout between the detection of the Debug Host \r |
52 | # connection and the DbC Run transition to 1. This PCD specifies the timeout value in microsecond.\r | |
2cb6eabe EL |
53 | gEfiSourceLevelDebugPkgTokenSpaceGuid.PcdUsbXhciDebugDetectTimeout ## SOMETIMES_CONSUMES\r |
54 | \r | |
4e4a6f3d SQ |
55 | # The value of data buffer size used for USB debug port handle.\r |
56 | # It should be equal to sizeof (USB3_DEBUG_PORT_HANDLE).\r | |
08021523 | 57 | gEfiSourceLevelDebugPkgTokenSpaceGuid.PcdDebugPortHandleBufferSize|239 ## SOMETIMES_CONSUMES\r |
2cb6eabe EL |
58 | \r |
59 | [LibraryClasses]\r | |
60 | BaseLib\r | |
61 | PcdLib\r | |
62 | IoLib\r | |
63 | PciLib\r | |
64 | TimerLib\r | |
65 | UefiBootServicesTableLib\r | |
66 | UefiLib\r | |
67 | BaseMemoryLib\r | |
68 |