From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1ELJJA-0001oJ-1R for qemu-devel@nongnu.org; Fri, 30 Sep 2005 07:44:08 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1ELJJ3-0001mG-A5 for qemu-devel@nongnu.org; Fri, 30 Sep 2005 07:44:05 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ELJIt-0000ac-Su for qemu-devel@nongnu.org; Fri, 30 Sep 2005 07:43:52 -0400 Received: from [64.233.182.192] (helo=nproxy.gmail.com) by monty-python.gnu.org with esmtp (Exim 4.34) id 1ELIto-0001CB-OZ for qemu-devel@nongnu.org; Fri, 30 Sep 2005 07:17:56 -0400 Received: by nproxy.gmail.com with SMTP id h2so296752nfe for ; Fri, 30 Sep 2005 04:17:55 -0700 (PDT) Message-ID: <41e41e7a0509300417j4eb7daf5je30b164b30b35596@mail.gmail.com> Date: Fri, 30 Sep 2005 13:17:55 +0200 From: Hetz Ben Hamo Subject: Re: [Qemu-devel] IDE busmaster DMA support In-Reply-To: <433D1028.4080706@yahoo.fr> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <433D1028.4080706@yahoo.fr> Reply-To: Hetz Ben Hamo , 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 Hi, Which IDE driver do u try to write? for QEMU? or for a guest OS? The IDE implementation of QEMU has few bugs (notice how the hack win2k installation needs), so I would suggest to you to either try it with BOCHS or with a trial version of VMWare. Thanks, Hetz On 9/30/05, GaLi wrote: > > Hi, > > I'm trying to write an IDE driver with busmaster DMA support. > My problem is that I can't get the right controller registers addresses. > > In the IDE BusMaster DMA specification : > > "The control registers for the controller are allocated via the > devices Base Address register at offset 0x20 in PCI configuration > space." > > If I read the word at offset 0x20 in the PCI configuration space, I get > 0xc001. But if I boot qemu with a linux live-cd, it tells me that BM-DMA > is at 0xc000 > > Do I have to init the PCI IDE controller or something ? > > > _______________________________________________ > Qemu-devel mailing list > Qemu-devel@nongnu.org > http://lists.nongnu.org/mailman/listinfo/qemu-devel >