|
gem5 [DEVELOP-FOR-25.0]
|
#include <RubyRequest.hh>
Public Member Functions | |
| RubyRequest (Tick curTime, int block_size, RubySystem *rs, uint64_t _paddr, int _len, uint64_t _pc, RubyRequestType _type, RubyAccessMode _access_mode, PacketPtr _pkt, PrefetchBit _pb=PrefetchBit_No, ContextID _proc_id=100, ContextID _core_id=99) | |
| RubyRequest (Tick curTime, int block_size, RubySystem *rs, uint64_t _pc, RubyRequestType _type, RubyAccessMode _access_mode, PacketPtr _pkt, ContextID _proc_id, ContextID _core_id) | |
| RubyRequest for memory management commands. | |
| RubyRequest (Tick curTime, int block_size, RubySystem *rs, uint64_t _paddr, int _len, uint64_t _pc, RubyRequestType _type, RubyAccessMode _access_mode, PacketPtr _pkt, PrefetchBit _pb, unsigned _proc_id, unsigned _core_id, int _wm_size, std::vector< bool > &_wm_mask, DataBlock &_Data, uint64_t _instSeqNum=0) | |
| RubyRequest (Tick curTime, int block_size, RubySystem *rs, uint64_t _paddr, int _len, uint64_t _pc, RubyRequestType _type, RubyAccessMode _access_mode, PacketPtr _pkt, PrefetchBit _pb, unsigned _proc_id, unsigned _core_id, int _wm_size, std::vector< bool > &_wm_mask, DataBlock &_Data, std::vector< std::pair< int, AtomicOpFunctor * > > _atomicOps, uint64_t _instSeqNum=0) | |
| RubyRequest (Tick curTime, int block_size, RubySystem *rs) | |
| MsgPtr | clone () const |
| Addr | getLineAddress () const |
| Addr | getPhysicalAddress () const |
| const RubyRequestType & | getType () const |
| Addr | getProgramCounter () const |
| const RubyAccessMode & | getAccessMode () const |
| const int & | getSize () const |
| const PrefetchBit & | getPrefetch () const |
| RequestPtr | getRequestPtr () const |
| void | setWriteMask (uint32_t offset, uint32_t len, std::vector< std::pair< int, AtomicOpFunctor * > > atomicOps) |
| void | print (std::ostream &out) const |
| bool | functionalRead (Packet *pkt) |
| The two functions below are used for reading / writing the message functionally. | |
| bool | functionalRead (Packet *pkt, WriteMask &mask) |
| bool | functionalWrite (Packet *pkt) |
Public Member Functions inherited from gem5::ruby::Message | |
| Message (Tick curTime, int block_size, const RubySystem *rs) | |
| Message (const Message &other)=default | |
| virtual | ~Message () |
| virtual const MessageSizeType & | getMessageSize () const |
| virtual MessageSizeType & | getMessageSize () |
| void | updateDelayedTicks (Tick curTime) |
| Update the delay this message has experienced so far. | |
| Tick | getDelayedTicks () const |
| void | setLastEnqueueTime (const Tick &time) |
| Tick | getLastEnqueueTime () const |
| Tick | getTime () const |
| void | setMsgCounter (uint64_t c) |
| uint64_t | getMsgCounter () const |
| virtual const NetDest & | getDestination () const |
| virtual NetDest & | getDestination () |
| int | getIncomingLink () const |
| void | setIncomingLink (int link) |
| int | getVnet () const |
| void | setVnet (int net) |
Public Attributes | |
| Addr | m_PhysicalAddress |
| Addr | m_LineAddress |
| RubyRequestType | m_Type |
| Addr | m_ProgramCounter |
| RubyAccessMode | m_AccessMode |
| int | m_Size |
| PrefetchBit | m_Prefetch |
| PacketPtr | m_pkt |
| ContextID | m_contextId |
| WriteMask | m_writeMask |
| DataBlock | m_WTData |
| int | m_wfid |
| uint64_t | m_instSeqNum |
| bool | m_htmFromTransaction |
| uint64_t | m_htmTransactionUid |
| bool | m_isTlbi |
| Addr | m_tlbiTransactionUid |
| bool | m_isGLCSet |
| bool | m_isSLCSet |
| bool | m_isSecure |
Additional Inherited Members | |
Protected Attributes inherited from gem5::ruby::Message | |
| int | m_block_size = 0 |
Definition at line 61 of file RubyRequest.hh.
|
inline |
Definition at line 89 of file RubyRequest.hh.
References gem5::floorLog2(), gem5::ArmISA::isSecure(), m_AccessMode, m_contextId, m_htmFromTransaction, m_htmTransactionUid, m_isGLCSet, m_isSecure, m_isSLCSet, m_isTlbi, m_LineAddress, m_PhysicalAddress, m_pkt, m_Prefetch, m_ProgramCounter, m_Size, m_tlbiTransactionUid, m_Type, m_writeMask, m_WTData, gem5::ruby::makeLineAddress(), gem5::ruby::Message::Message(), and gem5::ArmISA::rs.
Referenced by clone().
|
inline |
RubyRequest for memory management commands.
Definition at line 123 of file RubyRequest.hh.
References gem5::ArmISA::isSecure(), m_AccessMode, m_contextId, m_htmFromTransaction, m_htmTransactionUid, m_isGLCSet, m_isSecure, m_isSLCSet, m_isTlbi, m_PhysicalAddress, m_pkt, m_Prefetch, m_ProgramCounter, m_Size, m_tlbiTransactionUid, m_Type, m_writeMask, m_WTData, gem5::ruby::Message::Message(), and gem5::ArmISA::rs.
|
inline |
Definition at line 153 of file RubyRequest.hh.
References gem5::floorLog2(), gem5::ArmISA::isSecure(), m_AccessMode, m_contextId, m_htmFromTransaction, m_htmTransactionUid, m_instSeqNum, m_isGLCSet, m_isSecure, m_isSLCSet, m_isTlbi, m_LineAddress, m_PhysicalAddress, m_pkt, m_Prefetch, m_ProgramCounter, m_Size, m_tlbiTransactionUid, m_Type, m_wfid, m_writeMask, m_WTData, gem5::ruby::makeLineAddress(), gem5::ruby::Message::Message(), and gem5::ArmISA::rs.
|
inline |
Definition at line 190 of file RubyRequest.hh.
References gem5::floorLog2(), gem5::ArmISA::isSecure(), m_AccessMode, m_contextId, m_htmFromTransaction, m_htmTransactionUid, m_instSeqNum, m_isGLCSet, m_isSecure, m_isSLCSet, m_isTlbi, m_LineAddress, m_PhysicalAddress, m_pkt, m_Prefetch, m_ProgramCounter, m_Size, m_tlbiTransactionUid, m_Type, m_wfid, m_writeMask, m_WTData, gem5::ruby::makeLineAddress(), gem5::ruby::Message::Message(), and gem5::ArmISA::rs.
|
inline |
Definition at line 229 of file RubyRequest.hh.
References m_writeMask, m_WTData, gem5::ruby::Message::Message(), and gem5::ArmISA::rs.
|
inlinevirtual |
Implements gem5::ruby::Message.
Definition at line 235 of file RubyRequest.hh.
References RubyRequest().
|
virtual |
The two functions below are used for reading / writing the message functionally.
The methods return true if the address in the packet matches the address / address range in the message. Each message class that can be potentially searched for the address needs to implement these methods.
Reimplemented from gem5::ruby::Message.
Definition at line 71 of file RubyRequest.cc.
Reimplemented from gem5::ruby::Message.
Definition at line 81 of file RubyRequest.cc.
References gem5::ArmISA::mask.
|
virtual |
Reimplemented from gem5::ruby::Message.
Definition at line 87 of file RubyRequest.cc.
References data, gem5::Packet::getAddr(), gem5::Packet::getConstPtr(), gem5::Packet::getSize(), gem5::Packet::hasData(), gem5::ArmISA::i, gem5::Packet::isMaskedWrite(), m_PhysicalAddress, m_pkt, m_Size, m_WTData, gem5::ruby::testAndWrite(), and warn.
|
inline |
Definition at line 242 of file RubyRequest.hh.
References m_AccessMode.
Referenced by gem5::ruby::Profiler::addAddressTraceSample().
|
inline |
Definition at line 238 of file RubyRequest.hh.
References m_LineAddress.
Referenced by gem5::ruby::Profiler::addAddressTraceSample().
|
inline |
Definition at line 239 of file RubyRequest.hh.
References m_PhysicalAddress.
|
inline |
Definition at line 244 of file RubyRequest.hh.
References m_Prefetch.
|
inline |
Definition at line 241 of file RubyRequest.hh.
References m_ProgramCounter.
Referenced by gem5::ruby::Profiler::addAddressTraceSample().
|
inline |
Definition at line 245 of file RubyRequest.hh.
References m_pkt.
|
inline |
Definition at line 243 of file RubyRequest.hh.
References m_Size.
|
inline |
Definition at line 240 of file RubyRequest.hh.
References m_Type.
Referenced by gem5::ruby::Profiler::addAddressTraceSample().
|
virtual |
Implements gem5::ruby::Message.
Definition at line 54 of file RubyRequest.cc.
References m_AccessMode, m_isGLCSet, m_isSLCSet, m_LineAddress, m_PhysicalAddress, m_Prefetch, m_ProgramCounter, m_Size, and m_Type.
Referenced by gem5::ruby::operator<<().
| void gem5::ruby::RubyRequest::setWriteMask | ( | uint32_t | offset, |
| uint32_t | len, | ||
| std::vector< std::pair< int, AtomicOpFunctor * > > | atomicOps ) |
Definition at line 129 of file RubyRequest.cc.
References gem5::ArmISA::len, m_writeMask, and gem5::ArmISA::offset.
| RubyAccessMode gem5::ruby::RubyRequest::m_AccessMode |
Definition at line 68 of file RubyRequest.hh.
Referenced by getAccessMode(), print(), RubyRequest(), RubyRequest(), RubyRequest(), and RubyRequest().
| ContextID gem5::ruby::RubyRequest::m_contextId |
Definition at line 72 of file RubyRequest.hh.
Referenced by RubyRequest(), RubyRequest(), RubyRequest(), and RubyRequest().
| bool gem5::ruby::RubyRequest::m_htmFromTransaction |
Definition at line 77 of file RubyRequest.hh.
Referenced by RubyRequest(), RubyRequest(), RubyRequest(), and RubyRequest().
| uint64_t gem5::ruby::RubyRequest::m_htmTransactionUid |
Definition at line 78 of file RubyRequest.hh.
Referenced by RubyRequest(), RubyRequest(), RubyRequest(), and RubyRequest().
| uint64_t gem5::ruby::RubyRequest::m_instSeqNum |
Definition at line 76 of file RubyRequest.hh.
Referenced by RubyRequest(), and RubyRequest().
| bool gem5::ruby::RubyRequest::m_isGLCSet |
Definition at line 85 of file RubyRequest.hh.
Referenced by print(), RubyRequest(), RubyRequest(), RubyRequest(), and RubyRequest().
| bool gem5::ruby::RubyRequest::m_isSecure |
Definition at line 87 of file RubyRequest.hh.
Referenced by RubyRequest(), RubyRequest(), RubyRequest(), and RubyRequest().
| bool gem5::ruby::RubyRequest::m_isSLCSet |
Definition at line 86 of file RubyRequest.hh.
Referenced by print(), RubyRequest(), RubyRequest(), RubyRequest(), and RubyRequest().
| bool gem5::ruby::RubyRequest::m_isTlbi |
Definition at line 79 of file RubyRequest.hh.
Referenced by RubyRequest(), RubyRequest(), RubyRequest(), and RubyRequest().
| Addr gem5::ruby::RubyRequest::m_LineAddress |
Definition at line 65 of file RubyRequest.hh.
Referenced by getLineAddress(), print(), RubyRequest(), RubyRequest(), and RubyRequest().
| Addr gem5::ruby::RubyRequest::m_PhysicalAddress |
Definition at line 64 of file RubyRequest.hh.
Referenced by functionalWrite(), getPhysicalAddress(), print(), RubyRequest(), RubyRequest(), RubyRequest(), and RubyRequest().
| PacketPtr gem5::ruby::RubyRequest::m_pkt |
Definition at line 71 of file RubyRequest.hh.
Referenced by functionalWrite(), getRequestPtr(), RubyRequest(), RubyRequest(), RubyRequest(), and RubyRequest().
| PrefetchBit gem5::ruby::RubyRequest::m_Prefetch |
Definition at line 70 of file RubyRequest.hh.
Referenced by getPrefetch(), print(), RubyRequest(), RubyRequest(), RubyRequest(), and RubyRequest().
| Addr gem5::ruby::RubyRequest::m_ProgramCounter |
Definition at line 67 of file RubyRequest.hh.
Referenced by getProgramCounter(), print(), RubyRequest(), RubyRequest(), RubyRequest(), and RubyRequest().
| int gem5::ruby::RubyRequest::m_Size |
Definition at line 69 of file RubyRequest.hh.
Referenced by functionalWrite(), getSize(), print(), RubyRequest(), RubyRequest(), RubyRequest(), and RubyRequest().
| Addr gem5::ruby::RubyRequest::m_tlbiTransactionUid |
Definition at line 81 of file RubyRequest.hh.
Referenced by RubyRequest(), RubyRequest(), RubyRequest(), and RubyRequest().
| RubyRequestType gem5::ruby::RubyRequest::m_Type |
Definition at line 66 of file RubyRequest.hh.
Referenced by getType(), print(), RubyRequest(), RubyRequest(), RubyRequest(), and RubyRequest().
| int gem5::ruby::RubyRequest::m_wfid |
Definition at line 75 of file RubyRequest.hh.
Referenced by RubyRequest(), and RubyRequest().
| WriteMask gem5::ruby::RubyRequest::m_writeMask |
Definition at line 73 of file RubyRequest.hh.
Referenced by RubyRequest(), RubyRequest(), RubyRequest(), RubyRequest(), RubyRequest(), and setWriteMask().
| DataBlock gem5::ruby::RubyRequest::m_WTData |
Definition at line 74 of file RubyRequest.hh.
Referenced by functionalWrite(), RubyRequest(), RubyRequest(), RubyRequest(), RubyRequest(), and RubyRequest().