OOStuBS - Technische Informatik II (TI-II)
2.4
|
Erste Testanwendung. Mehr ...
#include <task1.h>
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_Info * | mbi |
pointer to multiboot information structure |
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.
|
private |
Information flags describing provided infromation.
|
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.
|
private |
|
private |
void Task1::setup | ( | uint32_t | magic, |
const ::Multiboot_Info * | mbi | ||
) |
|
private |
test the functionality of the Keyboard_Controller object
Definiert in Zeile 157 der Datei task1.cc.
|
private |
|
private |
|
private |