]>
Commit | Line | Data |
---|---|---|
913cb9dc | 1 | /** @file\r |
2 | \r | |
3 | Copyright (c) 2007, Intel Corporation\r | |
4 | All rights reserved. This program and the accompanying materials\r | |
5 | are licensed and made available under the terms and conditions of the BSD License\r | |
6 | which accompanies this distribution. The full text of the license may be found at\r | |
7 | http://opensource.org/licenses/bsd-license.php\r | |
8 | \r | |
9 | THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r | |
10 | WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r | |
11 | \r | |
12 | Module Name:\r | |
13 | \r | |
14 | EhciDebug.h\r | |
15 | \r | |
16 | Abstract:\r | |
17 | \r | |
18 | This file contains the definination for host controller debug support routines\r | |
19 | \r | |
20 | Revision History\r | |
21 | \r | |
22 | **/\r | |
23 | \r | |
24 | #ifndef _EFI_EHCI_DEBUG_H_\r | |
25 | #define _EFI_EHCI_DEBUG_H_\r | |
26 | \r | |
27 | \r | |
913cb9dc | 28 | /**\r |
29 | Dump the fields of a QTD\r | |
30 | \r | |
31 | @param Qtd The QTD to dump\r | |
32 | @param Msg The message to print before the dump\r | |
33 | \r | |
34 | @return None\r | |
35 | \r | |
36 | **/\r | |
37 | VOID\r | |
38 | EhcDumpQtd (\r | |
39 | IN EHC_QTD *Qtd,\r | |
1c619535 | 40 | IN CHAR8 *Msg\r |
913cb9dc | 41 | )\r |
42 | ;\r | |
43 | \r | |
44 | \r | |
45 | \r | |
46 | /**\r | |
47 | Dump the queue head\r | |
48 | \r | |
49 | @param Qh The queue head to dump\r | |
50 | @param Msg The message to print before the dump\r | |
51 | @param DumpBuf Whether to dump the memory buffer of the associated QTD\r | |
52 | \r | |
53 | @return None\r | |
54 | \r | |
55 | **/\r | |
56 | VOID\r | |
57 | EhcDumpQh (\r | |
58 | IN EHC_QH *Qh,\r | |
1c619535 | 59 | IN CHAR8 *Msg,\r |
913cb9dc | 60 | IN BOOLEAN DumpBuf\r |
61 | )\r | |
62 | ;\r | |
63 | \r | |
64 | \r | |
65 | \r | |
66 | /**\r | |
67 | Dump the buffer in the form of hex\r | |
68 | \r | |
69 | @param Buf The buffer to dump\r | |
70 | @param Len The length of buffer\r | |
71 | \r | |
72 | @return None\r | |
73 | \r | |
74 | **/\r | |
75 | VOID\r | |
76 | EhcDumpBuf (\r | |
77 | IN UINT8 *Buf,\r | |
78 | IN UINTN Len\r | |
79 | )\r | |
80 | ;\r | |
81 | \r | |
913cb9dc | 82 | #endif\r |