]> git.proxmox.com Git - mirror_edk2.git/blame - MdeModulePkg/Bus/Pci/EhciDxe/EhciDebug.h
MdeModulePkg: Replace BSD License with BSD+Patent License
[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 5Copyright (c) 2007 - 2009, Intel Corporation. All rights reserved.<BR>\r
9d510e61 6SPDX-License-Identifier: BSD-2-Clause-Patent\r
913cb9dc 7\r
913cb9dc 8**/\r
9\r
10#ifndef _EFI_EHCI_DEBUG_H_\r
11#define _EFI_EHCI_DEBUG_H_\r
12\r
13\r
913cb9dc 14/**\r
78c2ffb5 15 Dump the fields of a QTD.\r
913cb9dc 16\r
78c2ffb5 17 @param Qtd The QTD to dump.\r
18 @param Msg The message to print before the dump.\r
913cb9dc 19\r
913cb9dc 20**/\r
21VOID\r
22EhcDumpQtd (\r
23 IN EHC_QTD *Qtd,\r
1c619535 24 IN CHAR8 *Msg\r
ed66e1bc 25 );\r
913cb9dc 26\r
27\r
913cb9dc 28/**\r
78c2ffb5 29 Dump the queue head.\r
913cb9dc 30\r
78c2ffb5 31 @param Qh The queue head to dump.\r
32 @param Msg The message to print before the dump.\r
33 @param DumpBuf Whether to dump the memory buffer of the associated QTD.\r
913cb9dc 34\r
913cb9dc 35**/\r
36VOID\r
37EhcDumpQh (\r
38 IN EHC_QH *Qh,\r
1c619535 39 IN CHAR8 *Msg,\r
913cb9dc 40 IN BOOLEAN DumpBuf\r
ed66e1bc 41 );\r
913cb9dc 42\r
43\r
913cb9dc 44/**\r
78c2ffb5 45 Dump the buffer in the form of hex.\r
913cb9dc 46\r
78c2ffb5 47 @param Buf The buffer to dump.\r
48 @param Len The length of buffer.\r
913cb9dc 49\r
913cb9dc 50**/\r
51VOID\r
52EhcDumpBuf (\r
53 IN UINT8 *Buf,\r
54 IN UINTN Len\r
ed66e1bc 55 );\r
913cb9dc 56\r
d03171ef 57\r
913cb9dc 58#endif\r