Fix bug where Console::the() was initialized too late.

Yet another problem due to lack of BSS zeroing in the kernel loader...
This commit is contained in:
Andreas Kling 2018-10-30 23:01:48 +01:00
commit b833aa4162
Notes: sideshowbarker 2024-07-19 18:36:19 +09:00
3 changed files with 4 additions and 2 deletions

View file

@ -10,6 +10,7 @@ static Console* s_the;
Console& Console::the()
{
ASSERT(s_the);
return *s_the;
}