gem5 v24.0.0.0
|
#include <reg_bank.hh>
Public Member Functions | |
constexpr | RegisterBase (const std::string &new_name, size_t new_size) |
virtual | ~RegisterBase () |
virtual const std::string & | name () const |
size_t | size () const |
virtual void | read (void *buf)=0 |
virtual void | read (void *buf, off_t offset, size_t bytes)=0 |
virtual void | write (const void *buf)=0 |
virtual void | write (const void *buf, off_t offset, size_t bytes)=0 |
virtual void | serialize (std::ostream &os) const =0 |
virtual bool | unserialize (const std::string &s)=0 |
virtual void | reset ()=0 |
Protected Attributes | |
const std::string | _name |
size_t | _size = 0 |
Definition at line 375 of file reg_bank.hh.
|
inlineconstexpr |
Definition at line 382 of file reg_bank.hh.
|
inlinevirtual |
Definition at line 385 of file reg_bank.hh.
|
inlinevirtual |
Definition at line 388 of file reg_bank.hh.
References gem5::RegisterBank< BankByteOrder >::RegisterBase::_name.
Referenced by gem5::RegisterBank< BankByteOrder >::RegisterLBuf< BufBytes >::unserialize().
|
pure virtual |
|
pure virtual |
|
pure virtual |
Implemented in gem5::RegisterBank< BankByteOrder >::Register< Data, RegByteOrder >, gem5::RegisterBank< BankByteOrder >::Register< BackingType >, gem5::RegisterBank< BankByteOrder >::RegisterBuf, gem5::RegisterBank< BankByteOrder >::RegisterLBuf< BufBytes >, gem5::RegisterBank< BankByteOrder >::RegisterLBuf< 0x100 >, gem5::RegisterBank< BankByteOrder >::RegisterLBuf< 0x80 >, gem5::RegisterBank< BankByteOrder >::RegisterLBuf< 12 >, and gem5::RegisterBank< BankByteOrder >::RegisterRoFill.
|
pure virtual |
Implemented in gem5::RegisterBank< BankByteOrder >::Register< Data, RegByteOrder >, gem5::RegisterBank< BankByteOrder >::Register< BackingType >, gem5::RegisterBank< BankByteOrder >::RegisterBuf, gem5::RegisterBank< BankByteOrder >::RegisterLBuf< BufBytes >, gem5::RegisterBank< BankByteOrder >::RegisterLBuf< 0x100 >, gem5::RegisterBank< BankByteOrder >::RegisterLBuf< 0x80 >, gem5::RegisterBank< BankByteOrder >::RegisterLBuf< 12 >, and gem5::RegisterBank< BankByteOrder >::RegisterRoFill.
|
inline |
Definition at line 391 of file reg_bank.hh.
References gem5::RegisterBank< BankByteOrder >::RegisterBase::_size.
Referenced by gem5::RegisterBank< BankByteOrder >::read(), gem5::RegisterBank< BankByteOrder >::RegisterBuf::read(), gem5::RegisterBank< BankByteOrder >::RegisterBuf::read(), gem5::RegisterBank< BankByteOrder >::RegisterRoFill::read(), gem5::RegisterBank< BankByteOrder >::RegisterBuf::write(), gem5::RegisterBank< BankByteOrder >::RegisterBuf::write(), and gem5::RegisterBank< BankByteOrder >::write().
|
pure virtual |
Implemented in gem5::RegisterBank< BankByteOrder >::Register< Data, RegByteOrder >, gem5::RegisterBank< BankByteOrder >::Register< BackingType >, gem5::RegisterBank< BankByteOrder >::RegisterBuf, gem5::RegisterBank< BankByteOrder >::RegisterLBuf< BufBytes >, gem5::RegisterBank< BankByteOrder >::RegisterLBuf< 0x100 >, gem5::RegisterBank< BankByteOrder >::RegisterLBuf< 0x80 >, gem5::RegisterBank< BankByteOrder >::RegisterLBuf< 12 >, and gem5::RegisterBank< BankByteOrder >::RegisterRoFill.
|
pure virtual |
|
pure virtual |
|
protected |
Definition at line 378 of file reg_bank.hh.
Referenced by gem5::RegisterBank< BankByteOrder >::RegisterBase::name().
|
protected |
Definition at line 379 of file reg_bank.hh.
Referenced by gem5::RegisterBank< BankByteOrder >::RegisterBase::size().