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