gem5 v24.0.0.0
|
#include <generic_timer.hh>
Public Member Functions | |
GenericTimerISA (GenericTimer &_parent, unsigned _cpu) | |
void | setMiscReg (int misc_reg, RegVal val) override |
Write to a system register belonging to this device. | |
RegVal | readMiscReg (int misc_reg) override |
Read a system register belonging to this device. | |
Public Member Functions inherited from gem5::ArmISA::BaseISADevice | |
BaseISADevice () | |
virtual | ~BaseISADevice () |
virtual void | setISA (ISA *isa) |
virtual void | setThreadContext (ThreadContext *tc) |
Protected Attributes | |
GenericTimer & | parent |
unsigned | cpu |
Protected Attributes inherited from gem5::ArmISA::BaseISADevice | |
ISA * | isa |
Definition at line 399 of file generic_timer.hh.
|
inline |
Definition at line 402 of file generic_timer.hh.
|
overridevirtual |
Read a system register belonging to this device.
misc_reg | Register number (see regs/misc.hh) |
Implements gem5::ArmISA::BaseISADevice.
Definition at line 973 of file generic_timer.cc.
References DPRINTF, gem5::ArmISA::miscRegName, and gem5::X86ISA::reg.
|
overridevirtual |
Write to a system register belonging to this device.
misc_reg | Register number (see regs/misc.hh) |
val | Value to store |
Implements gem5::ArmISA::BaseISADevice.
Definition at line 966 of file generic_timer.cc.
References DPRINTF, gem5::ArmISA::miscRegName, gem5::X86ISA::reg, and gem5::X86ISA::val.
|
protected |
Definition at line 410 of file generic_timer.hh.
|
protected |
Definition at line 409 of file generic_timer.hh.