TianoCore EDK2 master
Loading...
Searching...
No Matches
EhciDebug.c File Reference
#include "Ehci.h"

Go to the source code of this file.

Functions

VOID EhcDumpStatus (IN UINT32 State)
 
VOID EhcDumpQtd (IN EHC_QTD *Qtd, IN CHAR8 *Msg)
 
VOID EhcDumpQh (IN EHC_QH *Qh, IN CHAR8 *Msg, IN BOOLEAN DumpBuf)
 
VOID EhcDumpBuf (IN UINT8 *Buf, IN UINTN Len)
 

Detailed Description

This file provides the information dump support for EHCI when in debug mode.

Copyright (c) 2007 - 2013, Intel Corporation. All rights reserved.
Copyright (c) Microsoft Corporation.
SPDX-License-Identifier: BSD-2-Clause-Patent

Definition in file EhciDebug.c.

Function Documentation

◆ EhcDumpBuf()

VOID EhcDumpBuf ( IN UINT8 *  Buf,
IN UINTN  Len 
)

Dump the buffer in the form of hex.

Parameters
BufThe buffer to dump.
LenThe length of buffer.

Definition at line 204 of file EhciDebug.c.

◆ EhcDumpQh()

VOID EhcDumpQh ( IN EHC_QH Qh,
IN CHAR8 *  Msg,
IN BOOLEAN  DumpBuf 
)

Dump the queue head.

Parameters
QhThe queue head to dump.
MsgThe message to print before the dump.
DumpBufWhether to dump the memory buffer of the associated QTD.

Definition at line 116 of file EhciDebug.c.

◆ EhcDumpQtd()

VOID EhcDumpQtd ( IN EHC_QTD Qtd,
IN CHAR8 *  Msg 
)

Dump the fields of a QTD.

Parameters
QtdThe QTD to dump.
MsgThe message to print before the dump.

Definition at line 67 of file EhciDebug.c.

◆ EhcDumpStatus()

VOID EhcDumpStatus ( IN UINT32  State)

Dump the status byte in QTD/QH to a more friendly format.

Parameters
StateThe state in the QTD/QH.

Definition at line 20 of file EhciDebug.c.