1

Remove stuff that services made obsolete from Globals.h

This commit is contained in:
2022-12-08 02:22:57 +01:00
parent 6851746d76
commit 68441c91a8
2 changed files with 6 additions and 12 deletions

View File

@ -12,15 +12,12 @@
namespace Kernel {
CGA_Stream kout; // Ausgabe-Strom fuer Kernel
const Device::BIOS &bios = Device::BIOS::instance(); // Schnittstelle zum 16-Bit BIOS
Device::VESA vesa; // VESA-Treiber
const Device::BIOS &bios = Device::BIOS::instance();
Device::VESA vesa;
Device::PIC pic; // Interrupt-Controller
IntDispatcher intdis; // Unterbrechungsverteilung
Device::PIT pit(10000); // 10000
Device::PCSPK pcspk; // PC-Lautsprecher
Device::Keyboard kb; // Tastatur
Device::PIT pit(10000); // 10000
Device::PCSPK pcspk; // PC-Lautsprecher
Device::Keyboard kb; // Tastatur
// BumpAllocator allocator;
LinkedListAllocator allocator;
@ -31,7 +28,7 @@ Scheduler scheduler;
KeyEventManager kevman;
Device::SerialOut serial;
unsigned int total_mem; // RAM total
unsigned int total_mem; // RAM total
uint64_t systime = 0;
}

View File

@ -31,12 +31,9 @@ namespace Kernel {
// I wanted to make more of these singletons but there were problems with atexit missing because of nostdlib I guess
extern CGA_Stream kout; // Ausgabe-Strom fuer Kernel
extern const Device::BIOS &bios; // Schnittstelle zum 16-Bit BIOS
extern Device::VESA vesa; // VESA-Treiber
extern Device::PIC pic; // Interrupt-Controller
extern IntDispatcher intdis; // Unterbrechungsverteilung
extern Device::PIT pit; // Zeitgeber
extern Device::PCSPK pcspk; // PC-Lautsprecher
extern Device::Keyboard kb; // Tastatur