|
gem5
v21.0.1.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) | |
| PacketPtr | createPacket () |
Public Member Functions inherited from Packet::SenderState | |
| SenderState () | |
| virtual | ~SenderState () |
Public Attributes | |
| Event * | completionEvent |
| Event to call on the device when this transaction (all packets) complete. More... | |
| const Addr | totBytes |
| Total number of bytes that this transaction involves. More... | |
| Addr | numBytes = 0 |
| Number of bytes that have been acked for this transaction. More... | |
| const Tick | delay |
| Amount to delay completion of dma by. More... | |
| ChunkGenerator | gen |
| Object to track what chunks of bytes to send at a time. More... | |
| uint8_t *const | data = nullptr |
| Pointer to a buffer for the data. More... | |
| const Request::Flags | flags |
| The flags to use for requests. More... | |
| const RequestorID | id |
| The requestor ID to use for requests. More... | |
| const uint32_t | sid |
| Stream IDs. More... | |
| const uint32_t | ssid |
| const Packet::Command | cmd |
| Command for the request. More... | |
Public Attributes inherited from Packet::SenderState | |
| SenderState * | predecessor |
Definition at line 79 of file dma_device.hh.
|
inline |
Definition at line 113 of file dma_device.hh.
| PacketPtr DmaPort::DmaReqState::createPacket | ( | ) |
Definition at line 111 of file dma_device.cc.
References ChunkGenerator::addr(), cmd, ChunkGenerator::complete(), data, Packet::dataStatic(), ContextSwitchTaskId::DMA, flags, gen, Packet::senderState, sid, ChunkGenerator::size(), and ssid.
Referenced by DmaPort::sendAtomicBdReq(), DmaPort::sendAtomicReq(), and DmaPort::trySendTimingReq().
| const Packet::Command DmaPort::DmaReqState::cmd |
Command for the request.
Definition at line 111 of file dma_device.hh.
Referenced by createPacket(), DmaPort::handleResp(), and DmaPort::sendAtomicBdReq().
| Event* DmaPort::DmaReqState::completionEvent |
Event to call on the device when this transaction (all packets) complete.
Definition at line 83 of file dma_device.hh.
Referenced by DmaPort::handleResp().
| uint8_t* const DmaPort::DmaReqState::data = nullptr |
Pointer to a buffer for the data.
Definition at line 98 of file dma_device.hh.
Referenced by createPacket(), and DmaPort::sendAtomicBdReq().
| const Tick DmaPort::DmaReqState::delay |
Amount to delay completion of dma by.
Definition at line 92 of file dma_device.hh.
Referenced by DmaPort::handleResp().
| const Request::Flags DmaPort::DmaReqState::flags |
The flags to use for requests.
Definition at line 101 of file dma_device.hh.
Referenced by createPacket().
| ChunkGenerator DmaPort::DmaReqState::gen |
Object to track what chunks of bytes to send at a time.
Definition at line 95 of file dma_device.hh.
Referenced by createPacket(), DmaPort::sendAtomicBdReq(), DmaPort::sendAtomicReq(), DmaPort::sendDma(), and DmaPort::trySendTimingReq().
| const RequestorID DmaPort::DmaReqState::id |
The requestor ID to use for requests.
Definition at line 104 of file dma_device.hh.
| Addr DmaPort::DmaReqState::numBytes = 0 |
Number of bytes that have been acked for this transaction.
Definition at line 89 of file dma_device.hh.
Referenced by DmaPort::handleResp().
| const uint32_t DmaPort::DmaReqState::sid |
| const uint32_t DmaPort::DmaReqState::ssid |
Definition at line 108 of file dma_device.hh.
Referenced by createPacket().
| const Addr DmaPort::DmaReqState::totBytes |
Total number of bytes that this transaction involves.
Definition at line 86 of file dma_device.hh.
Referenced by DmaPort::handleResp(), and DmaPort::sendAtomicBdReq().