Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 23 Jul 2002 23:11:38 -0700
From:      "David O'Brien" <obrien@freebsd.org>
To:        Peter Grehan <peterg@ptree32.com.au>
Cc:        freebsd-ppc@freebsd.org
Subject:   Re: psim non-blocking i/o
Message-ID:  <20020724061137.GA30771@dragon.nuxi.com>
In-Reply-To: <3D3CA108.5CCABC4E@ptree32.com.au>
References:  <3D3CA108.5CCABC4E@ptree32.com.au>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020724061137.GA30771>