From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1ELJvv-0005EG-GA for qemu-devel@nongnu.org; Fri, 30 Sep 2005 08:24:11 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1ELJvu-0005DL-08 for qemu-devel@nongnu.org; Fri, 30 Sep 2005 08:24:10 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ELJvt-00054x-0w for qemu-devel@nongnu.org; Fri, 30 Sep 2005 08:24:09 -0400 Received: from [62.193.225.58] (helo=WPC0444.AMENWORLD.COM) by monty-python.gnu.org with esmtp (TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA:24) (Exim 4.34) id 1ELJry-0005Zg-Vh for qemu-devel@nongnu.org; Fri, 30 Sep 2005 08:20:07 -0400 Message-ID: <433D2D73.60404@yahoo.fr> Date: Fri, 30 Sep 2005 14:20:03 +0200 From: GaLi MIME-Version: 1.0 Subject: Re: [Qemu-devel] IDE busmaster DMA support References: <433D1028.4080706@yahoo.fr> <41e41e7a0509300417j4eb7daf5je30b164b30b35596@mail.gmail.com> In-Reply-To: <41e41e7a0509300417j4eb7daf5je30b164b30b35596@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-15; 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 It's an IDE driver for my own OS. I don't think it comes from qemu because linux get it right. I tried to read linux source code but it's way too complicated. I'll try in bochs and VMWare and tell you the results Hetz Ben Hamo wrote: > 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 ?