The Pedigree Project
0.1
|
Public Member Functions | |
virtual bool | registerHandler (TimerHandler *handler) |
bool | initialise () INITIALISATION_ONLY |
void | uninitialise () |
Static Public Member Functions | |
static HostedSchedulerTimer & | instance () |
Protected Member Functions | |
HostedSchedulerTimer () INITIALISATION_ONLY | |
virtual | ~HostedSchedulerTimer () |
Protected Member Functions inherited from SchedulerTimer | |
SchedulerTimer () | |
virtual | ~SchedulerTimer () |
Private Member Functions | |
HostedSchedulerTimer (const HostedSchedulerTimer &) | |
HostedSchedulerTimer & | operator= (const HostedSchedulerTimer &) |
virtual bool | irq (irq_id_t number, InterruptState &state) |
virtual | ~IrqHandler () |
Private Attributes | |
irq_id_t | m_IrqId |
__pedigree_hosted::timer_t | m_Timer |
TimerHandler * | m_Handler |
Static Private Attributes | |
static HostedSchedulerTimer | m_Instance |
Definition at line 37 of file kernel/machine/hosted/SchedulerTimer.h.
|
protected |
The default constructor
Definition at line 89 of file hosted/SchedulerTimer.cc.
|
inlineprotectedvirtual |
The destructor
Definition at line 61 of file kernel/machine/hosted/SchedulerTimer.h.
|
private |
The copy-constructor
bool HostedSchedulerTimer::initialise | ( | ) |
Initialises the class
Definition at line 42 of file hosted/SchedulerTimer.cc.
References IrqManager::registerIsaIrqHandler().
Referenced by HostedMachine::initialise().
|
inlinestatic |
Get the HostedSchedulerTimer class instance
Definition at line 41 of file kernel/machine/hosted/SchedulerTimer.h.
References INITIALISATION_ONLY.
Referenced by HostedMachine::getSchedulerTimer(), and HostedMachine::initialise().
|
privatevirtual |
Called when the handler is registered with the irq manager and the irq occurred
[in] | number | the irq number |
Implements IrqHandler.
Definition at line 93 of file hosted/SchedulerTimer.cc.
References LIKELY, m_Handler, and TimerHandler::timer().
|
private |
The assignment operator
void HostedSchedulerTimer::uninitialise | ( | ) |
Uninitialises the class
Definition at line 77 of file hosted/SchedulerTimer.cc.
References IrqManager::unregisterHandler().
|
private |
The scheduler
Definition at line 82 of file kernel/machine/hosted/SchedulerTimer.h.
Referenced by irq().
|
staticprivate |
The HostedSchedulerTimer class instance
Definition at line 85 of file kernel/machine/hosted/SchedulerTimer.h.