sercon: vbe modeset is int 10h function 4f02 not 4f00
Fixes console redirection for NetBSD primary bootloader. https://bugs.launchpad.net/bugs/1743191 Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Reviewed-by: Kevin O'Connor <kevin@koconnor.net> Message-Id: <20200306090321.24811-1-kraxel@redhat.com>
This commit is contained in:
parent
b3fa857752
commit
066a995609
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue