From nobody Mon Apr 29 14:29:52 2024 Delivered-To: importer@patchew.org Received-SPF: none (zoho.com: 80.81.252.135 is neither permitted nor denied by domain of seabios.org) client-ip=80.81.252.135; envelope-from=seabios-bounces@seabios.org; helo=mail.coreboot.org; Authentication-Results: mx.zohomail.com; spf=none (zoho.com: 80.81.252.135 is neither permitted nor denied by domain of seabios.org) smtp.mailfrom=seabios-bounces@seabios.org Return-Path: Received: from mail.coreboot.org (mail.coreboot.org [80.81.252.135]) by mx.zohomail.com with SMTPS id 1509694891995529.9466337629505; Fri, 3 Nov 2017 00:41:31 -0700 (PDT) Received: from [127.0.0.1] (helo=ra.coreboot.org) by mail.coreboot.org with esmtp (Exim 4.86_2) (envelope-from ) id 1eAWbM-0005gz-83; Fri, 03 Nov 2017 08:41:16 +0100 Received: from mx1.redhat.com ([209.132.183.28]) by mail.coreboot.org with esmtps (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.86_2) (envelope-from ) id 1eAWbC-0005fM-AG for seabios@seabios.org; Fri, 03 Nov 2017 08:41:14 +0100 Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.13]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id A0361C04AC5F for ; Fri, 3 Nov 2017 07:41:03 +0000 (UTC) Received: from sirius.home.kraxel.org (ovpn-116-41.ams2.redhat.com [10.36.116.41]) by smtp.corp.redhat.com (Postfix) with ESMTP id 63A0160618; Fri, 3 Nov 2017 07:41:01 +0000 (UTC) Received: by sirius.home.kraxel.org (Postfix, from userid 1000) id 746ED16E04; Fri, 3 Nov 2017 08:41:00 +0100 (CET) DMARC-Filter: OpenDMARC Filter v1.3.2 mx1.redhat.com A0361C04AC5F Authentication-Results: ext-mx07.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=redhat.com Authentication-Results: ext-mx07.extmail.prod.ext.phx2.redhat.com; spf=fail smtp.mailfrom=kraxel@redhat.com From: Gerd Hoffmann To: seabios@seabios.org Date: Fri, 3 Nov 2017 08:40:57 +0100 Message-Id: <20171103074057.9483-1-kraxel@redhat.com> X-Scanned-By: MIMEDefang 2.79 on 10.5.11.13 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.31]); Fri, 03 Nov 2017 07:41:03 +0000 (UTC) X-Spam-Score: -6.5 (------) Subject: [SeaBIOS] [PATCH] Disable ScreenAndDebug in case both serial console and serial debug are active X-BeenThere: seabios@seabios.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: SeaBIOS mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Gerd Hoffmann MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Errors-To: seabios-bounces@seabios.org Sender: "SeaBIOS" X-Duff: Orig. Duff, Duff Lite, Duff Dry, Duff Dark, Raspberry Duff, Lady Duff, Red Duff, Tartar Control Duff X-ZohoMail: RSF_4 Z_629925259 SPT_0 Content-Type: text/plain; charset="utf-8" Signed-off-by: Gerd Hoffmann --- src/sercon.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/sercon.c b/src/sercon.c index 0b7722ec08..72ebf82452 100644 --- a/src/sercon.c +++ b/src/sercon.c @@ -523,6 +523,10 @@ void sercon_setup(void) return; dprintf(1, "sercon: using ioport 0x%x\n", addr); =20 + if (CONFIG_DEBUG_SERIAL) + if (addr =3D=3D CONFIG_DEBUG_SERIAL_PORT) + ScreenAndDebug =3D 0; + vgabios =3D GET_IVT(0x10); seabios =3D FUNC16(entry_10); if (vgabios.seg !=3D seabios.seg || --=20 2.9.3 _______________________________________________ SeaBIOS mailing list SeaBIOS@seabios.org https://mail.coreboot.org/mailman/listinfo/seabios