The Pedigree Project
0.1
|
#include <Machine.h>
Public Member Functions | |
virtual void | initialise () INITIALISATION_ONLY |
virtual void | initialiseDeviceTree () |
virtual Serial * | getSerial (size_t n) |
virtual size_t | getNumSerial () |
virtual Vga * | getVga (size_t n) |
virtual size_t | getNumVga () |
virtual IrqManager * | getIrqManager () |
virtual SchedulerTimer * | getSchedulerTimer () |
virtual Timer * | getTimer () |
virtual Keyboard * | getKeyboard () |
virtual void | setKeyboard (Keyboard *kb) |
virtual void | stopAllOtherProcessors () |
Public Member Functions inherited from Machine | |
virtual void | initialise2 () |
Called after debugger startup. | |
virtual void | initialise3 () |
Called after processor startup - for thread creation etc. | |
virtual void | deinitialise () |
bool | isInitialised () |
Static Public Member Functions | |
static HostedMachine & | instance () |
Static Public Member Functions inherited from Machine | |
static Machine & | instance () |
Private Member Functions | |
HostedMachine () INITIALISATION_ONLY | |
HostedMachine (const HostedMachine &) | |
HostedMachine & | operator= (const HostedMachine &) |
virtual | ~HostedMachine () |
Private Attributes | |
HostedSerial | m_Serial [2] |
HostedVga | m_Vga |
Keyboard * | m_Keyboard |
Static Private Attributes | |
static HostedMachine | m_Instance |
Additional Inherited Members | |
Protected Attributes inherited from Machine | |
bool | m_bInitialised |
Concretion of the abstract Machine class for hosted systems
Definition at line 34 of file kernel/machine/hosted/Machine.h.
|
private |
Default constructor, does nothing.
Definition at line 104 of file hosted/Machine.cc.
|
privatevirtual |
Virtual destructor, does nothing.
Definition at line 108 of file hosted/Machine.cc.
|
virtual |
|
virtual |
Returns the number of Serial device.
Implements Machine.
Definition at line 59 of file hosted/Machine.cc.
|
virtual |
Returns the number of VGA devices.
Implements Machine.
Definition at line 69 of file hosted/Machine.cc.
References HostedIrqManager::instance().
|
virtual |
Returns the SchedulerTimer device.
Implements Machine.
Definition at line 79 of file hosted/Machine.cc.
References HostedSchedulerTimer::instance().
|
virtual |
Returns the n'th Serial device.
Implements Machine.
Definition at line 54 of file hosted/Machine.cc.
|
virtual |
|
virtual |
|
virtual |
Initialises the machine.
Implements Machine.
Definition at line 37 of file hosted/Machine.cc.
References HostedSchedulerTimer::initialise(), HostedIrqManager::initialise(), HostedTimer::initialise(), HostedIrqManager::instance(), and HostedSchedulerTimer::instance().
|
virtual |
Initialises the machine's base device tree, if one exists, to prefill the tree with those devices that are not otherwise able to be detected via some sort of bus support.
Reimplemented from Machine.
Definition at line 50 of file hosted/Machine.cc.
|
virtual |