All of lore.kernel.org
 help / color / mirror / Atom feed
From: GaLi <g_cavelier@yahoo.fr>
To: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] IDE busmaster DMA support
Date: Fri, 30 Sep 2005 14:20:03 +0200	[thread overview]
Message-ID: <433D2D73.60404@yahoo.fr> (raw)
In-Reply-To: <41e41e7a0509300417j4eb7daf5je30b164b30b35596@mail.gmail.com>


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 <g_cavelier@yahoo.fr> 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 ?

  reply	other threads:[~2005-09-30 12:24 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-09-30 10:15 [Qemu-devel] IDE busmaster DMA support GaLi
2005-09-30 11:17 ` Hetz Ben Hamo
2005-09-30 12:20   ` GaLi [this message]
2005-09-30 15:16 ` Lennert Buytenhek
  -- strict thread matches above, loose matches on Subject: below --
2005-09-30 12:04 Juergen Keil
2005-09-30 13:00 ` GaLi

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=433D2D73.60404@yahoo.fr \
    --to=g_cavelier@yahoo.fr \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.