From owner-freebsd-ppc Mon Jul 22 17: 1:51 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 795FA37B400 for ; Mon, 22 Jul 2002 17:01:49 -0700 (PDT) Received: from gt3.OntheNet.com.au (nt.com.au [203.13.70.61]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4D40343E65 for ; Mon, 22 Jul 2002 17:01:43 -0700 (PDT) (envelope-from peterg@ptree32.com.au) Received: from ptree32.com.au (CPE-203-45-246-228.qld.bigpond.net.au [203.45.246.228]) by gt3.OntheNet.com.au (8.11.4/8.11.4) with ESMTP id g6N04Ib08549 for ; Tue, 23 Jul 2002 10:04:18 +1000 (EST) Message-ID: <3D3CA108.5CCABC4E@ptree32.com.au> Date: Tue, 23 Jul 2002 10:19:20 +1000 From: Peter Grehan Organization: Ptree32 Pty Ltd X-Mailer: Mozilla 4.79 [en] (X11; U; Linux 2.2.14-12 i686) X-Accept-Language: en MIME-Version: 1.0 To: freebsd-ppc@freebsd.org Subject: psim non-blocking i/o Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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 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. later, Peter. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ppc" in the body of the message