]> git.proxmox.com Git - mirror_edk2.git/blame - MdeModulePkg/Bus/Pci/EhciDxe/EhciDebug.h
UefiCpuPkg: Move AsmRelocateApLoopStart from Mpfuncs.nasm to AmdSev.nasm
[mirror_edk2.git] / MdeModulePkg / Bus / Pci / EhciDxe / EhciDebug.h
CommitLineData
913cb9dc 1/** @file\r
2\r
56a88912 3 This file contains the definination for host controller debug support routines.\r
4\r
cd5ebaa0 5Copyright (c) 2007 - 2009, Intel Corporation. All rights reserved.<BR>\r
9d510e61 6SPDX-License-Identifier: BSD-2-Clause-Patent\r
913cb9dc 7\r
913cb9dc 8**/\r
9\r
10#ifndef _EFI_EHCI_DEBUG_H_\r
11#define _EFI_EHCI_DEBUG_H_\r
12\r
913cb9dc 13/**\r
78c2ffb5 14 Dump the fields of a QTD.\r
913cb9dc 15\r
78c2ffb5 16 @param Qtd The QTD to dump.\r
17 @param Msg The message to print before the dump.\r
913cb9dc 18\r
913cb9dc 19**/\r
20VOID\r
21EhcDumpQtd (\r
1436aea4
MK
22 IN EHC_QTD *Qtd,\r
23 IN CHAR8 *Msg\r
ed66e1bc 24 );\r
913cb9dc 25\r
913cb9dc 26/**\r
78c2ffb5 27 Dump the queue head.\r
913cb9dc 28\r
78c2ffb5 29 @param Qh The queue head to dump.\r
30 @param Msg The message to print before the dump.\r
31 @param DumpBuf Whether to dump the memory buffer of the associated QTD.\r
913cb9dc 32\r
913cb9dc 33**/\r
34VOID\r
35EhcDumpQh (\r
1436aea4
MK
36 IN EHC_QH *Qh,\r
37 IN CHAR8 *Msg,\r
38 IN BOOLEAN DumpBuf\r
ed66e1bc 39 );\r
913cb9dc 40\r
913cb9dc 41/**\r
78c2ffb5 42 Dump the buffer in the form of hex.\r
913cb9dc 43\r
78c2ffb5 44 @param Buf The buffer to dump.\r
45 @param Len The length of buffer.\r
913cb9dc 46\r
913cb9dc 47**/\r
48VOID\r
49EhcDumpBuf (\r
1436aea4
MK
50 IN UINT8 *Buf,\r
51 IN UINTN Len\r
ed66e1bc 52 );\r
913cb9dc 53\r
913cb9dc 54#endif\r