gem5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Protected Attributes | List of all members
GenericTimerISA Class Reference

#include <generic_timer.hh>

Inheritance diagram for GenericTimerISA:
ArmISA::BaseISADevice

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

GenericTimerparent
 
unsigned cpu
 
- Protected Attributes inherited from ArmISA::BaseISADevice
ISAisa
 

Detailed Description

Definition at line 259 of file generic_timer.hh.

Constructor & Destructor Documentation

GenericTimerISA::GenericTimerISA ( GenericTimer _parent,
unsigned  _cpu 
)
inline

Definition at line 262 of file generic_timer.hh.

Member Function Documentation

ArmISA::MiscReg GenericTimerISA::readMiscReg ( int  misc_reg)
inlineoverridevirtual

Read a system register belonging to this device.

Parameters
misc_regRegister number (see miscregs.hh)
Returns
Register value.

Implements ArmISA::BaseISADevice.

Definition at line 268 of file generic_timer.hh.

References cpu, parent, and GenericTimer::readMiscReg().

void GenericTimerISA::setMiscReg ( int  misc_reg,
ArmISA::MiscReg  val 
)
inlineoverridevirtual

Write to a system register belonging to this device.

Parameters
misc_regRegister number (see miscregs.hh)
valValue to store

Implements ArmISA::BaseISADevice.

Definition at line 265 of file generic_timer.hh.

References cpu, parent, and GenericTimer::setMiscReg().

Member Data Documentation

unsigned GenericTimerISA::cpu
protected

Definition at line 274 of file generic_timer.hh.

Referenced by readMiscReg(), and setMiscReg().

GenericTimer& GenericTimerISA::parent
protected

Definition at line 273 of file generic_timer.hh.

Referenced by readMiscReg(), and setMiscReg().


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

Generated on Fri Jun 9 2017 13:04:11 for gem5 by doxygen 1.8.6