Go to the documentation of this file.
41 #ifndef __MEM_RUBY_COMMON_WRITEMASK_HH__
42 #define __MEM_RUBY_COMMON_WRITEMASK_HH__
98 for (
int i = 0;
i <
len;
i++) {
115 for (
int i = 0;
i <
len;
i++) {
127 if (readMask.
mMask.at(
i)) {
140 if (readMask.
mMask.at(
i)) {
223 void print(std::ostream& out)
const;
277 #endif // __MEM_RUBY_COMMON_WRITEMASK_HH__
void setAtomicOps(const AtomicOpVector &atomicOps)
void performAtomic(uint8_t *p) const
std::ostream & operator<<(std::ostream &os, const BoolVec &myvector)
std::vector< bool > mMask
void performAtomic(DataBlock &blk) const
void setInvertedMask(const WriteMask &writeMask)
bool getMask(int offset, int len) const
const AtomicOpVector & getAtomicOps() const
constexpr uint64_t mask(unsigned nbits)
Generate a 64-bit mask of 'nbits' 1s, right justified.
void print(std::ostream &out) const
bool test(int offset) const
void setMask(int offset, int len, bool val=true)
WriteMask(int size, std::vector< bool > &mask, AtomicOpVector atomicOp)
WriteMask(int size, std::vector< bool > &mask)
int firstBitSet(bool val, int offset=0) const
void andMask(const WriteMask &writeMask)
std::vector< std::pair< int, AtomicOpFunctor * > > AtomicOpVector
bool isOverlap(const WriteMask &readMask) const
void orMask(const WriteMask &writeMask)
bool containsMask(const WriteMask &readMask) const
uint8_t * getDataMod(int offset)
int count(int offset=0) const
Reference material can be found at the JEDEC website: UFS standard http://www.jedec....
Generated on Tue Sep 7 2021 14:53:48 for gem5 by doxygen 1.8.17