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:
Andreas Kling 2019-02-06 16:02:10 +01:00
commit a1b63bb6d4
Notes: sideshowbarker 2024-07-19 15:50:58 +09:00
22 changed files with 54 additions and 83 deletions

View file

@ -19,12 +19,6 @@ VFS& VFS::the()
return *s_the;
}
void VFS::initialize_globals()
{
s_the = nullptr;
FS::initialize_globals();
}
VFS::VFS()
{
#ifdef VFS_DEBUG