]>
Commit | Line | Data |
---|---|---|
913cb9dc | 1 | /** @file\r |
2 | \r | |
56a88912 | 3 | This file contains the definination for host controller debug support routines.\r |
4 | \r | |
913cb9dc | 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 | |
913cb9dc | 14 | **/\r |
15 | \r | |
16 | #ifndef _EFI_EHCI_DEBUG_H_\r | |
17 | #define _EFI_EHCI_DEBUG_H_\r | |
18 | \r | |
19 | \r | |
913cb9dc | 20 | /**\r |
78c2ffb5 | 21 | Dump the fields of a QTD.\r |
913cb9dc | 22 | \r |
78c2ffb5 | 23 | @param Qtd The QTD to dump.\r |
24 | @param Msg The message to print before the dump.\r | |
913cb9dc | 25 | \r |
78c2ffb5 | 26 | @return None.\r |
913cb9dc | 27 | \r |
28 | **/\r | |
29 | VOID\r | |
30 | EhcDumpQtd (\r | |
31 | IN EHC_QTD *Qtd,\r | |
1c619535 | 32 | IN CHAR8 *Msg\r |
913cb9dc | 33 | )\r |
34 | ;\r | |
35 | \r | |
36 | \r | |
913cb9dc | 37 | /**\r |
78c2ffb5 | 38 | Dump the queue head.\r |
913cb9dc | 39 | \r |
78c2ffb5 | 40 | @param Qh The queue head to dump.\r |
41 | @param Msg The message to print before the dump.\r | |
42 | @param DumpBuf Whether to dump the memory buffer of the associated QTD.\r | |
913cb9dc | 43 | \r |
78c2ffb5 | 44 | @return None.\r |
913cb9dc | 45 | \r |
46 | **/\r | |
47 | VOID\r | |
48 | EhcDumpQh (\r | |
49 | IN EHC_QH *Qh,\r | |
1c619535 | 50 | IN CHAR8 *Msg,\r |
913cb9dc | 51 | IN BOOLEAN DumpBuf\r |
52 | )\r | |
53 | ;\r | |
54 | \r | |
55 | \r | |
913cb9dc | 56 | /**\r |
78c2ffb5 | 57 | Dump the buffer in the form of hex.\r |
913cb9dc | 58 | \r |
78c2ffb5 | 59 | @param Buf The buffer to dump.\r |
60 | @param Len The length of buffer.\r | |
913cb9dc | 61 | \r |
78c2ffb5 | 62 | @return None.\r |
913cb9dc | 63 | \r |
64 | **/\r | |
65 | VOID\r | |
66 | EhcDumpBuf (\r | |
67 | IN UINT8 *Buf,\r | |
68 | IN UINTN Len\r | |
69 | )\r | |
70 | ;\r | |
71 | \r | |
913cb9dc | 72 | #endif\r |