serial: Ensure DLAB off before initiatialisation

This commit is contained in:
mintsuki 2022-03-11 05:11:09 +01:00
parent c877c0efa4
commit ff5059f9fb

View File

@ -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