gem5
v20.1.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. More... | |
RegVal | readMiscReg (int misc_reg) override |
Read a system register belonging to this device. More... | |
Public Member Functions inherited from 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 ArmISA::BaseISADevice | |
ISA * | isa |
Definition at line 378 of file generic_timer.hh.
|
inline |
Definition at line 381 of file generic_timer.hh.
|
overridevirtual |
Read a system register belonging to this device.
misc_reg | Register number (see miscregs.hh) |
Implements ArmISA::BaseISADevice.
Definition at line 869 of file generic_timer.cc.
References DPRINTF, ArmISA::miscRegName, and X86ISA::reg.
|
overridevirtual |
Write to a system register belonging to this device.
misc_reg | Register number (see miscregs.hh) |
val | Value to store |
Implements ArmISA::BaseISADevice.
Definition at line 862 of file generic_timer.cc.
References DPRINTF, ArmISA::miscRegName, X86ISA::reg, and X86ISA::val.
|
protected |
Definition at line 389 of file generic_timer.hh.
|
protected |
Definition at line 388 of file generic_timer.hh.