Kernel/VirtualConsole: Fix grammar error in comment

This commit is contained in:
Liav A 2021-05-21 20:06:24 +03:00 committed by Linus Groh
parent c3efae85f2
commit e9ef3b59d8
Notes: sideshowbarker 2024-07-18 17:35:52 +09:00

View File

@ -128,7 +128,7 @@ UNMAP_AFTER_INIT void VirtualConsole::initialize()
set_size(GraphicsManagement::the().console()->max_column(), GraphicsManagement::the().console()->max_row());
m_console_impl.set_size(GraphicsManagement::the().console()->max_column(), GraphicsManagement::the().console()->max_row());
// Allocate twice of the max row * max column * sizeof(Cell) to ensure we can some sort of history mechanism...
// Allocate twice of the max row * max column * sizeof(Cell) to ensure we can have some sort of history mechanism...
auto size = GraphicsManagement::the().console()->max_column() * GraphicsManagement::the().console()->max_row() * sizeof(Cell) * 2;
m_cells = MM.allocate_kernel_region(page_round_up(size), "Virtual Console Cells", Region::Access::Read | Region::Access::Write, AllocationStrategy::AllocateNow);