41#ifndef __MEM_RUBY_COMMON_DATABLOCK_HH__
42#define __MEM_RUBY_COMMON_DATABLOCK_HH__
88 uint8_t
getByte(
int whichByte)
const;
100 bool isAtomicNoReturn=
true);
102 void print(std::ostream& out)
const;
116 assert(
data != NULL);
153 return obj1.
equal(obj2);
A Packet is used to encapsulate a transfer between two objects in the memory system (e....
void atomicPartial(const DataBlock &dblk, const WriteMask &mask, bool isAtomicNoReturn=true)
uint8_t getByte(int whichByte) const
void assign(uint8_t *data)
const uint8_t * getData(int offset, int len) const
void clearAtomicLogEntries()
uint8_t * popAtomicLogEntryFront()
void copyPartial(const DataBlock &dblk, int offset, int len)
uint8_t * getDataMod(int offset)
int numAtomicLogEntries() const
DataBlock & operator=(const DataBlock &obj)
bool equal(const DataBlock &obj) const
void setByte(int whichByte, uint8_t data)
std::deque< uint8_t * > m_atomicLog
void print(std::ostream &out) const
void setData(const uint8_t *data, int offset, int len)
std::ostream & operator<<(std::ostream &os, const BoolVec &myvector)
bool operator==(const DataBlock &obj1, const DataBlock &obj2)
Copyright (c) 2024 - Pranith Kumar Copyright (c) 2020 Inria All rights reserved.
Declaration of the Packet class.