gem5  v21.0.0.0
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Public Member Functions | Protected Member Functions | List of all members
RegisterBank< BankByteOrder >::RegisterRoFill Class Referenceabstract

#include <reg_bank.hh>

Inheritance diagram for RegisterBank< BankByteOrder >::RegisterRoFill:
RegisterBank< BankByteOrder >::RegisterBase RegisterBankBase::RegisterBaseBase RegisterBank< BankByteOrder >::RegisterRao 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 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 RegisterBank< BankByteOrder >::RegisterBase
const std::string _name
 
size_t _size = 0
 

Detailed Description

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

Definition at line 346 of file reg_bank.hh.

Constructor & Destructor Documentation

◆ RegisterRoFill()

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

Definition at line 349 of file reg_bank.hh.

Member Function Documentation

◆ fill()

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

◆ read() [1/2]

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

◆ read() [2/2]

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

◆ serialize()

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

Implements RegisterBank< BankByteOrder >::RegisterBase.

Definition at line 369 of file reg_bank.hh.

◆ unserialize()

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

Implements RegisterBank< BankByteOrder >::RegisterBase.

Definition at line 370 of file reg_bank.hh.

◆ write() [1/2]

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

Implements RegisterBank< BankByteOrder >::RegisterBase.

Definition at line 358 of file reg_bank.hh.

◆ write() [2/2]

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

Implements RegisterBank< BankByteOrder >::RegisterBase.

Definition at line 359 of file reg_bank.hh.


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

Generated on Tue Mar 23 2021 19:41:39 for gem5 by doxygen 1.8.17