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