From: Gerd Hoffmann Date: Fri, 3 Nov 2017 07:40:57 +0000 (+0100) Subject: sercon: Disable ScreenAndDebug in case both serial console and serial debug are active X-Git-Tag: rel-1.11.0~1 X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=0ca6d6277dfafc671a5b3718cbeb5c78e2a888ea;p=seabios.git sercon: Disable ScreenAndDebug in case both serial console and serial debug are active Signed-off-by: Gerd Hoffmann --- diff --git a/src/sercon.c b/src/sercon.c index 5d27051..a5dadb7 100644 --- a/src/sercon.c +++ b/src/sercon.c @@ -521,6 +521,10 @@ void sercon_setup(void) return; dprintf(1, "sercon: using ioport 0x%x\n", addr); + if (CONFIG_DEBUG_SERIAL) + if (addr == CONFIG_DEBUG_SERIAL_PORT) + ScreenAndDebug = 0; + vgabios = GET_IVT(0x10); seabios = FUNC16(entry_10); if (vgabios.seg != seabios.seg ||