gem5  v20.1.0.0
Public Member Functions | Private Member Functions | Private Attributes | List of all members
SMMUCommandExecProcess Class Reference

#include <smmu_v3_cmdexec.hh>

Inheritance diagram for SMMUCommandExecProcess:
SMMUProcess Packet::SenderState

Public Member Functions

 SMMUCommandExecProcess (const std::string &name, SMMUv3 &_smmu)
 
virtual ~SMMUCommandExecProcess ()
 
bool isBusy () const
 
- Public Member Functions inherited from SMMUProcess
 SMMUProcess (const std::string &name, SMMUv3 &_smmu)
 
virtual ~SMMUProcess ()
 
SMMUAction run (PacketPtr pkt)
 
const std::string name () const
 
- Public Member Functions inherited from Packet::SenderState
 SenderState ()
 
virtual ~SenderState ()
 

Private Member Functions

virtual void main (Yield &yield)
 

Private Attributes

SMMUCommand cmd
 
bool busy
 

Additional Inherited Members

- Public Attributes inherited from Packet::SenderState
SenderStatepredecessor
 
- Protected Types inherited from SMMUProcess
typedef Coroutine::CallerType Yield
 
- Protected Member Functions inherited from SMMUProcess
void reinit ()
 
void doRead (Yield &yield, Addr addr, void *ptr, size_t size)
 
void doWrite (Yield &yield, Addr addr, const void *ptr, size_t size)
 
void doDelay (Yield &yield, Cycles cycles)
 
void doSleep (Yield &yield)
 
void doSemaphoreDown (Yield &yield, SMMUSemaphore &sem)
 
void doSemaphoreUp (SMMUSemaphore &sem)
 
void doWaitForSignal (Yield &yield, SMMUSignal &sig)
 
void doBroadcastSignal (SMMUSignal &sig)
 
void scheduleWakeup (Tick when)
 
- Protected Attributes inherited from SMMUProcess
SMMUv3smmu
 

Detailed Description

Definition at line 46 of file smmu_v3_cmdexec.hh.

Constructor & Destructor Documentation

◆ SMMUCommandExecProcess()

SMMUCommandExecProcess::SMMUCommandExecProcess ( const std::string &  name,
SMMUv3 _smmu 
)
inline

Definition at line 56 of file smmu_v3_cmdexec.hh.

References SMMUProcess::reinit().

◆ ~SMMUCommandExecProcess()

virtual SMMUCommandExecProcess::~SMMUCommandExecProcess ( )
inlinevirtual

Definition at line 63 of file smmu_v3_cmdexec.hh.

Member Function Documentation

◆ isBusy()

bool SMMUCommandExecProcess::isBusy ( ) const
inline

Definition at line 65 of file smmu_v3_cmdexec.hh.

References busy.

Referenced by SMMUv3::drain(), and SMMUv3::processCommands().

◆ main()

void SMMUCommandExecProcess::main ( Yield yield)
privatevirtual

Member Data Documentation

◆ busy

bool SMMUCommandExecProcess::busy
private

Definition at line 51 of file smmu_v3_cmdexec.hh.

Referenced by isBusy(), and main().

◆ cmd

SMMUCommand SMMUCommandExecProcess::cmd
private

Definition at line 49 of file smmu_v3_cmdexec.hh.

Referenced by main().


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

Generated on Wed Sep 30 2020 14:02:32 for gem5 by doxygen 1.8.17