]> git.proxmox.com Git - mirror_edk2.git/blame - MdeModulePkg/Bus/Pci/EhciDxe/EhciDebug.h
MdeModulePkg EhciDxe: Remove redundant functions
[mirror_edk2.git] / MdeModulePkg / Bus / Pci / EhciDxe / EhciDebug.h
CommitLineData
913cb9dc 1/** @file\r
2\r
56a88912 3 This file contains the definination for host controller debug support routines.\r
4\r
cd5ebaa0
HT
5Copyright (c) 2007 - 2009, Intel Corporation. All rights reserved.<BR>\r
6This program and the accompanying materials\r
913cb9dc 7are licensed and made available under the terms and conditions of the BSD License\r
8which accompanies this distribution. The full text of the license may be found at\r
9http://opensource.org/licenses/bsd-license.php\r
10\r
11THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
12WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
13\r
913cb9dc 14**/\r
15\r
16#ifndef _EFI_EHCI_DEBUG_H_\r
17#define _EFI_EHCI_DEBUG_H_\r
18\r
19\r
913cb9dc 20/**\r
78c2ffb5 21 Dump the fields of a QTD.\r
913cb9dc 22\r
78c2ffb5 23 @param Qtd The QTD to dump.\r
24 @param Msg The message to print before the dump.\r
913cb9dc 25\r
913cb9dc 26**/\r
27VOID\r
28EhcDumpQtd (\r
29 IN EHC_QTD *Qtd,\r
1c619535 30 IN CHAR8 *Msg\r
ed66e1bc 31 );\r
913cb9dc 32\r
33\r
913cb9dc 34/**\r
78c2ffb5 35 Dump the queue head.\r
913cb9dc 36\r
78c2ffb5 37 @param Qh The queue head to dump.\r
38 @param Msg The message to print before the dump.\r
39 @param DumpBuf Whether to dump the memory buffer of the associated QTD.\r
913cb9dc 40\r
913cb9dc 41**/\r
42VOID\r
43EhcDumpQh (\r
44 IN EHC_QH *Qh,\r
1c619535 45 IN CHAR8 *Msg,\r
913cb9dc 46 IN BOOLEAN DumpBuf\r
ed66e1bc 47 );\r
913cb9dc 48\r
49\r
913cb9dc 50/**\r
78c2ffb5 51 Dump the buffer in the form of hex.\r
913cb9dc 52\r
78c2ffb5 53 @param Buf The buffer to dump.\r
54 @param Len The length of buffer.\r
913cb9dc 55\r
913cb9dc 56**/\r
57VOID\r
58EhcDumpBuf (\r
59 IN UINT8 *Buf,\r
60 IN UINTN Len\r
ed66e1bc 61 );\r
913cb9dc 62\r
d03171ef 63\r
913cb9dc 64#endif\r