]>
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 |
ed66e1bc | 33 | );\r |
913cb9dc | 34 | \r |
35 | \r | |
913cb9dc | 36 | /**\r |
78c2ffb5 | 37 | Dump the queue head.\r |
913cb9dc | 38 | \r |
78c2ffb5 | 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 | |
913cb9dc | 42 | \r |
78c2ffb5 | 43 | @return None.\r |
913cb9dc | 44 | \r |
45 | **/\r | |
46 | VOID\r | |
47 | EhcDumpQh (\r | |
48 | IN EHC_QH *Qh,\r | |
1c619535 | 49 | IN CHAR8 *Msg,\r |
913cb9dc | 50 | IN BOOLEAN DumpBuf\r |
ed66e1bc | 51 | );\r |
913cb9dc | 52 | \r |
53 | \r | |
913cb9dc | 54 | /**\r |
78c2ffb5 | 55 | Dump the buffer in the form of hex.\r |
913cb9dc | 56 | \r |
78c2ffb5 | 57 | @param Buf The buffer to dump.\r |
58 | @param Len The length of buffer.\r | |
913cb9dc | 59 | \r |
78c2ffb5 | 60 | @return None.\r |
913cb9dc | 61 | \r |
62 | **/\r | |
63 | VOID\r | |
64 | EhcDumpBuf (\r | |
65 | IN UINT8 *Buf,\r | |
66 | IN UINTN Len\r | |
ed66e1bc | 67 | );\r |
913cb9dc | 68 | \r |
913cb9dc | 69 | #endif\r |