1

add serial + eventmanager to globals

This commit is contained in:
2022-07-16 01:02:06 +02:00
parent f41eda0215
commit 694e835142
2 changed files with 11 additions and 4 deletions

View File

@ -23,7 +23,8 @@
#include "kernel/interrupts/IntDispatcher.h"
#include "kernel/interrupts/PIC.h"
#include "kernel/threads/Scheduler.h"
#include "user/KeyEventManager.h"
#include "user/devices/SerialOut.h"
#include "user/event/KeyEventManager.h"
extern CPU cpu; // CPU-spezifische Funktionen
extern CGA_Stream kout; // Ausgabe-Strom fuer Kernel
@ -42,9 +43,12 @@ extern KeyEventManager kevman;
// extern BumpAllocator allocator;
extern LinkedListAllocator allocator;
// extern TreeAllocator allocator;
extern Scheduler scheduler;
constexpr bool DEBUG = true;
extern SerialOut serial;
constexpr bool DEBUG = false;
extern unsigned int total_mem; // RAM total
extern unsigned long systime; // wird all 10ms hochgezaehlt