Go to the documentation of this file.
69 uint8_t *loc_data = (uint8_t*)
data;
79 (this->*dmaFn)(phys, gen.size(),
event, loc_data, delay);
81 loc_data += gen.size();
Tick curTick()
The universal simulation clock.
void dmaReadVirt(Addr host_addr, unsigned size, DmaCallback *cb, void *data, Tick delay=0)
Initiate a DMA read from virtual address host_addr.
void dmaVirt(DmaFnPtr dmaFn, Addr host_addr, unsigned size, DmaCallback *cb, void *data, Tick delay=0)
Initiate a call to DmaDevice using DmaFnPtr do a DMA starting from virtual address host_addr for size...
virtual void translateOrDie(Addr vaddr, Addr &paddr)=0
Function used to translate from virtual to physical addresses.
void dmaRead(Addr addr, int size, Event *event, uint8_t *data, uint32_t sid, uint32_t ssid, Tick delay=0)
void schedule(Event &event, Tick when)
Event * getChunkEvent()
Request a chunk event.
This class takes an arbitrary memory region (address/length pair) and generates a series of appropria...
bool done() const
Are we done? That is, did the last call to next() advance past the end of the region?
uint64_t Tick
Tick count type.
void dmaWrite(Addr addr, int size, Event *event, uint8_t *data, uint32_t sid, uint32_t ssid, Tick delay=0)
void dmaWriteVirt(Addr host_addr, unsigned size, DmaCallback *b, void *data, Tick delay=0)
Initiate a DMA write from virtual address host_addr.
uint64_t Addr
Address type This will probably be moved somewhere else in the near future.
DmaVirtDevice(const Params &p)
Reference material can be found at the JEDEC website: UFS standard http://www.jedec....
Generated on Tue Sep 21 2021 12:25:15 for gem5 by doxygen 1.8.17