From 7febffdda1390a3e518e65a445898bb3289a0b63 Mon Sep 17 00:00:00 2001 From: Catfood Date: Sat, 14 Jan 2023 15:32:29 +0800 Subject: [PATCH] fix early console --- kernel/console.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/kernel/console.c b/kernel/console.c index 410366b..cb3553c 100644 --- a/kernel/console.c +++ b/kernel/console.c @@ -46,12 +46,10 @@ static void scroll() static void set_cursor(unsigned int position) { - disable_int(); outb(CRTC_ADDR_REG, CURSOR_H); outb(CRTC_DATA_REG, (position >> 8) & 0xFF); outb(CRTC_ADDR_REG, CURSOR_L); outb(CRTC_DATA_REG, position & 0xFF); - enable_int(); } void simpleconsole_init()