From ff5059f9fbeec751871ccbb4665f6147210ee211 Mon Sep 17 00:00:00 2001 From: mintsuki Date: Fri, 11 Mar 2022 05:11:09 +0100 Subject: [PATCH] serial: Ensure DLAB off before initiatialisation --- common/drivers/serial.s2.c | 1 + 1 file changed, 1 insertion(+) diff --git a/common/drivers/serial.s2.c b/common/drivers/serial.s2.c index 20cfa6a2..4141dc4c 100644 --- a/common/drivers/serial.s2.c +++ b/common/drivers/serial.s2.c @@ -34,6 +34,7 @@ static void serial_initialise(void) { #if bios == 1 // Init com1 + outb(0x3f8 + 3, 0x00); outb(0x3f8 + 1, 0x00); outb(0x3f8 + 3, 0x80); outb(0x3f8 + 0, 0x0c); // 9600 baud