From owner-freebsd-sparc64@FreeBSD.ORG Mon Mar 15 23:00:07 2004 Return-Path: Delivered-To: freebsd-sparc64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5C54216A4CE for ; Mon, 15 Mar 2004 23:00:07 -0800 (PST) Received: from electra.cse.Buffalo.EDU (electra.cse.Buffalo.EDU [128.205.32.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1495843D1F for ; Mon, 15 Mar 2004 23:00:07 -0800 (PST) (envelope-from kensmith@cse.Buffalo.EDU) Received: from electra.cse.Buffalo.EDU (kensmith@localhost [127.0.0.1]) i2G7052Z016821; Tue, 16 Mar 2004 02:00:05 -0500 (EST) Received: (from kensmith@localhost) by electra.cse.Buffalo.EDU (8.12.10/8.12.9/Submit) id i2G705AJ016820; Tue, 16 Mar 2004 02:00:05 -0500 (EST) Date: Tue, 16 Mar 2004 02:00:04 -0500 From: Ken Smith To: Marcel Moolenaar Message-ID: <20040316070004.GA16684@electra.cse.Buffalo.EDU> References: <20040316055650.GA15182@electra.cse.Buffalo.EDU> <20040316064541.GA12961@dhcp01.pn.xcllnt.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040316064541.GA12961@dhcp01.pn.xcllnt.net> User-Agent: Mutt/1.4.1i cc: Ken Smith cc: freebsd-sparc64@freebsd.org Subject: Re: Console patch part II... X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Mar 2004 07:00:07 -0000 On Mon, Mar 15, 2004 at 10:45:41PM -0800, Marcel Moolenaar wrote: > Your patch looks like a big kluge. Mostly because you're delaying > cninit() and hardcode a dependency on ofw_console. That sure breaks > my box and I'm not going to add ofw_console simply because I > already have a console (using uart(4)). Do you know what happens if you call panic() before cninit()? The reason I tried the big kluge was that I haven't been able to successfully move enough of what seem to be the pre-requisites to cninit() to before the first spot panic() gets called. If panic() can be called before cninit() gets run then moving stuff around might be easier. -- Ken Smith - From there to here, from here to | kensmith@cse.buffalo.edu there, funny things are everywhere. | - Theodore Geisel |