From owner-freebsd-ppc Tue Jul 23 23:11:42 2002 Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 23F8037B400 for ; Tue, 23 Jul 2002 23:11:41 -0700 (PDT) Received: from dragon.nuxi.com (trang.nuxi.com [66.92.13.169]) by mx1.FreeBSD.org (Postfix) with ESMTP id B246143E5E for ; Tue, 23 Jul 2002 23:11:40 -0700 (PDT) (envelope-from obrien@NUXI.com) Received: from dragon.nuxi.com (obrien@localhost [127.0.0.1]) by dragon.nuxi.com (8.12.5/8.12.2) with ESMTP id g6O6Beoi030805; Tue, 23 Jul 2002 23:11:40 -0700 (PDT) (envelope-from obrien@dragon.nuxi.com) Received: (from obrien@localhost) by dragon.nuxi.com (8.12.5/8.12.5/Submit) id g6O6BcmL030804; Tue, 23 Jul 2002 23:11:38 -0700 (PDT) Date: Tue, 23 Jul 2002 23:11:38 -0700 From: "David O'Brien" To: Peter Grehan Cc: freebsd-ppc@freebsd.org Subject: Re: psim non-blocking i/o Message-ID: <20020724061137.GA30771@dragon.nuxi.com> Reply-To: obrien@freebsd.org References: <3D3CA108.5CCABC4E@ptree32.com.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3D3CA108.5CCABC4E@ptree32.com.au> User-Agent: Mutt/1.4i X-Operating-System: FreeBSD 5.0-CURRENT Organization: The NUXI BSD Group X-Pgp-Rsa-Fingerprint: B7 4D 3E E9 11 39 5F A3 90 76 5D 69 58 D9 98 7A X-Pgp-Rsa-Keyid: 1024/34F9F9D5 Sender: owner-freebsd-ppc@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Tue, Jul 23, 2002 at 10:19:20AM +1000, Peter Grehan wrote: > I had mentioned previously that psim does blocking i/o by default, which > stalls the system when the polling ofw console driver does a read. > > Psim can do non-blocking i/o if it's built with the right options. > > - pass the '--enable-sim-stdio=no' option on the configure command line > > - in the device tree, insert the line > > /openprom/options/use-stdio? false > > *after* the '/#address-cells 1', if it's present. Someone send me a patch to the psim-freebsd port and I'll test and commit. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ppc" in the body of the message