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