Go to the documentation of this file.
50 out <<
"[RubyRequest: ";
51 out << std::hex <<
"LineAddress = 0x" <<
m_LineAddress << std::dec <<
" ";
53 out << std::dec <<
" " <<
"Type = " <<
m_Type <<
" ";
56 out <<
"Size = " <<
m_Size <<
" ";
94 warn(
"Skiping functional write to/from a masked write packet"
105 const uint8_t * pktData = pkt->
getConstPtr<uint8_t>();
107 Addr cBase = std::max(wBase, mBase);
108 Addr cTail = std::min(wTail, mTail);
110 for (
Addr i = cBase;
i < cTail; ++
i) {
111 data[
i - mBase] = pktData[
i - wBase];
117 return cBase < cTail;
bool functionalWrite(Packet *pkt)
RubyAccessMode m_AccessMode
void print(std::ostream &out) const
bool functionalRead(Packet *pkt)
The two functions below are used for reading / writing the message functionally.
bool testAndWrite(Addr addr, DataBlock &blk, Packet *pkt)
This function accepts an address, a data block and a packet.
uint64_t Addr
Address type This will probably be moved somewhere else in the near future.
A Packet is used to encapsulate a transfer between two objects in the memory system (e....
bool isMaskedWrite() const
T * getPtr()
get a pointer to the data ptr.
const T * getConstPtr() const
Generated on Tue Jun 22 2021 15:28:30 for gem5 by doxygen 1.8.17