1 | ## @file
|
---|
2 | # Debug Communication Library instance based on usb debug port.
|
---|
3 | #
|
---|
4 | # Copyright (c) 2010 - 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 = DebugCommunicationLibUsb
|
---|
19 | MODULE_UNI_FILE = DebugCommunicationLibUsb.uni
|
---|
20 | FILE_GUID = 87438836-AD8D-4e3e-9249-895120A67240
|
---|
21 | MODULE_TYPE = BASE
|
---|
22 | VERSION_STRING = 0.7
|
---|
23 | LIBRARY_CLASS = DebugCommunicationLib
|
---|
24 |
|
---|
25 | #
|
---|
26 | # VALID_ARCHITECTURES = IA32 X64
|
---|
27 | #
|
---|
28 |
|
---|
29 | [Sources.common]
|
---|
30 | DebugCommunicationLibUsb.c
|
---|
31 |
|
---|
32 | [Packages]
|
---|
33 | MdePkg/MdePkg.dec
|
---|
34 | SourceLevelDebugPkg/SourceLevelDebugPkg.dec
|
---|
35 |
|
---|
36 | [Pcd]
|
---|
37 | # The memory BAR of usb debug port, it may be different with the memory bar of ehci host controller.
|
---|
38 | # Note that the memory BAR address is only used before Pci bus resource allocation.
|
---|
39 | gEfiSourceLevelDebugPkgTokenSpaceGuid.PcdUsbDebugPortMemorySpaceBase ## SOMETIMES_CONSUMES
|
---|
40 | # The memory BAR of ehci host controller, in which usb debug feature is enabled.
|
---|
41 | # Note that the memory BAR address is only used before Pci bus resource allocation.
|
---|
42 | gEfiSourceLevelDebugPkgTokenSpaceGuid.PcdUsbEhciMemorySpaceBase ## SOMETIMES_CONSUMES
|
---|
43 | # The pci address of ehci host controller, in which usb debug feature is enabled.
|
---|
44 | # The format of pci address please refer to SourceLevelDebugPkg.dec
|
---|
45 | gEfiSourceLevelDebugPkgTokenSpaceGuid.PcdUsbEhciPciAddress ## CONSUMES
|
---|
46 | # The value of data buffer size used for USB debug port handle.
|
---|
47 | # It should be equal to sizeof (USB_DEBUG_PORT_HANDLE).
|
---|
48 | gEfiSourceLevelDebugPkgTokenSpaceGuid.PcdDebugPortHandleBufferSize|40 ## SOMETIMES_CONSUMES
|
---|
49 |
|
---|
50 | [LibraryClasses]
|
---|
51 | TimerLib
|
---|
52 | IoLib
|
---|
53 | PciLib
|
---|
54 | PcdLib
|
---|
55 | DebugLib
|
---|
56 |
|
---|