From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.34) id 1BQp8P-0006lW-FK for qemu-devel@nongnu.org; Thu, 20 May 2004 11:07:01 -0400 Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.34) id 1BQoNa-0005Z4-SD for qemu-devel@nongnu.org; Thu, 20 May 2004 10:19:11 -0400 Received: from [193.252.22.25] (helo=mwinf0602.wanadoo.fr) by monty-python.gnu.org with esmtp (Exim 4.34) id 1BQoET-0003k2-0v for qemu-devel@nongnu.org; Thu, 20 May 2004 10:09:13 -0400 Received: from bellard.org (ATuileries-112-1-2-219.w80-14.abo.wanadoo.fr [80.14.188.219]) by mwinf0602.wanadoo.fr (SMTP Server) with ESMTP id 423C7540036D for ; Thu, 20 May 2004 16:09:12 +0200 (CEST) Message-ID: <40ACBC94.6010002@bellard.org> Date: Thu, 20 May 2004 16:11:32 +0200 From: Fabrice Bellard MIME-Version: 1.0 Subject: Re: [Qemu-devel] PCI-error with Beos 4.5 and Plan9 References: <40ABE6F8.2070101@easynet.be> In-Reply-To: <40ABE6F8.2070101@easynet.be> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Mark Jonckheere wrote: > Booting from an install-CD for Beos 4.5 and another one for Plan9 > with PCI enabled gives an error. It seems that the function > register_ioport_write() is called with an address (-4) outside > of its expected range (0-65535). > > It appears that both operating systems implement the procedure > described in the application note at page 204 from the document > "http://www.singlix.org/trdos/PCI22.pdf" with the special bits > already cleared. > > The following quick patch (against CVS 19-05-2004) works for me > in both cases. I made a fix in the CVS along with the PCI interrupts and VGA support. Tell me if it works. Fabrice.