]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/Bus/Pci/EhciDxe/EhciDebug.h
1. Added EFI_MEDIA_CHANGED and EFI_INVALID_PARAMETER returns in UsbMassReadBlocks().
[mirror_edk2.git] / MdeModulePkg / Bus / Pci / EhciDxe / EhciDebug.h
index 4df8e9ee7e55b8a39f70e5ac11b08301e4dd8f1a..3dd4074bd432847f87d8ab203d4e6d86d032e565 100644 (file)
@@ -25,73 +25,6 @@ Revision History
 #define _EFI_EHCI_DEBUG_H_\r
 \r
 \r
-enum {\r
-  USB_DEBUG_FORCE_OUTPUT  = (UINTN)(1 << 0),\r
-\r
-  EHC_DEBUG_QH            = (UINTN)(1 << 8),\r
-  EHC_DEBUG_QTD           = (UINTN)(1 << 9),\r
-  EHC_DEBUG_BUF           = (UINTN)(1 << 10)\r
-};\r
-\r
-\r
-/**\r
-  EHCI's debug output function. It determines whether\r
-  to output by the mask and level\r
-\r
-  @param  Level    The output level\r
-  @param  Format   The format parameters to the print\r
-  @param  ...      The variable length parameters after format\r
-\r
-  @return None\r
-\r
-**/\r
-VOID\r
-EhciDebugPrint (\r
-  IN  UINTN               Level,\r
-  IN  CHAR8               *Format,\r
-  ...\r
-  )\r
-;\r
-\r
-\r
-/**\r
-  EHCI's debug output function. It determines whether\r
-  to output by the mask and level\r
-\r
-  @param  Format   The format parameters to the print\r
-  @param  ...      The variable length parameters after format\r
-\r
-  @return None\r
-\r
-**/\r
-VOID\r
-EhcDebug (\r
-  IN  CHAR8               *Format,\r
-  ...\r
-  )\r
-;\r
-\r
-\r
-\r
-/**\r
-  EHCI's error output function. It determines whether\r
-  to output by the mask and level\r
-\r
-  @param  Format   The format parameters to the print\r
-  @param  ...      The variable length parameters after format\r
-\r
-  @return None\r
-\r
-**/\r
-VOID\r
-EhcError (\r
-  IN  CHAR8               *Format,\r
-  ...\r
-  )\r
-;\r
-\r
-\r
-\r
 /**\r
   Dump the fields of a QTD\r
 \r
@@ -104,7 +37,7 @@ EhcError (
 VOID\r
 EhcDumpQtd (\r
   IN EHC_QTD              *Qtd,\r
-  IN UINT8                *Msg\r
+  IN CHAR8                *Msg\r
   )\r
 ;\r
 \r
@@ -123,7 +56,7 @@ EhcDumpQtd (
 VOID\r
 EhcDumpQh (\r
   IN EHC_QH               *Qh,\r
-  IN UINT8                *Msg,\r
+  IN CHAR8                *Msg,\r
   IN BOOLEAN              DumpBuf\r
   )\r
 ;\r
@@ -146,18 +79,4 @@ EhcDumpBuf (
   )\r
 ;\r
 \r
-#ifdef EFI_DEBUG\r
-  #define EHC_DEBUG(arg)                  EhcDebug    arg\r
-  #define EHC_ERROR(arg)                  EhcError    arg\r
-  #define EHC_DUMP_QH(arg)                EhcDumpQh   arg\r
-  #define EHC_DUMP_QTD(arg)               EhcDumpQtd  arg\r
-  #define EHC_DUMP_BUF(arg)               EhcDumpBuf  arg\r
-#else\r
-  #define EHC_DEBUG(arg)\r
-  #define EHC_ERROR(arg)\r
-  #define EHC_DUMP_QH(arg)\r
-  #define EHC_DUMP_QTD(arg)\r
-  #define EHC_DUMP_BUF(arg)\r
-#endif\r
-\r
 #endif\r