forked from Bananymous/banan-os
Kernel: Kernel::Panic now checks that TTY is initialized instead of VESA
This commit is contained in:
@@ -26,7 +26,6 @@ namespace VESA
|
||||
static uint32_t s_width = 0;
|
||||
static uint32_t s_height = 0;
|
||||
static uint8_t s_mode = 0;
|
||||
static bool s_initialized = false;
|
||||
|
||||
static uint32_t s_terminal_width = 0;
|
||||
static uint32_t s_terminal_height = 0;
|
||||
@@ -83,11 +82,6 @@ namespace VESA
|
||||
return s_terminal_height;
|
||||
}
|
||||
|
||||
bool IsInitialized()
|
||||
{
|
||||
return s_initialized;
|
||||
}
|
||||
|
||||
bool Initialize()
|
||||
{
|
||||
if (!(g_multiboot_info->flags & MULTIBOOT_FLAGS_FRAMEBUFFER))
|
||||
@@ -138,7 +132,6 @@ namespace VESA
|
||||
|
||||
SetCursorPositionImpl(0, 0, Color::BRIGHT_WHITE);
|
||||
ClearImpl(Color::BLACK);
|
||||
s_initialized = true;
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user