forked from Bananymous/banan-os
Kernel: kernel doesn't allocate large blocks of data on stack
We used to allocate 1 KiB blocks on multiple places on stack. This is a problem, since kernel stack shouldn't have to be too big
This commit is contained in:
@@ -38,8 +38,9 @@ namespace Kernel
|
||||
{
|
||||
m_width = m_terminal_driver->width();
|
||||
m_height = m_terminal_driver->height();
|
||||
|
||||
|
||||
m_buffer = new Cell[m_width * m_height];
|
||||
ASSERT(m_buffer);
|
||||
|
||||
if (s_tty == nullptr)
|
||||
s_tty = this;
|
||||
|
||||
Reference in New Issue
Block a user