]>
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, Intel Corporation\r | |
6 | All rights reserved. This program and the accompanying materials\r | |
7 | are licensed and made available under the terms and conditions of the BSD License\r | |
8 | which accompanies this distribution. The full text of the license may be found at\r | |
9 | http://opensource.org/licenses/bsd-license.php\r | |
10 | \r | |
11 | THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r | |
12 | WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r | |
13 | \r | |
14 | **/\r | |
15 | \r | |
16 | #ifndef _EFI_EHCI_DEBUG_H_\r | |
17 | #define _EFI_EHCI_DEBUG_H_\r | |
18 | \r | |
19 | \r | |
20 | /**\r | |
21 | Dump the fields of a QTD.\r | |
22 | \r | |
23 | @param Qtd The QTD to dump.\r | |
24 | @param Msg The message to print before the dump.\r | |
25 | \r | |
26 | @return None.\r | |
27 | \r | |
28 | **/\r | |
29 | VOID\r | |
30 | EhcDumpQtd (\r | |
31 | IN EHC_QTD *Qtd,\r | |
32 | IN CHAR8 *Msg\r | |
33 | );\r | |
34 | \r | |
35 | \r | |
36 | /**\r | |
37 | Dump the queue head.\r | |
38 | \r | |
39 | @param Qh The queue head to dump.\r | |
40 | @param Msg The message to print before the dump.\r | |
41 | @param DumpBuf Whether to dump the memory buffer of the associated QTD.\r | |
42 | \r | |
43 | @return None.\r | |
44 | \r | |
45 | **/\r | |
46 | VOID\r | |
47 | EhcDumpQh (\r | |
48 | IN EHC_QH *Qh,\r | |
49 | IN CHAR8 *Msg,\r | |
50 | IN BOOLEAN DumpBuf\r | |
51 | );\r | |
52 | \r | |
53 | \r | |
54 | /**\r | |
55 | Dump the buffer in the form of hex.\r | |
56 | \r | |
57 | @param Buf The buffer to dump.\r | |
58 | @param Len The length of buffer.\r | |
59 | \r | |
60 | @return None.\r | |
61 | \r | |
62 | **/\r | |
63 | VOID\r | |
64 | EhcDumpBuf (\r | |
65 | IN UINT8 *Buf,\r | |
66 | IN UINTN Len\r | |
67 | );\r | |
68 | \r | |
69 | #endif\r |