Go to the documentation of this file.
84 a.pkt->dataStatic(ptr);
117 a.pkt->dataStatic(ptr);
147 while (sem.
count == 0) {
148 sem.
queue.push(
this);
160 if (!sem.
queue.empty()) {
std::enable_if<!std::is_same< T, void >::value, T >::type get()
get() is the way we can extrapolate arguments from the coroutine caller.
bool isTimingMode() const
Is the system in timing mode?
SMMUProcess(const std::string &name, SMMUv3 &_smmu)
void doSleep(Yield &yield)
CallerType: A reference to an object of this class will be passed to the coroutine task.
virtual void main(Yield &yield)=0
uint64_t Tick
Tick count type.
SMMUAction runProcess(SMMUProcess *proc, PacketPtr pkt)
std::shared_ptr< Request > RequestPtr
SMMUAction run(PacketPtr pkt)
void doBroadcastSignal(SMMUSignal &sig)
void doWrite(Yield &yield, Addr addr, const void *ptr, size_t size)
void schedule(Event &event, Tick when)
const RequestorID requestorId
Tick clockEdge(Cycles cycles=Cycles(0)) const
Determine the tick when a cycle begins, by default the current one, but the argument also enables the...
void doRead(Yield &yield, Addr addr, void *ptr, size_t size)
void scheduleWakeup(Tick when)
void doSemaphoreUp(SMMUSemaphore &sem)
const unsigned requestPortWidth
std::queue< SMMUProcess * > queue
ProbePointArg< PacketInfo > Packet
Packet probe point.
uint64_t Addr
Address type This will probably be moved somewhere else in the near future.
const std::string & name()
SMMUSemaphore requestPortSem
A Packet is used to encapsulate a transfer between two objects in the memory system (e....
void doSemaphoreDown(Yield &yield, SMMUSemaphore &sem)
Cycles is a wrapper class for representing cycle counts, i.e.
m5::Coroutine< PacketPtr, SMMUAction > Coroutine
void doDelay(Yield &yield, Cycles cycles)
void doWaitForSignal(Yield &yield, SMMUSignal &sig)
std::list< SMMUProcess * > waiting
Tick curTick()
The current simulated tick.
Generated on Wed Sep 30 2020 14:02:10 for gem5 by doxygen 1.8.17