Go to the documentation of this file.
77 if (
mask.getMask(
i, 1)) {
97 for (
int i = 0;
i < size;
i++) {
98 out << std::setw(2) << std::setfill(
'0') << std::hex
99 <<
"0x" << (int)
m_data[
i] <<
" " << std::setfill(
' ');
101 out << std::dec <<
"]" << std::flush;
static uint32_t getBlockSizeBytes()
void writeData(uint8_t *p) const
Copy data from the packet to the memory at the provided pointer.
void setData(const uint8_t *data, int offset, int len)
DataBlock & operator=(const DataBlock &obj)
void copyPartial(const DataBlock &dblk, int offset, int len)
const uint8_t * getData(int offset, int len) const
void print(std::ostream &out) const
A Packet is used to encapsulate a transfer between two objects in the memory system (e....
Addr getOffset(Addr addr)
uint8_t * getDataMod(int offset)
bool equal(const DataBlock &obj) const
void atomicPartial(const DataBlock &dblk, const WriteMask &mask)
Generated on Tue Mar 23 2021 19:41:28 for gem5 by doxygen 1.8.17