]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/Bus/Pci/EhciDxe/EhciDebug.h
MdeModulePkg/PciHostBridge: Add IOMMU support.
[mirror_edk2.git] / MdeModulePkg / Bus / Pci / EhciDxe / EhciDebug.h
index 9de1199f73a4ae9a728aa9901322957f37d01f97..bc84bb7864f7fb468d33a436a090a34c1614e63a 100644 (file)
@@ -2,8 +2,8 @@
 \r
   This file contains the definination for host controller debug support routines.\r
 \r
-Copyright (c) 2007, Intel Corporation\r
-All rights reserved. This program and the accompanying materials\r
+Copyright (c) 2007 - 2009, Intel Corporation. All rights reserved.<BR>\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
@@ -23,15 +23,12 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
   @param  Qtd      The QTD to dump.\r
   @param  Msg      The message to print before the dump.\r
 \r
-  @return None.\r
-\r
 **/\r
 VOID\r
 EhcDumpQtd (\r
   IN EHC_QTD              *Qtd,\r
   IN CHAR8                *Msg\r
-  )\r
-;\r
+  );\r
 \r
 \r
 /**\r
@@ -41,16 +38,13 @@ EhcDumpQtd (
   @param  Msg      The message to print before the dump.\r
   @param  DumpBuf  Whether to dump the memory buffer of the associated QTD.\r
 \r
-  @return None.\r
-\r
 **/\r
 VOID\r
 EhcDumpQh (\r
   IN EHC_QH               *Qh,\r
   IN CHAR8                *Msg,\r
   IN BOOLEAN              DumpBuf\r
-  )\r
-;\r
+  );\r
 \r
 \r
 /**\r
@@ -59,14 +53,23 @@ EhcDumpQh (
   @param  Buf      The buffer to dump.\r
   @param  Len      The length of buffer.\r
 \r
-  @return None.\r
-\r
 **/\r
 VOID\r
 EhcDumpBuf (\r
   IN UINT8                *Buf,\r
   IN UINTN                Len\r
-  )\r
-;\r
+  );\r
+\r
+\r
+/**\r
+  Dump the EHCI status registers.\r
+\r
+  @param  Ehc    USB EHCI Host Controller instance\r
+\r
+**/\r
+VOID\r
+EhcDumpRegs (\r
+  IN  USB2_HC_DEV         *Ehc\r
+  );\r
 \r
 #endif\r