gem5 v24.0.0.0
Loading...
Searching...
No Matches
gem5::RegisterBank< BankByteOrder >::RegisterRoFill Class Referenceabstract

#include <reg_bank.hh>

Inheritance diagram for gem5::RegisterBank< BankByteOrder >::RegisterRoFill:
gem5::RegisterBank< BankByteOrder >::RegisterBase gem5::RegisterBankBase::RegisterBaseBase gem5::RegisterBank< BankByteOrder >::RegisterRao gem5::RegisterBank< BankByteOrder >::RegisterRaz

Public Member Functions

void write (const void *buf) override
 
void write (const void *buf, off_t offset, size_t bytes) override
 
void read (void *buf) override
 
void read (void *buf, off_t offset, size_t bytes) override
 
void serialize (std::ostream &os) const override
 
bool unserialize (const std::string &s) override
 
void reset () override
 
- Public Member Functions inherited from gem5::RegisterBank< BankByteOrder >::RegisterBase
constexpr RegisterBase (const std::string &new_name, size_t new_size)
 
virtual ~RegisterBase ()
 
virtual const std::string & name () const
 
size_t size () const
 

Protected Member Functions

constexpr RegisterRoFill (const std::string &new_name, size_t new_size)
 
virtual void fill (void *buf, off_t offset, size_t bytes)=0
 

Additional Inherited Members

- Protected Attributes inherited from gem5::RegisterBank< BankByteOrder >::RegisterBase
const std::string _name
 
size_t _size = 0
 

Detailed Description

template<ByteOrder BankByteOrder>
class gem5::RegisterBank< BankByteOrder >::RegisterRoFill

Definition at line 410 of file reg_bank.hh.

Constructor & Destructor Documentation

◆ RegisterRoFill()

template<ByteOrder BankByteOrder>
gem5::RegisterBank< BankByteOrder >::RegisterRoFill::RegisterRoFill ( const std::string & new_name,
size_t new_size )
inlineconstexprprotected

Definition at line 413 of file reg_bank.hh.

Member Function Documentation

◆ fill()

template<ByteOrder BankByteOrder>
virtual void gem5::RegisterBank< BankByteOrder >::RegisterRoFill::fill ( void * buf,
off_t offset,
size_t bytes )
protectedpure virtual

◆ read() [1/2]

template<ByteOrder BankByteOrder>
void gem5::RegisterBank< BankByteOrder >::RegisterRoFill::read ( void * buf)
inlineoverridevirtual

◆ read() [2/2]

template<ByteOrder BankByteOrder>
void gem5::RegisterBank< BankByteOrder >::RegisterRoFill::read ( void * buf,
off_t offset,
size_t bytes )
inlineoverridevirtual

◆ reset()

template<ByteOrder BankByteOrder>
void gem5::RegisterBank< BankByteOrder >::RegisterRoFill::reset ( )
inlineoverridevirtual

Implements gem5::RegisterBank< BankByteOrder >::RegisterBase.

Definition at line 437 of file reg_bank.hh.

◆ serialize()

template<ByteOrder BankByteOrder>
void gem5::RegisterBank< BankByteOrder >::RegisterRoFill::serialize ( std::ostream & os) const
inlineoverridevirtual

Implements gem5::RegisterBank< BankByteOrder >::RegisterBase.

Definition at line 433 of file reg_bank.hh.

◆ unserialize()

template<ByteOrder BankByteOrder>
bool gem5::RegisterBank< BankByteOrder >::RegisterRoFill::unserialize ( const std::string & s)
inlineoverridevirtual

Implements gem5::RegisterBank< BankByteOrder >::RegisterBase.

Definition at line 434 of file reg_bank.hh.

◆ write() [1/2]

template<ByteOrder BankByteOrder>
void gem5::RegisterBank< BankByteOrder >::RegisterRoFill::write ( const void * buf)
inlineoverridevirtual

Implements gem5::RegisterBank< BankByteOrder >::RegisterBase.

Definition at line 422 of file reg_bank.hh.

◆ write() [2/2]

template<ByteOrder BankByteOrder>
void gem5::RegisterBank< BankByteOrder >::RegisterRoFill::write ( const void * buf,
off_t offset,
size_t bytes )
inlineoverridevirtual

Implements gem5::RegisterBank< BankByteOrder >::RegisterBase.

Definition at line 423 of file reg_bank.hh.


The documentation for this class was generated from the following file:

Generated on Tue Jun 18 2024 16:24:13 for gem5 by doxygen 1.11.0