OOStuBS - Technische Informatik II (TI-II)  2.4
Klassen | Öffentliche Methoden | Private Typen | Private Methoden | Private Attribute | Aufstellung aller Elemente
Task1 Klassenreferenz

Erste Testanwendung. Mehr ...

#include <task1.h>

Klassendiagramm für Task1:
Inheritance graph
[Legende]
Zusammengehörigkeiten von Task1:
Collaboration graph
[Legende]

Klassen

struct  AOut_Symbol_Table
 Symbol table for a.out executables. Mehr ...
struct  ELF_Section_Header_Table
 Section header table for ELF executables. Mehr ...
struct  Memory_Map
 Memory map information. Mehr ...
struct  Module
 Loaded module information. Mehr ...
struct  Multiboot_Info
 Multiboot information. Mehr ...

Öffentliche Methoden

virtual void action ()
 parse and print multiboot information
void setup (uint32_t magic, const ::Multiboot_Info *mbi)
 sets pointer to multiboot information and magic constant

Private Typen

enum  Flags {
  memSize = 1<<0, bootDev = 1<<1, cmdLine = 1<<2, modules = 1<<3,
  aOut = 1<<4, elf = 1<<5, memMap = 1<<6
}
 Information flags describing provided infromation. Mehr ...

Private Methoden

bool checkFlag (Flags flag)
 check the multiboot infromation struct for provided information
void parseAndPrint ()
 parse and print the multiboot information
void testKeyboard ()
 test the functionality of the Keyboard_Controller object
void testKout ()
 test the functionality of the Kout object

Private Attribute

uint32_t magic
 magic value provided by multiboot compliant bootloaders
const Multiboot_Infombi
 pointer to multiboot information structure

Ausführliche Beschreibung

Erste Testanwendung.

Diese Anwendung soll die Funktionalität der umgesetzten CGA- und Tastatur-Treiber überprüfen. Zu diesem Zweck werden verschiedene Zahlen ausgegeben. Zusätzlich werden die sogenannten Multiboot-Informationen ausgegeben, die durch den Bootloader übergeben wurden. Zum Schluss wird die Tastatur getestet, indem auf der Tastatur eingegebene Tasten auf dem Bildschirm dargestellt werden.

Definiert in Zeile 35 der Datei task1.h.

Dokumentation der Aufzählungstypen

enum Task1::Flags
private

Information flags describing provided infromation.

Aufzählungswerte:
memSize 

memory size information is provided

bootDev 

boot device infromation is provided

cmdLine 

command line infromation is provided

modules 

loaded module infromation is provided

aOut 

a.out executable infromation is provided

elf 

elf executable infromation are provided

memMap 

memory map infromation is provided

Definiert in Zeile 38 der Datei task1.h.

Dokumentation der Elementfunktionen

void Task1::action ( )
virtual

parse and print multiboot information

test also the implementation of CGA_Stream and Keyboard_Controller

Implementiert Application.

Definiert in Zeile 174 der Datei task1.cc.

Hier ist ein Graph, der zeigt, was diese Funktion aufruft:

bool Task1::checkFlag ( Flags  flag)
private

check the multiboot infromation struct for provided information

Parameter
flagwhich information is requested
Rückgabe
true if provided, false otherwise

Definiert in Zeile 21 der Datei task1.cc.

Hier ist ein Graph der zeigt, wo diese Funktion aufgerufen wird:

void Task1::parseAndPrint ( )
private

parse and print the multiboot information

Definiert in Zeile 25 der Datei task1.cc.

Hier ist ein Graph, der zeigt, was diese Funktion aufruft:

Hier ist ein Graph der zeigt, wo diese Funktion aufgerufen wird:

void Task1::setup ( uint32_t  magic,
const ::Multiboot_Info mbi 
)

sets pointer to multiboot information and magic constant

Parameter
mbithe pointer to the multiboot information structure
magicthe magic constant passed by a multiboot compliant loader

Definiert in Zeile 16 der Datei task1.cc.

Hier ist ein Graph der zeigt, wo diese Funktion aufgerufen wird:

void Task1::testKeyboard ( )
private

test the functionality of the Keyboard_Controller object

Definiert in Zeile 157 der Datei task1.cc.

Hier ist ein Graph, der zeigt, was diese Funktion aufruft:

Hier ist ein Graph der zeigt, wo diese Funktion aufgerufen wird:

void Task1::testKout ( )
private

test the functionality of the Kout object

Definiert in Zeile 120 der Datei task1.cc.

Hier ist ein Graph, der zeigt, was diese Funktion aufruft:

Hier ist ein Graph der zeigt, wo diese Funktion aufgerufen wird:

Dokumentation der Datenelemente

uint32_t Task1::magic
private

magic value provided by multiboot compliant bootloaders

Definiert in Zeile 107 der Datei task1.h.

const Multiboot_Info* Task1::mbi
private

pointer to multiboot information structure

Definiert in Zeile 110 der Datei task1.h.


Die Dokumentation für diese Klasse wurde erzeugt aufgrund der Dateien: