gem5  v21.1.0.2
Public Member Functions | Protected Member Functions | List of all members
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
 
- 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 351 of file reg_bank.hh.

Constructor & Destructor Documentation

◆ RegisterRoFill()

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

Definition at line 354 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

◆ serialize()

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

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

Definition at line 374 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 375 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 363 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 364 of file reg_bank.hh.


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

Generated on Tue Sep 21 2021 12:28:03 for gem5 by doxygen 1.8.17