Date: Sun, 11 Oct 1998 18:22:33 +0800 From: Peter Wemm <peter@netplex.com.au> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG Subject: Re: cvs commit: src/sys/boot/common console.c Message-ID: <199810111022.SAA20133@spinner.netplex.com.au> In-Reply-To: Your message of "Sun, 11 Oct 1998 03:19:12 MST." <199810111019.DAA17488@freefall.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199810111022.SAA20133>