[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH] sercon: vbe modeset is int 10h function 4f02 not 4f00
From: |
Gerd Hoffmann |
Subject: |
[PATCH] sercon: vbe modeset is int 10h function 4f02 not 4f00 |
Date: |
Fri, 6 Mar 2020 10:03:21 +0100 |
Fixes console redirection for NetBSD primary bootloader.
https://bugs.launchpad.net/bugs/1743191
Signed-off-by: Gerd Hoffmann <address@hidden>
---
src/sercon.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/sercon.c b/src/sercon.c
index a5dadb7261af..66a1f2412e77 100644
--- a/src/sercon.c
+++ b/src/sercon.c
@@ -464,7 +464,7 @@ static void sercon_104f(struct bregs *regs)
regs->ax = 0x0100;
} else {
// Disable sercon entry point on any vesa modeset
- if (regs->al == 0x00)
+ if (regs->al == 0x02)
SET_LOW(sercon_enable, 0);
}
}
--
2.18.2
- [PATCH] sercon: vbe modeset is int 10h function 4f02 not 4f00,
Gerd Hoffmann <=