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