Remove stuff that services made obsolete from Globals.h
This commit is contained in:
@ -12,15 +12,12 @@
|
|||||||
|
|
||||||
namespace Kernel {
|
namespace Kernel {
|
||||||
|
|
||||||
CGA_Stream kout; // Ausgabe-Strom fuer Kernel
|
const Device::BIOS &bios = Device::BIOS::instance();
|
||||||
const Device::BIOS &bios = Device::BIOS::instance(); // Schnittstelle zum 16-Bit BIOS
|
Device::VESA vesa;
|
||||||
Device::VESA vesa; // VESA-Treiber
|
|
||||||
|
|
||||||
Device::PIC pic; // Interrupt-Controller
|
Device::PIT pit(10000); // 10000
|
||||||
IntDispatcher intdis; // Unterbrechungsverteilung
|
Device::PCSPK pcspk; // PC-Lautsprecher
|
||||||
Device::PIT pit(10000); // 10000
|
Device::Keyboard kb; // Tastatur
|
||||||
Device::PCSPK pcspk; // PC-Lautsprecher
|
|
||||||
Device::Keyboard kb; // Tastatur
|
|
||||||
|
|
||||||
// BumpAllocator allocator;
|
// BumpAllocator allocator;
|
||||||
LinkedListAllocator allocator;
|
LinkedListAllocator allocator;
|
||||||
@ -31,7 +28,7 @@ Scheduler scheduler;
|
|||||||
KeyEventManager kevman;
|
KeyEventManager kevman;
|
||||||
Device::SerialOut serial;
|
Device::SerialOut serial;
|
||||||
|
|
||||||
unsigned int total_mem; // RAM total
|
unsigned int total_mem; // RAM total
|
||||||
uint64_t systime = 0;
|
uint64_t systime = 0;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@ -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
|
// 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 const Device::BIOS &bios; // Schnittstelle zum 16-Bit BIOS
|
||||||
extern Device::VESA vesa; // VESA-Treiber
|
extern Device::VESA vesa; // VESA-Treiber
|
||||||
|
|
||||||
extern Device::PIC pic; // Interrupt-Controller
|
|
||||||
extern IntDispatcher intdis; // Unterbrechungsverteilung
|
|
||||||
extern Device::PIT pit; // Zeitgeber
|
extern Device::PIT pit; // Zeitgeber
|
||||||
extern Device::PCSPK pcspk; // PC-Lautsprecher
|
extern Device::PCSPK pcspk; // PC-Lautsprecher
|
||||||
extern Device::Keyboard kb; // Tastatur
|
extern Device::Keyboard kb; // Tastatur
|
||||||
|
|||||||
Reference in New Issue
Block a user