]>
Commit | Line | Data |
---|---|---|
1 | /** @file\r | |
2 | \r | |
3 | This file contains the definination for host controller debug support routines.\r | |
4 | \r | |
5 | Copyright (c) 2007 - 2009, Intel Corporation. All rights reserved.<BR>\r | |
6 | SPDX-License-Identifier: BSD-2-Clause-Patent\r | |
7 | \r | |
8 | **/\r | |
9 | \r | |
10 | #ifndef _EFI_EHCI_DEBUG_H_\r | |
11 | #define _EFI_EHCI_DEBUG_H_\r | |
12 | \r | |
13 | /**\r | |
14 | Dump the fields of a QTD.\r | |
15 | \r | |
16 | @param Qtd The QTD to dump.\r | |
17 | @param Msg The message to print before the dump.\r | |
18 | \r | |
19 | **/\r | |
20 | VOID\r | |
21 | EhcDumpQtd (\r | |
22 | IN EHC_QTD *Qtd,\r | |
23 | IN CHAR8 *Msg\r | |
24 | );\r | |
25 | \r | |
26 | /**\r | |
27 | Dump the queue head.\r | |
28 | \r | |
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 | |
32 | \r | |
33 | **/\r | |
34 | VOID\r | |
35 | EhcDumpQh (\r | |
36 | IN EHC_QH *Qh,\r | |
37 | IN CHAR8 *Msg,\r | |
38 | IN BOOLEAN DumpBuf\r | |
39 | );\r | |
40 | \r | |
41 | /**\r | |
42 | Dump the buffer in the form of hex.\r | |
43 | \r | |
44 | @param Buf The buffer to dump.\r | |
45 | @param Len The length of buffer.\r | |
46 | \r | |
47 | **/\r | |
48 | VOID\r | |
49 | EhcDumpBuf (\r | |
50 | IN UINT8 *Buf,\r | |
51 | IN UINTN Len\r | |
52 | );\r | |
53 | \r | |
54 | #endif\r |