]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/Bus/Pci/UhciDxe/UhciDebug.h
Update the copyright notice format
[mirror_edk2.git] / MdeModulePkg / Bus / Pci / UhciDxe / UhciDebug.h
index d71791a414c4a10690af26c1920d71b018e269b4..abdb64fa36f15fdb8543638e55388e367809f4b5 100644 (file)
@@ -1,7 +1,9 @@
 /** @file\r
 \r
-Copyright (c) 2007, Intel Corporation\r
-All rights reserved. This program and the accompanying materials\r
+  This file contains the definination for host controller debug support routines\r
+\r
+Copyright (c) 2007, 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
@@ -9,126 +11,37 @@ http://opensource.org/licenses/bsd-license.php
 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
-Module Name:\r
-\r
-  UhciDebug.h\r
-\r
-Abstract:\r
-\r
-  This file contains the definination for host controller debug support routines\r
-\r
-Revision History\r
-\r
-\r
 **/\r
 \r
 #ifndef _EFI_UHCI_DEBUG_H_\r
 #define _EFI_UHCI_DEBUG_H_\r
 \r
-//\r
-// DEBUG support\r
-//\r
-#define USB_DEBUG_FORCE_OUTPUT  (UINTN) (1 << 0)\r
-#define UHCI_DEBUG_QH           (UINTN) (1 << 2)\r
-#define UHCI_DEBUG_TD           (UINTN) (1 << 3)\r
-\r
-VOID\r
-UhciDebugPrint (\r
-  IN  UINTN               Level,\r
-  IN  CHAR8               *Format,\r
-  ...\r
-  )\r
-/*++\r
-\r
-Routine Description:\r
-\r
-  Debug print interface for UHCI\r
-\r
-Arguments:\r
-\r
-  Level   - Level to control debug print\r
-  Format  - String to use for the print, followed by print arguments\r
-\r
-Returns:\r
-\r
-  None\r
-\r
---*/\r
-;\r
-\r
-\r
-/**\r
-  Debug print interface for UHCI\r
-\r
-  @param  Format  String to use for the print, followed by print arguments\r
-\r
-  @return None\r
-\r
-**/\r
-VOID\r
-UhciDebug (\r
-  IN  CHAR8               *Format,\r
-  ...\r
-  )\r
-;\r
-\r
 \r
 /**\r
-  Debug error print interface for UHCI\r
+  Dump the content of QH structure.\r
 \r
-  @param  Format  String to use for the print, followed by print arguments\r
+  @param  QhSw    Pointer to software QH structure.\r
 \r
-  @return None\r
-\r
-**/\r
-VOID\r
-UhciError (\r
-  IN  CHAR8               *Format,\r
-  ...\r
-  )\r
-;\r
-\r
-\r
-/**\r
-  Dump the content of QH structure\r
-\r
-  @param  QhSw    Pointer to software QH structure\r
-\r
-  @return None\r
+  @return None.\r
 \r
 **/\r
 VOID\r
 UhciDumpQh (\r
   IN UHCI_QH_SW         *QhSw\r
-  )\r
-;\r
+  );\r
 \r
 \r
 /**\r
   Dump the content of TD structure.\r
 \r
-  @param  TdSw    Pointer to software TD structure\r
+  @param  TdSw    Pointer to software TD structure.\r
 \r
-  @return None\r
+  @return None.\r
 \r
 **/\r
 VOID\r
 UhciDumpTds (\r
   IN UHCI_TD_SW           *TdSw\r
-  )\r
-;\r
-\r
-\r
-#ifdef EFI_DEBUG\r
-  #define UHCI_DEBUG(arg)             UhciDebug arg\r
-  #define UHCI_ERROR(arg)             UhciError arg\r
-  #define UHCI_DUMP_TDS(arg)          UhciDumpTds arg\r
-  #define UHCI_DUMP_QH(arg)           UhciDumpQh arg\r
-#else\r
-  #define UHCI_DEBUG(arg)\r
-  #define UHCI_ERROR(arg)\r
-  #define UHCI_DUMP_TDS(arg)\r
-  #define UHCI_DUMP_QH(arg)\r
-#endif\r
+  );\r
 \r
 #endif\r