From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KzIY9-0008Lt-B4 for qemu-devel@nongnu.org; Sun, 09 Nov 2008 17:14:29 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KzIY7-0008Lf-1N for qemu-devel@nongnu.org; Sun, 09 Nov 2008 17:14:28 -0500 Received: from [199.232.76.173] (port=58128 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KzIY6-0008Lc-RQ for qemu-devel@nongnu.org; Sun, 09 Nov 2008 17:14:26 -0500 Received: from smtp4-g19.free.fr ([212.27.42.30]:53233) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KzIY6-0007Ac-L8 for qemu-devel@nongnu.org; Sun, 09 Nov 2008 17:14:26 -0500 Received: from smtp4-g19.free.fr (localhost.localdomain [127.0.0.1]) by smtp4-g19.free.fr (Postfix) with ESMTP id BC6D83EA0E7 for ; Sun, 9 Nov 2008 23:14:24 +0100 (CET) Received: from [192.168.0.32] (rob92-10-88-171-126-33.fbx.proxad.net [88.171.126.33]) by smtp4-g19.free.fr (Postfix) with ESMTP id 8B55D3EA0C6 for ; Sun, 9 Nov 2008 23:14:24 +0100 (CET) Message-ID: <491760BF.8020303@reactos.org> Date: Sun, 09 Nov 2008 23:14:23 +0100 From: =?ISO-8859-1?Q?Herv=E9_Poussineau?= MIME-Version: 1.0 Subject: Re: [Qemu-devel] [PATCH] MIPS: DMA support for RC4030 chipset [v2] References: <4915A887.9090003@reactos.org> In-Reply-To: <4915A887.9090003@reactos.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable 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 Forget that, DMA transfer function can be called in aio path, and=20 cpu_single_env will be NULL in that case Herv=E9 Herv=E9 Poussineau a =E9crit : > Hi, >=20 > Attached patch implements DMA support to RC4030 chipset and simplifies=20 > jazz IO part (at 0xf0000000), where registers contain 16 bit values. > The patch also wires DMA transfers for the SCSI adapter in the Jazz=20 > emulation (Mips Magnum 4000 and Acer Pica 61). >=20 > Blue Swirl's comments have been taken into account in this version: >=20 > Changes since v1: > - Support reuse of esp callback functions up to DMA engine > - Don't keep in memory the DMA table, but read it when needed >=20 > Herv=E9