From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HgTCZ-0000rO-9Z for qemu-devel@nongnu.org; Tue, 24 Apr 2007 18:09:35 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HgTCY-0000qv-0J for qemu-devel@nongnu.org; Tue, 24 Apr 2007 18:09:35 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HgTCX-0000qr-Pd for qemu-devel@nongnu.org; Tue, 24 Apr 2007 18:09:33 -0400 Received: from ug-out-1314.google.com ([66.249.92.173]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1HgT6y-00006m-UY for qemu-devel@nongnu.org; Tue, 24 Apr 2007 18:03:49 -0400 Received: by ug-out-1314.google.com with SMTP id j40so259485ugd for ; Tue, 24 Apr 2007 15:03:47 -0700 (PDT) Message-ID: <5fa100fd0704241503y210dbce9tfa154392918ac90c@mail.gmail.com> Date: Tue, 24 Apr 2007 17:03:46 -0500 From: "Steven Y. Ko" Sender: steven.y.ko@gmail.com MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: [Qemu-devel] IDE disk IO 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 Hello, I'm trying to understand the ide.c - how it is structured, how it works, etc. I see that the functions in ide.c get called from vl.c through ioport_read_table. But I'm wondering how ide_data_readw(), ide_ioport_read(), and ide_sector_read() are different, and also where the actual requests to harddrives are issued in the code. Or even just overall picture of ide IO would be nice. Can somebody give me some info? - Steve