gem5 v24.0.0.0
|
Public Member Functions | |
DmaReqState (Packet::Command _cmd, Addr addr, Addr chunk_sz, Addr tb, uint8_t *_data, Request::Flags _flags, RequestorID _id, uint32_t _sid, uint32_t _ssid, Event *ce, Tick _delay, Event *ae=nullptr) | |
PacketPtr | createPacket () |
Public Member Functions inherited from gem5::Packet::SenderState | |
SenderState () | |
virtual | ~SenderState () |
Public Attributes | |
Event * | completionEvent |
Event to call on the device when this transaction (all packets) complete. | |
Event * | abortEvent |
Event to call on the device when this transaction is aborted. | |
bool | aborted = false |
Whether this request was aborted. | |
const Addr | totBytes |
Total number of bytes that this transaction involves. | |
Addr | numBytes = 0 |
Number of bytes that have been acked for this transaction. | |
const Tick | delay |
Amount to delay completion of dma by. | |
ChunkGenerator | gen |
Object to track what chunks of bytes to send at a time. | |
uint8_t *const | data = nullptr |
Pointer to a buffer for the data. | |
const Request::Flags | flags |
The flags to use for requests. | |
const RequestorID | id |
The requestor ID to use for requests. | |
const uint32_t | sid |
Stream IDs. | |
const uint32_t | ssid |
const Packet::Command | cmd |
Command for the request. | |
Public Attributes inherited from gem5::Packet::SenderState | |
SenderState * | predecessor |
Definition at line 82 of file dma_device.hh.
|
inline |
Definition at line 122 of file dma_device.hh.
PacketPtr gem5::DmaPort::DmaReqState::createPacket | ( | ) |
Definition at line 128 of file dma_device.cc.
References gem5::ChunkGenerator::addr(), cmd, gem5::ChunkGenerator::complete(), data, gem5::Packet::dataStatic(), gem5::context_switch_task_id::DMA, flags, gen, gem5::Packet::senderState, sid, gem5::ChunkGenerator::size(), and ssid.
bool gem5::DmaPort::DmaReqState::aborted = false |
Whether this request was aborted.
Definition at line 92 of file dma_device.hh.
Event* gem5::DmaPort::DmaReqState::abortEvent |
Event to call on the device when this transaction is aborted.
Definition at line 89 of file dma_device.hh.
const Packet::Command gem5::DmaPort::DmaReqState::cmd |
Command for the request.
Definition at line 120 of file dma_device.hh.
Referenced by createPacket().
Event* gem5::DmaPort::DmaReqState::completionEvent |
Event to call on the device when this transaction (all packets) complete.
Definition at line 86 of file dma_device.hh.
uint8_t* const gem5::DmaPort::DmaReqState::data = nullptr |
Pointer to a buffer for the data.
Definition at line 107 of file dma_device.hh.
Referenced by createPacket().
const Tick gem5::DmaPort::DmaReqState::delay |
Amount to delay completion of dma by.
Definition at line 101 of file dma_device.hh.
const Request::Flags gem5::DmaPort::DmaReqState::flags |
The flags to use for requests.
Definition at line 110 of file dma_device.hh.
Referenced by createPacket().
ChunkGenerator gem5::DmaPort::DmaReqState::gen |
Object to track what chunks of bytes to send at a time.
Definition at line 104 of file dma_device.hh.
Referenced by createPacket(), and gem5::DmaPort::sendDma().
const RequestorID gem5::DmaPort::DmaReqState::id |
The requestor ID to use for requests.
Definition at line 113 of file dma_device.hh.
Addr gem5::DmaPort::DmaReqState::numBytes = 0 |
Number of bytes that have been acked for this transaction.
Definition at line 98 of file dma_device.hh.
const uint32_t gem5::DmaPort::DmaReqState::sid |
const uint32_t gem5::DmaPort::DmaReqState::ssid |
Definition at line 117 of file dma_device.hh.
Referenced by createPacket().
const Addr gem5::DmaPort::DmaReqState::totBytes |
Total number of bytes that this transaction involves.
Definition at line 95 of file dma_device.hh.