qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] sercon: vbe modeset is int 10h function 4f02 not 4f00
@ 2020-03-06  9:03 Gerd Hoffmann
  2020-03-06 10:35 ` [SeaBIOS] " Paul Menzel
  2020-03-06 13:41 ` Kevin O'Connor
  0 siblings, 2 replies; 4+ messages in thread
From: Gerd Hoffmann @ 2020-03-06  9:03 UTC (permalink / raw)
  To: seabios; +Cc: qemu-devel, Gerd Hoffmann

Fixes console redirection for NetBSD primary bootloader.

https://bugs.launchpad.net/bugs/1743191
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
---
 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



^ permalink raw reply related	[flat|nested] 4+ messages in thread
[parent not found: <CAEJNuHy_O23m0ttcPUYDeeFWLCC2dSvGk8WZPEVr9XkTaAx7Yg.ref@mail.gmail.com>]

end of thread, other threads:[~2020-03-06 14:32 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-03-06  9:03 [PATCH] sercon: vbe modeset is int 10h function 4f02 not 4f00 Gerd Hoffmann
2020-03-06 10:35 ` [SeaBIOS] " Paul Menzel
2020-03-06 13:41 ` Kevin O'Connor
     [not found] <CAEJNuHy_O23m0ttcPUYDeeFWLCC2dSvGk8WZPEVr9XkTaAx7Yg.ref@mail.gmail.com>
2020-03-06 13:57 ` Ottavio Caruso

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).