]> git.proxmox.com Git - mirror_edk2.git/blobdiff - SourceLevelDebugPkg/Library/DebugCommunicationLibUsb3/DebugCommunicationLibUsb3Pei.inf
Add DebugCommunicationLibUsb3 for USB3.0 source level debug support.
[mirror_edk2.git] / SourceLevelDebugPkg / Library / DebugCommunicationLibUsb3 / DebugCommunicationLibUsb3Pei.inf
diff --git a/SourceLevelDebugPkg/Library/DebugCommunicationLibUsb3/DebugCommunicationLibUsb3Pei.inf b/SourceLevelDebugPkg/Library/DebugCommunicationLibUsb3/DebugCommunicationLibUsb3Pei.inf
new file mode 100644 (file)
index 0000000..24cd4a0
--- /dev/null
@@ -0,0 +1,70 @@
+## @file\r
+#  Debug Communication Library instance based on usb3 debug port.\r
+#\r
+#  Copyright (c) 2014, Intel Corporation. All rights reserved.<BR>\r
+#\r
+#  This program and the accompanying materials\r
+#  are licensed and made available under the terms and conditions of the BSD License\r
+#  which accompanies this distribution. The full text of the license may be found at\r
+#  http://opensource.org/licenses/bsd-license.php.\r
+#  THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
+#  WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
+#\r
+#\r
+##\r
+\r
+[Defines]\r
+  INF_VERSION                    = 0x00010005\r
+  BASE_NAME                      = DebugCommunicationLibUsb3Pei\r
+  MODULE_UNI_FILE                = DebugCommunicationLibUsb3Pei.uni\r
+  FILE_GUID                      = 106C877F-C2BA-4c46-876C-BDFE6171CD7E\r
+  MODULE_TYPE                    = PEIM\r
+  VERSION_STRING                 = 1.0\r
+  LIBRARY_CLASS                  = DebugCommunicationLib|PEIM PEI_CORE\r
+\r
+#\r
+# The following information is for reference only and not required by the build tools.\r
+#\r
+#  VALID_ARCHITECTURES           = IA32 X64 IPF\r
+#\r
+\r
+[Sources]\r
+  DebugCommunicationLibUsb3Pei.c\r
+  DebugCommunicationLibUsb3Transfer.c\r
+  DebugCommunicationLibUsb3Common.c\r
+  DebugCommunicationLibUsb3Internal.h\r
+\r
+[Packages]\r
+  MdePkg/MdePkg.dec\r
+  MdeModulePkg/MdeModulePkg.dec\r
+  IntelFrameworkPkg/IntelFrameworkPkg.dec\r
+  SourceLevelDebugPkg/SourceLevelDebugPkg.dec\r
+\r
+[Pcd]\r
+  ## The memory BAR of ehci host controller, in which usb debug feature is enabled.\r
+  ## Note that the memory BAR address is only used before Pci bus resource allocation.\r
+  gEfiSourceLevelDebugPkgTokenSpaceGuid.PcdUsbXhciMemorySpaceBase          ## SOMETIMES_CONSUMES\r
+\r
+  ## The pci address of ehci host controller, in which usb debug feature is enabled.\r
+  ## The format of pci address please refer to SourceLevelDebugPkg.dec\r
+  gEfiSourceLevelDebugPkgTokenSpaceGuid.PcdUsbXhciPciAddress               ## CONSUMES\r
+\r
+  ## Per XHCI spec, software shall impose a timeout between the detection of the Debug Host \r
+  ## connection and the DbC Run transition to 1. This PCD specifies the timeout value in microsecond.\r
+  gEfiSourceLevelDebugPkgTokenSpaceGuid.PcdUsbXhciDebugDetectTimeout       ## SOMETIMES_CONSUMES\r
+\r
+  ## The value of data buffer size used for USB debug port handle.\r
+  ## It should be equal to sizeof (USB3_DEBUG_PORT_HANDLE).\r
+  gEfiSourceLevelDebugPkgTokenSpaceGuid.PcdDebugPortHandleBufferSize|256   ## SOMETIMES_CONSUMES\r
+\r
+[LibraryClasses]\r
+  BaseLib\r
+  PcdLib\r
+  IoLib\r
+  PciLib\r
+  TimerLib\r
+  BaseMemoryLib\r
+  PeiServicesLib\r
+  \r
+[Depex.common.PEIM]\r
+  gEfiPeiMemoryDiscoveredPpiGuid\r