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