gem5
v20.1.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 38 of file SubBlock.hh.
|
inline |
Definition at line 41 of file SubBlock.hh.
SubBlock::SubBlock | ( | Addr | addr, |
int | size | ||
) |
|
inline |
Definition at line 43 of file SubBlock.hh.
|
inline |
Definition at line 45 of file SubBlock.hh.
References m_address.
|
inline |
Definition at line 50 of file SubBlock.hh.
References m_data, and ArmISA::offset.
Referenced by internalMergeTo(), and readByte().
|
inline |
Definition at line 48 of file SubBlock.hh.
References m_data.
Referenced by internalMergeFrom(), internalMergeTo(), and print().
|
private |
Definition at line 45 of file SubBlock.cc.
References DataBlock::getByte(), getOffset(), getSize(), ArmISA::i, m_address, ArmISA::offset, and setByte().
Referenced by mergeFrom().
|
private |
Definition at line 56 of file SubBlock.cc.
References data, getByte(), getOffset(), getSize(), ArmISA::i, m_address, and ArmISA::offset.
Referenced by mergeTo().
|
inline |
Definition at line 60 of file SubBlock.hh.
References data, and internalMergeFrom().
Referenced by Sequencer::hitCallback().
|
inline |
Definition at line 59 of file SubBlock.hh.
References data, and 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(), SubBlock(), and writeByte().
|
inline |
Definition at line 55 of file SubBlock.hh.
|
private |
Definition at line 69 of file SubBlock.hh.
Referenced by getAddress(), internalMergeFrom(), internalMergeTo(), print(), setAddress(), and SubBlock().
|
private |