Go to the documentation of this file.
29 #ifndef __MEM_RUBY_COMMON_DATABLOCK_HH__
30 #define __MEM_RUBY_COMMON_DATABLOCK_HH__
61 uint8_t
getByte(
int whichByte)
const;
70 void print(std::ostream& out)
const;
118 return obj1.
equal(obj2);
121 #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)
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 Wed Sep 30 2020 14:02:13 for gem5 by doxygen 1.8.17