The Pedigree Project 0.1
Public Member Functions | Private Attributes | List of all members
XhciHw::Ring Class Reference
+ Collaboration diagram for XhciHw::Ring:

Public Member Functions

bool initialise ()
 
bool enqueue (const Trb *entries, size_t count, uint64_t *addresses)
 
void retire (size_t count)
 
uint64_t address () const
 
uint64_t enqueuePointer () const
 
size_t wraps () const
 

Private Attributes

MemoryRegion m_Memory
 
size_t m_Tail
 
size_t m_Used
 
bool m_Cycle
 
size_t m_Wraps
 

Detailed Description

Definition at line 18 of file XhciRing.h.

Constructor & Destructor Documentation

◆ Ring()

XhciHw::Ring::Ring ( )

Definition at line 20 of file XhciRing.cc.

Member Function Documentation

◆ address()

uint64_t XhciHw::Ring::address ( ) const
inline

Definition at line 24 of file XhciRing.h.

◆ enqueue()

bool XhciHw::Ring::enqueue ( const Trb entries,
size_t  count,
uint64_t *  addresses 
)

Definition at line 24 of file XhciRing.cc.

◆ enqueuePointer()

uint64_t XhciHw::Ring::enqueuePointer ( ) const
inline

Definition at line 27 of file XhciRing.h.

◆ initialise()

bool XhciHw::Ring::initialise ( )

Definition at line 21 of file XhciRing.cc.

◆ retire()

void XhciHw::Ring::retire ( size_t  count)

Definition at line 61 of file XhciRing.cc.

◆ wraps()

size_t XhciHw::Ring::wraps ( ) const
inline

Definition at line 30 of file XhciRing.h.

Member Data Documentation

◆ m_Cycle

bool XhciHw::Ring::m_Cycle
private

Definition at line 38 of file XhciRing.h.

◆ m_Memory

MemoryRegion XhciHw::Ring::m_Memory
private

Definition at line 35 of file XhciRing.h.

◆ m_Tail

size_t XhciHw::Ring::m_Tail
private

Definition at line 36 of file XhciRing.h.

◆ m_Used

size_t XhciHw::Ring::m_Used
private

Definition at line 37 of file XhciRing.h.

◆ m_Wraps

size_t XhciHw::Ring::m_Wraps
private

Definition at line 39 of file XhciRing.h.


The documentation for this class was generated from the following files: