gem5 v24.0.0.0
Loading...
Searching...
No Matches
gem5::RegisterBank< BankByteOrder >::RegisterLBuf< BufBytes > Class Template Reference

#include <reg_bank.hh>

Inheritance diagram for gem5::RegisterBank< BankByteOrder >::RegisterLBuf< BufBytes >:
gem5::RegisterBank< BankByteOrder >::RegisterBuf gem5::RegisterBank< BankByteOrder >::RegisterBase gem5::RegisterBankBase::RegisterBaseBase

Public Member Functions

 RegisterLBuf (const std::string &new_name)
 
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 >::RegisterBuf
 RegisterBuf (const std::string &new_name, void *ptr, size_t bytes)
 
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
 
- 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
 

Public Attributes

std::array< uint8_t, BufBytes > buffer
 

Additional Inherited Members

- Protected Member Functions inherited from gem5::RegisterBank< BankByteOrder >::RegisterBuf
void setBuffer (void *buf)
 This method exists so that derived classes that need to initialize their buffers before they can be set can do so.
 
- Protected Attributes inherited from gem5::RegisterBank< BankByteOrder >::RegisterBase
const std::string _name
 
size_t _size = 0
 

Detailed Description

template<ByteOrder BankByteOrder>
template<int BufBytes>
class gem5::RegisterBank< BankByteOrder >::RegisterLBuf< BufBytes >

Definition at line 525 of file reg_bank.hh.

Constructor & Destructor Documentation

◆ RegisterLBuf()

template<ByteOrder BankByteOrder>
template<int BufBytes>
gem5::RegisterBank< BankByteOrder >::RegisterLBuf< BufBytes >::RegisterLBuf ( const std::string & new_name)
inline

Member Function Documentation

◆ reset()

template<ByteOrder BankByteOrder>
template<int BufBytes>
void gem5::RegisterBank< BankByteOrder >::RegisterLBuf< BufBytes >::reset ( )
inlineoverridevirtual

◆ serialize()

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

◆ unserialize()

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

Member Data Documentation

◆ buffer

template<ByteOrder BankByteOrder>
template<int BufBytes>
std::array<uint8_t, BufBytes> gem5::RegisterBank< BankByteOrder >::RegisterLBuf< BufBytes >::buffer

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