gem5 v24.0.0.0
|
#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 44 of file SubBlock.hh.
|
inline |
Definition at line 47 of file SubBlock.hh.
gem5::ruby::SubBlock::SubBlock | ( | Addr | addr, |
int | size ) |
Definition at line 41 of file SubBlock.cc.
References gem5::X86ISA::addr, gem5::ArmISA::i, m_address, resize(), and setByte().
|
inline |
Definition at line 49 of file SubBlock.hh.
|
inline |
Definition at line 51 of file SubBlock.hh.
References m_address.
|
inline |
Definition at line 56 of file SubBlock.hh.
References m_data, and gem5::ArmISA::offset.
Referenced by internalMergeTo(), and readByte().
|
inline |
Definition at line 54 of file SubBlock.hh.
References m_data.
Referenced by internalMergeFrom(), internalMergeTo(), and print().
|
private |
Definition at line 51 of file SubBlock.cc.
References gem5::ruby::DataBlock::getByte(), gem5::ruby::getOffset(), getSize(), gem5::ArmISA::i, m_address, gem5::ArmISA::offset, and setByte().
Referenced by mergeFrom().
|
private |
Definition at line 62 of file SubBlock.cc.
References data, getByte(), gem5::ruby::getOffset(), getSize(), gem5::ArmISA::i, m_address, and gem5::ArmISA::offset.
Referenced by mergeTo().
|
inline |
Definition at line 66 of file SubBlock.hh.
References data, and internalMergeFrom().
Referenced by gem5::ruby::Sequencer::hitCallback().
|
inline |
Definition at line 65 of file SubBlock.hh.
References data, and internalMergeTo().
void gem5::ruby::SubBlock::print | ( | std::ostream & | out | ) | const |
Definition at line 74 of file SubBlock.cc.
References getSize(), m_address, and m_data.
Referenced by gem5::ruby::operator<<().
|
inline |
Definition at line 60 of file SubBlock.hh.
References getByte().
|
inline |
|
inline |
Definition at line 52 of file SubBlock.hh.
References gem5::X86ISA::addr, and m_address.
|
inline |
Definition at line 57 of file SubBlock.hh.
References data, m_data, and gem5::ArmISA::offset.
Referenced by internalMergeFrom(), SubBlock(), and writeByte().
|
inline |
Definition at line 61 of file SubBlock.hh.
|
private |
Definition at line 75 of file SubBlock.hh.
Referenced by getAddress(), internalMergeFrom(), internalMergeTo(), print(), setAddress(), and SubBlock().
|
private |