From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KOfy7-0007tQ-K3 for qemu-devel@nongnu.org; Thu, 31 Jul 2008 17:45:55 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KOfy6-0007st-A3 for qemu-devel@nongnu.org; Thu, 31 Jul 2008 17:45:55 -0400 Received: from [199.232.76.173] (port=43652 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KOfy6-0007sl-2W for qemu-devel@nongnu.org; Thu, 31 Jul 2008 17:45:54 -0400 Received: from snape.cs.unm.edu ([64.106.20.59]:57175) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KOfy5-00020x-RJ for qemu-devel@nongnu.org; Thu, 31 Jul 2008 17:45:54 -0400 Received: from localhost (localhost [127.0.0.1]) by snape.cs.unm.edu (Postfix) with ESMTP id D466254C0D for ; Thu, 31 Jul 2008 15:46:27 -0600 (MDT) Received: from snape.cs.unm.edu ([127.0.0.1]) by localhost (snape.cs.unm.edu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id oJ23pgdiE3DW for ; Thu, 31 Jul 2008 15:46:25 -0600 (MDT) Received: from cs.unm.edu (webmail.cs.unm.edu [64.106.20.39]) by snape.cs.unm.edu (Postfix) with ESMTP id 0EE7D54CA0 for ; Thu, 31 Jul 2008 15:46:25 -0600 (MDT) From: "Mohammed Al-Saleh" Date: Thu, 31 Jul 2008 15:46:13 -0600 Message-Id: <20080731214440.M21143@cs.unm.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Subject: [Qemu-devel] CD-ROM Reading 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 Hi all; I really need help from you. I know that cd_read_sector function (which is called from ide_atapi_cmd_reply_end) in ide.c will copy data from the CD-ROM to an intermediate buffer, but I could not find out when this buffer is written to the RAM. All of what I can see is after reading data, ide_transfer_start and de_set_irq are called, but then what? how data will go to the RAM? if data will be copied to the RAM implicitly through the interrupt, then where can I find the ultimate function that copies the data to the RAM. Can any body answer my question? it will be very appreciated. Thanks, ...Mohammed --