The Pedigree Project
0.1
|
#include <Mac.h>
Public Member Functions | |
virtual void | initialise () |
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 | initialiseDeviceTree () |
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 () |
virtual void | setKeyboard (Keyboard *kb)=0 |
Static Public Member Functions | |
static Machine & | instance () |
Static Public Member Functions inherited from Machine | |
static Machine & | instance () |
Private Member Functions | |
Mac () | |
Mac (const Mac &) | |
Mac & | operator= (const Mac &) |
virtual | ~Mac () |
Private Attributes | |
PPCSerial | m_Serial [2] |
Decrementer | m_Decrementer |
PPCVga | m_Vga |
PPCKeyboard | m_Keyboard |
IrqManager * | m_pIrqManager |
Static Private Attributes | |
static Mac | m_Instance |
Additional Inherited Members | |
Protected Attributes inherited from Machine | |
bool | m_bInitialised |
|
privatevirtual |
Virtual destructor, does nothing.
Definition at line 83 of file Mac.cc.
References Device::addChild(), OpenFirmware::getFirstChild(), OpenFirmware::getSibling(), OpenFirmware::instance(), Device::setInterruptNumber(), Device::setParent(), and Device::setSpecificType().
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
Initialises the machine.
Implements Machine.
Definition at line 39 of file Mac.cc.
Referenced by initialiseDeviceTree().
|
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 121 of file Mac.cc.
References ERROR, initialise(), Heathrow::instance(), OpenFirmware::instance(), OpenPic::instance(), and Device::root().