1
Files
lecture-operating-system-de…/c_os/kernel/Globals.cc

31 lines
1.2 KiB
C++
Executable File

/*****************************************************************************
* *
* G L O B A L S *
* *
*---------------------------------------------------------------------------*
* Beschreibung: Globale Variablen des Systems. *
* *
* Autor: Michael Schoettner, 30.7.16 *
*****************************************************************************/
#include "kernel/Globals.h"
CPU cpu; // CPU-spezifische Funktionen
CGA_Stream kout; // Ausgabe-Strom fuer Kernel
BIOS bios; // Schnittstelle zum 16-Bit BIOS
VESA vesa; // VESA-Treiber
PIC pic; // Interrupt-Controller
IntDispatcher intdis; // Unterbrechungsverteilung
PIT pit(10000);
Keyboard kb; // Tastatur
PCSPK pcspk; // PC-Lautsprecher
// BumpAllocator allocator;
LinkedListAllocator allocator;
// TreeAllocator allocator;
Scheduler scheduler;
unsigned int total_mem; // RAM total
unsigned long systime = 0;