]> git.proxmox.com Git - mirror_edk2.git/blob - MdeModulePkg/Bus/Pci/EhciDxe/EhciDebug.h
UefiCpuPkg: Move AsmRelocateApLoopStart from Mpfuncs.nasm to AmdSev.nasm
[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 Dump the fields of a QTD.
15
16 @param Qtd The QTD to dump.
17 @param Msg The message to print before the dump.
18
19 **/
20 VOID
21 EhcDumpQtd (
22 IN EHC_QTD *Qtd,
23 IN CHAR8 *Msg
24 );
25
26 /**
27 Dump the queue head.
28
29 @param Qh The queue head to dump.
30 @param Msg The message to print before the dump.
31 @param DumpBuf Whether to dump the memory buffer of the associated QTD.
32
33 **/
34 VOID
35 EhcDumpQh (
36 IN EHC_QH *Qh,
37 IN CHAR8 *Msg,
38 IN BOOLEAN DumpBuf
39 );
40
41 /**
42 Dump the buffer in the form of hex.
43
44 @param Buf The buffer to dump.
45 @param Len The length of buffer.
46
47 **/
48 VOID
49 EhcDumpBuf (
50 IN UINT8 *Buf,
51 IN UINTN Len
52 );
53
54 #endif