gem5  v22.0.0.1
Public Member Functions | List of all members
gem5::Uart8250::Registers::RWSwitchedRegister Class Reference

#include <uart8250.hh>

Inheritance diagram for gem5::Uart8250::Registers::RWSwitchedRegister:
gem5::Uart8250::Registers::PairedRegister

Public Member Functions

void read (void *buf) override
 
void read (void *buf, off_t offset, size_t bytes) override
 
void write (const void *buf) override
 
void write (const void *buf, off_t offset, size_t bytes) override
 
 PairedRegister (RegisterBase &reg1, RegisterBase &reg2)
 
- Public Member Functions inherited from gem5::Uart8250::Registers::PairedRegister
 PairedRegister (RegisterBase &reg1, RegisterBase &reg2)
 
void serialize (std::ostream &os) const override
 
bool unserialize (const std::string &s) override
 

Additional Inherited Members

- Protected Attributes inherited from gem5::Uart8250::Registers::PairedRegister
RegisterBase & _reg1
 
RegisterBase & _reg2
 

Detailed Description

Definition at line 150 of file uart8250.hh.

Member Function Documentation

◆ PairedRegister()

gem5::Uart8250::Registers::PairedRegister::PairedRegister
inline

Definition at line 105 of file uart8250.hh.

◆ read() [1/2]

void gem5::Uart8250::Registers::RWSwitchedRegister::read ( void *  buf)
inlineoverride

Definition at line 155 of file uart8250.hh.

References gem5::Uart8250::Registers::PairedRegister::_reg1.

◆ read() [2/2]

void gem5::Uart8250::Registers::RWSwitchedRegister::read ( void *  buf,
off_t  offset,
size_t  bytes 
)
inlineoverride

◆ write() [1/2]

void gem5::Uart8250::Registers::RWSwitchedRegister::write ( const void *  buf)
inlineoverride

Definition at line 161 of file uart8250.hh.

References gem5::Uart8250::Registers::PairedRegister::_reg2.

◆ write() [2/2]

void gem5::Uart8250::Registers::RWSwitchedRegister::write ( const void *  buf,
off_t  offset,
size_t  bytes 
)
inlineoverride

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

Generated on Sat Jun 18 2022 08:13:28 for gem5 by doxygen 1.8.17