From owner-freebsd-hackers Sun Jan 26 01:38:49 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id BAA29252 for hackers-outgoing; Sun, 26 Jan 1997 01:38:49 -0800 (PST) Received: from seagull.rtd.com (seagull.rtd.com [198.102.68.2]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id BAA29246 for ; Sun, 26 Jan 1997 01:38:46 -0800 (PST) Received: (from dgy@localhost) by seagull.rtd.com (8.7.5/8.7.3) id CAA07377; Sun, 26 Jan 1997 02:38:38 -0700 (MST) From: Don Yuniskis Message-Id: <199701260938.CAA07377@seagull.rtd.com> Subject: Re: suggestion for kernel printk() ? To: bde@zeta.org.au (Bruce Evans) Date: Sun, 26 Jan 1997 02:38:37 -0700 (MST) Cc: bde@zeta.org.au, dgy@rtd.com, freebsd-hackers@freefall.freebsd.org In-Reply-To: <199701260856.TAA23790@godzilla.zeta.org.au> from "Bruce Evans" at Jan 26, 97 07:56:20 pm X-Mailer: ELM [version 2.4 PL24] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-hackers@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > >> probing all the devices. printf() doesn't have any flow control. It > >> can't afford to pause once the system is up because that would freeze > >> the whole system. Freezing for 1 msec per character to for output at > >> 9600 bps is bad enough. > > > >But would it actually *break* anything? Perhaps I'll hack in a two line > >patch next time I rebuild a kernel and see what happens... > > Yes, it would steal characters from the foreground console unless the > keyboard is dedicated to low-level console input. I guess a single character pushback isn't supported at that level? --don