|
gem5 [DEVELOP-FOR-25.0]
|
Public Member Functions | |
| DmaReqState (Packet::Command _cmd, Addr addr, Addr chunk_sz, Addr tb, uint8_t *_data, Request::Flags _flags, RequestorID _id, std::optional< uint32_t > _sid, std::optional< 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 std::optional< uint32_t > | sid |
| Stream IDs. | |
| const std::optional< uint32_t > | ssid |
| const Packet::Command | cmd |
| Command for the request. | |
Public Attributes inherited from gem5::Packet::SenderState | |
| SenderState * | predecessor |
Definition at line 83 of file dma_device.hh.
|
inline |
Definition at line 123 of file dma_device.hh.
References abortEvent, gem5::X86ISA::addr, gem5::MipsISA::ce, cmd, completionEvent, data, delay, flags, gen, id, sid, ssid, gem5::MipsISA::tb, and totBytes.
| PacketPtr gem5::DmaPort::DmaReqState::createPacket | ( | ) |
Definition at line 129 of file dma_device.cc.
References cmd, createPacket(), data, gem5::Packet::dataStatic(), gem5::context_switch_task_id::DMA, flags, gen, gem5::Packet::senderState, sid, and ssid.
Referenced by createPacket(), gem5::DmaPort::sendAtomicBdReq(), gem5::DmaPort::sendAtomicReq(), and gem5::DmaPort::trySendTimingReq().
| bool gem5::DmaPort::DmaReqState::aborted = false |
Whether this request was aborted.
Definition at line 93 of file dma_device.hh.
Referenced by gem5::DmaPort::abortPending().
| Event* gem5::DmaPort::DmaReqState::abortEvent |
Event to call on the device when this transaction is aborted.
Definition at line 90 of file dma_device.hh.
Referenced by gem5::DmaPort::abortPending(), and DmaReqState().
| const Packet::Command gem5::DmaPort::DmaReqState::cmd |
Command for the request.
Definition at line 121 of file dma_device.hh.
Referenced by createPacket(), DmaReqState(), and gem5::DmaPort::sendAtomicBdReq().
| Event* gem5::DmaPort::DmaReqState::completionEvent |
Event to call on the device when this transaction (all packets) complete.
Definition at line 87 of file dma_device.hh.
Referenced by DmaReqState(), and gem5::DmaPort::handleResp().
| uint8_t* const gem5::DmaPort::DmaReqState::data = nullptr |
Pointer to a buffer for the data.
Definition at line 108 of file dma_device.hh.
Referenced by createPacket(), DmaReqState(), and gem5::DmaPort::sendAtomicBdReq().
| const Tick gem5::DmaPort::DmaReqState::delay |
Amount to delay completion of dma by.
Definition at line 102 of file dma_device.hh.
Referenced by DmaReqState(), and gem5::DmaPort::handleResp().
| const Request::Flags gem5::DmaPort::DmaReqState::flags |
The flags to use for requests.
Definition at line 111 of file dma_device.hh.
Referenced by createPacket(), and DmaReqState().
| ChunkGenerator gem5::DmaPort::DmaReqState::gen |
Object to track what chunks of bytes to send at a time.
Definition at line 105 of file dma_device.hh.
Referenced by gem5::DmaPort::abortPending(), createPacket(), DmaReqState(), gem5::DmaPort::sendAtomicBdReq(), gem5::DmaPort::sendAtomicReq(), gem5::DmaPort::sendDma(), and gem5::DmaPort::trySendTimingReq().
| const RequestorID gem5::DmaPort::DmaReqState::id |
The requestor ID to use for requests.
Definition at line 114 of file dma_device.hh.
Referenced by DmaReqState().
| Addr gem5::DmaPort::DmaReqState::numBytes = 0 |
Number of bytes that have been acked for this transaction.
Definition at line 99 of file dma_device.hh.
Referenced by gem5::DmaPort::abortPending().
| const std::optional<uint32_t> gem5::DmaPort::DmaReqState::sid |
Stream IDs.
Definition at line 117 of file dma_device.hh.
Referenced by createPacket(), and DmaReqState().
| const std::optional<uint32_t> gem5::DmaPort::DmaReqState::ssid |
Definition at line 118 of file dma_device.hh.
Referenced by createPacket(), and DmaReqState().
| const Addr gem5::DmaPort::DmaReqState::totBytes |
Total number of bytes that this transaction involves.
Definition at line 96 of file dma_device.hh.
Referenced by DmaReqState(), and gem5::DmaPort::sendAtomicBdReq().