Go to the documentation of this file.
41 #ifndef __MEM_RUBY_COMMON_DATABLOCK_HH__
42 #define __MEM_RUBY_COMMON_DATABLOCK_HH__
75 uint8_t
getByte(
int whichByte)
const;
85 void print(std::ostream& out)
const;
133 return obj1.
equal(obj2);
136 #endif // __MEM_RUBY_COMMON_DATABLOCK_HH__
void setData(const uint8_t *data, int offset, int len)
DataBlock & operator=(const DataBlock &obj)
void copyPartial(const DataBlock &dblk, int offset, int len)
void setByte(int whichByte, uint8_t data)
const uint8_t * getData(int offset, int len) const
void assign(uint8_t *data)
uint8_t getByte(int whichByte) const
void print(std::ostream &out) const
std::ostream & operator<<(std::ostream &out, const DataBlock &obj)
A Packet is used to encapsulate a transfer between two objects in the memory system (e....
uint8_t * getDataMod(int offset)
bool equal(const DataBlock &obj) const
bool operator==(const DataBlock &obj1, const DataBlock &obj2)
void atomicPartial(const DataBlock &dblk, const WriteMask &mask)
Generated on Tue Jun 22 2021 15:28:29 for gem5 by doxygen 1.8.17