x86_64: make vgacon clear the display on init
This commit is contained in:
@@ -114,7 +114,11 @@ static console_t vgacon = {
|
||||
void vgacon_init(void)
|
||||
{
|
||||
g_console_cursor_xpos = 0;
|
||||
g_console_cursor_ypos = 5;
|
||||
g_console_cursor_ypos = 0;
|
||||
|
||||
for (int i = 0; i < k_console_width * k_console_height; i++) {
|
||||
g_console_fb[i] = DEFAULT_ATTRIB << 8;
|
||||
}
|
||||
|
||||
init_vga_cursor();
|
||||
move_vga_cursor(g_console_cursor_xpos, g_console_cursor_ypos);
|
||||
|
||||
Reference in New Issue
Block a user