From owner-cvs-all Sun Oct 11 03:53:10 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id DAA13498 for cvs-all-outgoing; Sun, 11 Oct 1998 03:53:10 -0700 (PDT) (envelope-from owner-cvs-all@FreeBSD.ORG) Received: from spinner.netplex.com.au (spinner.netplex.com.au [202.12.86.3]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id DAA13391; Sun, 11 Oct 1998 03:50:29 -0700 (PDT) (envelope-from peter@netplex.com.au) Received: from spinner.netplex.com.au (localhost [127.0.0.1]) by spinner.netplex.com.au (8.9.1/8.9.1/Spinner) with ESMTP id SAA20133; Sun, 11 Oct 1998 18:22:34 +0800 (WST) (envelope-from peter@spinner.netplex.com.au) Message-Id: <199810111022.SAA20133@spinner.netplex.com.au> X-Mailer: exmh version 2.0.2 2/24/98 To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG Subject: Re: cvs commit: src/sys/boot/common console.c In-reply-to: Your message of "Sun, 11 Oct 1998 03:19:12 MST." <199810111019.DAA17488@freefall.freebsd.org> Date: Sun, 11 Oct 1998 18:22:33 +0800 From: Peter Wemm Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk Peter Wemm wrote: > peter 1998/10/11 03:19:11 PDT > > Modified files: > sys/boot/common console.c > Log: > Probe all consoles, not just the first. It doesn't make a lot of > difference, but might later on when we implement some sort of multi-head > console mode. Select a console after probing them all. > Don't strdup a potentially NULL return from getenv(). > If we don't select an active console, choose the first regardless. > Call the console init function, at startup time and on a manual change. > The env_setenv() function needs EV_VOLATILE because it's pointing to > data that isn't malloc'ed and will cause a fault if it's freed later. > > Revision Changes Path > 1.3 +21 -7 src/sys/boot/common/console.c And after this, comconsole works in /boot/loader. :-) Cheers, -Peter To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message