gem5
|
#include <SubBlock.hh>
Public Member Functions | |
SubBlock () | |
SubBlock (Addr addr, int size) | |
~SubBlock () | |
Addr | getAddress () const |
void | setAddress (Addr addr) |
int | getSize () const |
void | resize (int size) |
uint8_t | getByte (int offset) const |
void | setByte (int offset, uint8_t data) |
uint8_t | readByte () const |
void | writeByte (uint8_t data) |
void | mergeTo (DataBlock &data) const |
void | mergeFrom (const DataBlock &data) |
void | print (std::ostream &out) const |
Private Member Functions | |
void | internalMergeTo (DataBlock &data) const |
void | internalMergeFrom (const DataBlock &data) |
Private Attributes | |
Addr | m_address |
std::vector< uint8_t > | m_data |
Definition at line 38 of file SubBlock.hh.
|
inline |
Definition at line 41 of file SubBlock.hh.
SubBlock::SubBlock | ( | Addr | addr, |
int | size | ||
) |
Definition at line 35 of file SubBlock.cc.
References addr, ArmISA::i, m_address, resize(), setByte(), and X86ISA::size().
|
inline |
Definition at line 43 of file SubBlock.hh.
|
inline |
Definition at line 45 of file SubBlock.hh.
References m_address.
Referenced by RubyTester::hitCallback(), and Check::performCallback().
|
inline |
Definition at line 50 of file SubBlock.hh.
References m_data, and ArmISA::offset.
Referenced by RubyTester::hitCallback(), internalMergeTo(), Check::performCallback(), and readByte().
|
inline |
Definition at line 48 of file SubBlock.hh.
References m_data.
Referenced by RubyTester::hitCallback(), internalMergeFrom(), internalMergeTo(), and print().
|
private |
Definition at line 45 of file SubBlock.cc.
References DataBlock::getByte(), getOffset(), getSize(), ArmISA::i, m_address, ArmISA::offset, setByte(), and X86ISA::size().
Referenced by mergeFrom().
|
private |
Definition at line 56 of file SubBlock.cc.
References getByte(), getOffset(), getSize(), ArmISA::i, m_address, ArmISA::offset, DataBlock::setByte(), and X86ISA::size().
Referenced by mergeTo().
|
inline |
Definition at line 60 of file SubBlock.hh.
References internalMergeFrom().
Referenced by GPUCoalescer::atomicCallback(), and GPUCoalescer::hitCallback().
|
inline |
Definition at line 59 of file SubBlock.hh.
References internalMergeTo().
void SubBlock::print | ( | std::ostream & | out | ) | const |
Definition at line 68 of file SubBlock.cc.
References getSize(), m_address, and m_data.
Referenced by operator<<().
|
inline |
Definition at line 54 of file SubBlock.hh.
References getByte().
|
inline |
|
inline |
Definition at line 46 of file SubBlock.hh.
|
inline |
Definition at line 51 of file SubBlock.hh.
References data, m_data, and ArmISA::offset.
Referenced by internalMergeFrom(), Check::performCallback(), SubBlock(), and writeByte().
|
inline |
Definition at line 55 of file SubBlock.hh.
References setByte().
|
private |
Definition at line 69 of file SubBlock.hh.
Referenced by getAddress(), internalMergeFrom(), internalMergeTo(), print(), setAddress(), and SubBlock().
|
private |