mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 11:18:11 +00:00
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:
parent
00c21d1590
commit
b833aa4162
3 changed files with 4 additions and 2 deletions
|
@ -10,6 +10,7 @@ static Console* s_the;
|
|||
|
||||
Console& Console::the()
|
||||
{
|
||||
ASSERT(s_the);
|
||||
return *s_the;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue