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

@ -23,13 +23,6 @@ HashTable<Inode*>& all_inodes()
return *s_inode_set;
}
void FS::initialize_globals()
{
s_lastFileSystemID = 0;
s_fs_map = nullptr;
s_inode_set = nullptr;
}
FS::FS()
: m_fsid(++s_lastFileSystemID)
{