]> git.proxmox.com Git - mirror_edk2.git/blame_incremental - MdeModulePkg/Bus/Pci/EhciDxe/EhciDebug.h
Add a blank line in the end of file.
[mirror_edk2.git] / MdeModulePkg / Bus / Pci / EhciDxe / EhciDebug.h
... / ...
CommitLineData
1/** @file\r
2\r
3 This file contains the definination for host controller debug support routines.\r
4\r
5Copyright (c) 2007 - 2009, Intel Corporation\r
6All rights reserved. This program and the accompanying materials\r
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
14**/\r
15\r
16#ifndef _EFI_EHCI_DEBUG_H_\r
17#define _EFI_EHCI_DEBUG_H_\r
18\r
19\r
20/**\r
21 Dump the fields of a QTD.\r
22\r
23 @param Qtd The QTD to dump.\r
24 @param Msg The message to print before the dump.\r
25\r
26**/\r
27VOID\r
28EhcDumpQtd (\r
29 IN EHC_QTD *Qtd,\r
30 IN CHAR8 *Msg\r
31 );\r
32\r
33\r
34/**\r
35 Dump the queue head.\r
36\r
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
40\r
41**/\r
42VOID\r
43EhcDumpQh (\r
44 IN EHC_QH *Qh,\r
45 IN CHAR8 *Msg,\r
46 IN BOOLEAN DumpBuf\r
47 );\r
48\r
49\r
50/**\r
51 Dump the buffer in the form of hex.\r
52\r
53 @param Buf The buffer to dump.\r
54 @param Len The length of buffer.\r
55\r
56**/\r
57VOID\r
58EhcDumpBuf (\r
59 IN UINT8 *Buf,\r
60 IN UINTN Len\r
61 );\r
62\r
63\r
64/**\r
65 Dump the EHCI status registers\r
66\r
67 @param Ehc USB EHCI Host Controller instance\r
68\r
69**/\r
70VOID\r
71EhcDumpRegs (\r
72 IN USB2_HC_DEV *Ehc\r
73 );\r
74\r
75#endif\r