gem5
|
#include <generic_timer.hh>
Public Member Functions | |
GenericTimerISA (GenericTimer &_parent, unsigned _cpu) | |
void | setMiscReg (int misc_reg, ArmISA::MiscReg val) override |
Write to a system register belonging to this device. More... | |
ArmISA::MiscReg | 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) |
Protected Attributes | |
GenericTimer & | parent |
unsigned | cpu |
Protected Attributes inherited from ArmISA::BaseISADevice | |
ISA * | isa |
Definition at line 259 of file generic_timer.hh.
|
inline |
Definition at line 262 of file generic_timer.hh.
|
inlineoverridevirtual |
Read a system register belonging to this device.
misc_reg | Register number (see miscregs.hh) |
Implements ArmISA::BaseISADevice.
Definition at line 268 of file generic_timer.hh.
References cpu, parent, and GenericTimer::readMiscReg().
|
inlineoverridevirtual |
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 265 of file generic_timer.hh.
References cpu, parent, and GenericTimer::setMiscReg().
|
protected |
Definition at line 274 of file generic_timer.hh.
Referenced by readMiscReg(), and setMiscReg().
|
protected |
Definition at line 273 of file generic_timer.hh.
Referenced by readMiscReg(), and setMiscReg().