mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-27 19:59:17 +00:00
Bootloader: Locate the kernel's data segment and clear it.
This was a constant source of stupid bugs and I kept postponing it because I wasn't in the mood to write assembly code. Until now! :^)
This commit is contained in:
@@ -151,8 +151,6 @@ void init()
|
||||
gdt_init();
|
||||
idt_init();
|
||||
|
||||
PTYMultiplexer::initialize_statics();
|
||||
VFS::initialize_globals();
|
||||
vfs = new VFS;
|
||||
|
||||
keyboard = new Keyboard;
|
||||
@@ -169,10 +167,6 @@ void init()
|
||||
kprintf("Starting Serenity Operating System...\n");
|
||||
|
||||
MemoryManager::initialize();
|
||||
|
||||
StringImpl::initialize_globals();
|
||||
BochsVGADevice::initialize_statics();
|
||||
|
||||
PIT::initialize();
|
||||
|
||||
memset(&system, 0, sizeof(system));
|
||||
|
||||
Reference in New Issue
Block a user