2010-09-12 08:43:36 +02:00
|
|
|
## @file
|
|
|
|
# Debug Communication Library instance based on usb debug port.
|
|
|
|
#
|
2015-01-19 03:44:10 +01:00
|
|
|
# Copyright (c) 2010 - 2015, Intel Corporation. All rights reserved.<BR>
|
2010-09-12 08:43:36 +02:00
|
|
|
#
|
2019-04-04 01:07:10 +02:00
|
|
|
# SPDX-License-Identifier: BSD-2-Clause-Patent
|
2010-09-12 08:43:36 +02:00
|
|
|
#
|
|
|
|
#
|
|
|
|
##
|
|
|
|
|
|
|
|
[Defines]
|
|
|
|
INF_VERSION = 0x00010005
|
|
|
|
BASE_NAME = DebugCommunicationLibUsb
|
2014-08-28 07:13:05 +02:00
|
|
|
MODULE_UNI_FILE = DebugCommunicationLibUsb.uni
|
2010-09-12 08:43:36 +02:00
|
|
|
FILE_GUID = 87438836-AD8D-4e3e-9249-895120A67240
|
|
|
|
MODULE_TYPE = BASE
|
|
|
|
VERSION_STRING = 0.7
|
|
|
|
LIBRARY_CLASS = DebugCommunicationLib
|
|
|
|
|
|
|
|
#
|
|
|
|
# VALID_ARCHITECTURES = IA32 X64
|
|
|
|
#
|
|
|
|
|
|
|
|
[Sources.common]
|
|
|
|
DebugCommunicationLibUsb.c
|
|
|
|
|
|
|
|
[Packages]
|
|
|
|
MdePkg/MdePkg.dec
|
|
|
|
SourceLevelDebugPkg/SourceLevelDebugPkg.dec
|
|
|
|
|
|
|
|
[Pcd]
|
2015-01-19 03:44:10 +01:00
|
|
|
# The memory BAR of usb debug port, it may be different with the memory bar of ehci host controller.
|
|
|
|
# Note that the memory BAR address is only used before Pci bus resource allocation.
|
2014-08-28 07:13:05 +02:00
|
|
|
gEfiSourceLevelDebugPkgTokenSpaceGuid.PcdUsbDebugPortMemorySpaceBase ## SOMETIMES_CONSUMES
|
2015-01-19 03:44:10 +01:00
|
|
|
# The memory BAR of ehci host controller, in which usb debug feature is enabled.
|
|
|
|
# Note that the memory BAR address is only used before Pci bus resource allocation.
|
2014-08-28 07:13:05 +02:00
|
|
|
gEfiSourceLevelDebugPkgTokenSpaceGuid.PcdUsbEhciMemorySpaceBase ## SOMETIMES_CONSUMES
|
2015-01-19 03:44:10 +01:00
|
|
|
# The pci address of ehci host controller, in which usb debug feature is enabled.
|
|
|
|
# The format of pci address please refer to SourceLevelDebugPkg.dec
|
2014-08-28 07:13:05 +02:00
|
|
|
gEfiSourceLevelDebugPkgTokenSpaceGuid.PcdUsbEhciPciAddress ## CONSUMES
|
2015-01-19 03:44:10 +01:00
|
|
|
# The value of data buffer size used for USB debug port handle.
|
|
|
|
# It should be equal to sizeof (USB_DEBUG_PORT_HANDLE).
|
2018-06-16 18:16:24 +02:00
|
|
|
gEfiSourceLevelDebugPkgTokenSpaceGuid.PcdDebugPortHandleBufferSize|25 ## SOMETIMES_CONSUMES
|
2010-09-12 08:43:36 +02:00
|
|
|
|
|
|
|
[LibraryClasses]
|
|
|
|
TimerLib
|
|
|
|
IoLib
|
|
|
|
PciLib
|
|
|
|
PcdLib
|
2011-09-30 04:19:28 +02:00
|
|
|
DebugLib
|
2010-09-12 08:43:36 +02:00
|
|
|
|