38 out <<
"[RubyRequest: ";
39 out << hex <<
"LineAddress = 0x" << m_LineAddress << dec <<
" ";
40 out << hex <<
"PhysicalAddress = 0x" << m_PhysicalAddress << dec <<
" ";
41 out <<
"Type = " << m_Type <<
" ";
42 out << hex <<
"ProgramCounter = 0x" << m_ProgramCounter << dec <<
" ";
43 out <<
"AccessMode = " << m_AccessMode <<
" ";
44 out <<
"Size = " << m_Size <<
" ";
45 out <<
"Prefetch = " << m_Prefetch <<
" ";
72 Addr mBase = m_PhysicalAddress;
73 Addr mTail = mBase + m_Size;
75 const uint8_t * pktData = pkt->
getConstPtr<uint8_t>();
77 Addr cBase = std::max(wBase, mBase);
78 Addr cTail = std::min(wTail, mTail);
80 for (
Addr i = cBase;
i < cTail; ++
i) {
81 data[
i - mBase] = pktData[
i - wBase];
bool functionalWrite(Packet *pkt)
bool functionalRead(Packet *pkt)
The two functions below are used for reading / writing the message functionally.
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...
void print(std::ostream &out) const
const T * getConstPtr() const