OOStuBS - Technische Informatik II (TI-II)
2.4
|
Grunddatei von OOStuBS. Mehr ...
#include "machine/multiboot.h"
#include "machine/cpu.h"
#include "device/interruptmanager.h"
#include "device/keyboard.h"
#include "device/cgastr.h"
#include "device/watch.h"
#include "device/log.h"
#include "thread/organizer.h"
#include "locking/interruptLock.h"
#include "user/task1.h"
#include "user/task2.h"
#include "user/task3A.h"
#include "user/task3B.h"
#include "user/task4.h"
#include "user/task5.h"
gehe zum Quellcode dieser Datei
Makrodefinitionen | |
#define | USE_TASK 50 |
Funktionen | |
bool | getSubTask (char minSubTask, char maxSubTask) |
Wait for user input via keyboard to select sub task. | |
void | kernel (uint32_t magic, const Multiboot_Info *info) |
kernel entry point |
Variablen | |
CPU | cpu |
global CPU object | |
InterruptManager | iManager |
Interrupt handling unit. | |
Keyboard | keyboard |
Keyboard input facility. | |
CGA_Stream | kout |
Display output stream. | |
InterruptLock | lock |
global Lock to prevent interrupt based concurrancy | |
Log | log |
Log for debug output over serial connection. | |
Organizer | scheduler |
Scheduler of all Threads. | |
Task5 | task5 |
The fifth student task test application. | |
Watch | watch |
Periodic timer used for preemption of Threads. |
Grunddatei von OOStuBS.
Diese Datei enthält die globalen Variablen und zusätzlich den Einsprungspunkt in das Betriebssystem (kernel).
Definiert in Datei main.cc.
bool getSubTask | ( | char | minSubTask, |
char | maxSubTask | ||
) |
Wait for user input via keyboard to select sub task.
minSubTask | minimum task character |
maxSubTask | maximum task character |
Definiert in Zeile 78 der Datei main.cc.
void kernel | ( | uint32_t | magic, |
const Multiboot_Info * | info | ||
) |
kernel entry point
magic | bootloader magic value |
info | address of multiboot info structure |
This is the entry point of the operating system. If this function returns all interrupts will be disabled and the cpu will be halted.
Definiert in Zeile 98 der Datei main.cc.
InterruptManager iManager |
CGA_Stream kout |
InterruptLock lock |