X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=blobdiff_plain;f=MdeModulePkg%2FBus%2FPci%2FUhciDxe%2FUhciDebug.h;h=a4912fb8e16633863e8ffe64c0f4e75260d1d633;hp=d71791a414c4a10690af26c1920d71b018e269b4;hb=ed66e1bc0d2be0a185fc47adab4930c3b7e2767f;hpb=913cb9dc645d6db47d8c2a0be0369083b8bed25d diff --git a/MdeModulePkg/Bus/Pci/UhciDxe/UhciDebug.h b/MdeModulePkg/Bus/Pci/UhciDxe/UhciDebug.h index d71791a414..a4912fb8e1 100644 --- a/MdeModulePkg/Bus/Pci/UhciDxe/UhciDebug.h +++ b/MdeModulePkg/Bus/Pci/UhciDxe/UhciDebug.h @@ -1,5 +1,7 @@ /** @file + This file contains the definination for host controller debug support routines + Copyright (c) 2007, Intel Corporation All rights reserved. This program and the accompanying materials are licensed and made available under the terms and conditions of the BSD License @@ -9,126 +11,37 @@ http://opensource.org/licenses/bsd-license.php THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. -Module Name: - - UhciDebug.h - -Abstract: - - This file contains the definination for host controller debug support routines - -Revision History - - **/ #ifndef _EFI_UHCI_DEBUG_H_ #define _EFI_UHCI_DEBUG_H_ -// -// DEBUG support -// -#define USB_DEBUG_FORCE_OUTPUT (UINTN) (1 << 0) -#define UHCI_DEBUG_QH (UINTN) (1 << 2) -#define UHCI_DEBUG_TD (UINTN) (1 << 3) - -VOID -UhciDebugPrint ( - IN UINTN Level, - IN CHAR8 *Format, - ... - ) -/*++ - -Routine Description: - - Debug print interface for UHCI - -Arguments: - - Level - Level to control debug print - Format - String to use for the print, followed by print arguments - -Returns: - - None - ---*/ -; - - -/** - Debug print interface for UHCI - - @param Format String to use for the print, followed by print arguments - - @return None - -**/ -VOID -UhciDebug ( - IN CHAR8 *Format, - ... - ) -; - /** - Debug error print interface for UHCI + Dump the content of QH structure. - @param Format String to use for the print, followed by print arguments + @param QhSw Pointer to software QH structure. - @return None - -**/ -VOID -UhciError ( - IN CHAR8 *Format, - ... - ) -; - - -/** - Dump the content of QH structure - - @param QhSw Pointer to software QH structure - - @return None + @return None. **/ VOID UhciDumpQh ( IN UHCI_QH_SW *QhSw - ) -; + ); /** Dump the content of TD structure. - @param TdSw Pointer to software TD structure + @param TdSw Pointer to software TD structure. - @return None + @return None. **/ VOID UhciDumpTds ( IN UHCI_TD_SW *TdSw - ) -; - - -#ifdef EFI_DEBUG - #define UHCI_DEBUG(arg) UhciDebug arg - #define UHCI_ERROR(arg) UhciError arg - #define UHCI_DUMP_TDS(arg) UhciDumpTds arg - #define UHCI_DUMP_QH(arg) UhciDumpQh arg -#else - #define UHCI_DEBUG(arg) - #define UHCI_ERROR(arg) - #define UHCI_DUMP_TDS(arg) - #define UHCI_DUMP_QH(arg) -#endif + ); #endif