The Pedigree Project  0.1
Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | Static Private Attributes | List of all members
Malta Class Reference

#include <Malta.h>

+ Inheritance diagram for Malta:
+ Collaboration diagram for Malta:

Public Member Functions

virtual void initialise ()
 
virtual SerialgetSerial (size_t n)
 
virtual size_t getNumSerial ()
 
virtual VgagetVga (size_t n)
 
virtual size_t getNumVga ()
 
virtual IrqManagergetIrqManager ()
 
virtual SchedulerTimergetSchedulerTimer ()
 
virtual TimergetTimer ()
 
virtual KeyboardgetKeyboard ()
 
- 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 initialiseDeviceTree ()
 
virtual void setKeyboard (Keyboard *kb)=0
 

Static Public Member Functions

static Machineinstance ()
 
- Static Public Member Functions inherited from Machine
static Machineinstance ()
 

Private Member Functions

 Malta ()
 
 Malta (const Malta &)
 
Maltaoperator= (const Malta &)
 
virtual ~Malta ()
 

Private Attributes

MaltaSerial m_Serial [2]
 
MaltaVga m_Vga
 
MaltaKeyboard m_Keyboard
 

Static Private Attributes

static Malta m_Instance
 

Additional Inherited Members

- Protected Attributes inherited from Machine
bool m_bInitialised
 

Detailed Description

Concretion of the abstract Machine class for a MIPS Malta board.

Definition at line 31 of file Malta.h.

Constructor & Destructor Documentation

Malta::Malta ( )
private

Default constructor, does nothing.

Definition at line 74 of file Malta.cc.

Malta::~Malta ( )
privatevirtual

Virtual destructor, does nothing.

Definition at line 77 of file Malta.cc.

Member Function Documentation

Keyboard * Malta::getKeyboard ( )
virtual

Returns the keyboard device.

Implements Machine.

Definition at line 69 of file Malta.cc.

size_t Malta::getNumSerial ( )
virtual

Returns the number of Serial device.

Implements Machine.

Definition at line 42 of file Malta.cc.

size_t Malta::getNumVga ( )
virtual

Returns the number of VGA devices.

Implements Machine.

Definition at line 50 of file Malta.cc.

SchedulerTimer * Malta::getSchedulerTimer ( )
virtual

Returns the SchedulerTimer device.

Implements Machine.

Definition at line 59 of file Malta.cc.

Serial * Malta::getSerial ( size_t  n)
virtual

Returns the n'th Serial device.

Implements Machine.

Definition at line 38 of file Malta.cc.

Timer * Malta::getTimer ( )
virtual

Returns the n'th Timer device.

Implements Machine.

Definition at line 64 of file Malta.cc.

Vga * Malta::getVga ( size_t  n)
virtual

Returns the n'th VGA device.

Implements Machine.

Definition at line 46 of file Malta.cc.

void Malta::initialise ( )
virtual

Initialises the machine.

Implements Machine.

Definition at line 30 of file Malta.cc.

References CountCompareTimer::initialise(), and CountCompareTimer::instance().


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