serial: Ensure DLAB off before initiatialisation

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

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