]>
Commit | Line | Data |
---|---|---|
2cb6eabe EL |
1 | ## @file\r |
2 | # Debug Communication Library instance based on usb3 debug port.\r | |
3 | #\r | |
4 | # Copyright (c) 2014, Intel Corporation. All rights reserved.<BR>\r | |
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 | |
40 | IntelFrameworkPkg/IntelFrameworkPkg.dec\r | |
41 | SourceLevelDebugPkg/SourceLevelDebugPkg.dec\r | |
42 | \r | |
43 | [Pcd]\r | |
44 | ## The memory BAR of ehci host controller, in which usb debug feature is enabled.\r | |
45 | ## Note that the memory BAR address is only used before Pci bus resource allocation.\r | |
46 | gEfiSourceLevelDebugPkgTokenSpaceGuid.PcdUsbXhciMemorySpaceBase ## SOMETIMES_CONSUMES\r | |
47 | \r | |
48 | ## The pci address of ehci host controller, in which usb debug feature is enabled.\r | |
49 | ## The format of pci address please refer to SourceLevelDebugPkg.dec\r | |
50 | gEfiSourceLevelDebugPkgTokenSpaceGuid.PcdUsbXhciPciAddress ## CONSUMES\r | |
51 | \r | |
52 | ## Per XHCI spec, software shall impose a timeout between the detection of the Debug Host \r | |
53 | ## connection and the DbC Run transition to 1. This PCD specifies the timeout value in microsecond.\r | |
54 | gEfiSourceLevelDebugPkgTokenSpaceGuid.PcdUsbXhciDebugDetectTimeout ## SOMETIMES_CONSUMES\r | |
55 | \r | |
56 | ## The value of data buffer size used for USB debug port handle.\r | |
57 | ## It should be equal to sizeof (USB3_DEBUG_PORT_HANDLE).\r | |
58 | gEfiSourceLevelDebugPkgTokenSpaceGuid.PcdDebugPortHandleBufferSize|256 ## SOMETIMES_CONSUMES\r | |
59 | \r | |
60 | [LibraryClasses]\r | |
61 | BaseLib\r | |
62 | PcdLib\r | |
63 | IoLib\r | |
64 | PciLib\r | |
65 | TimerLib\r | |
66 | UefiBootServicesTableLib\r | |
67 | UefiLib\r | |
68 | BaseMemoryLib\r | |
69 |