From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NuWTW-0001po-3F for qemu-devel@nongnu.org; Wed, 24 Mar 2010 15:42:46 -0400 Received: from [140.186.70.92] (port=60082 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NuWTS-0000dl-Gu for qemu-devel@nongnu.org; Wed, 24 Mar 2010 15:42:44 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1NuWTQ-0000zU-Gv for qemu-devel@nongnu.org; Wed, 24 Mar 2010 15:42:42 -0400 Received: from mx1.redhat.com ([209.132.183.28]:29378) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NuWTQ-0000zP-98 for qemu-devel@nongnu.org; Wed, 24 Mar 2010 15:42:40 -0400 Date: Wed, 24 Mar 2010 21:39:03 +0200 From: "Michael S. Tsirkin" Message-ID: <20100324193903.GA11004@redhat.com> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Subject: [Qemu-devel] Re: Compile files only once: some planning List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Blue Swirl Cc: qemu-devel On Tue, Mar 23, 2010 at 11:43:51PM +0200, Blue Swirl wrote: > rtl8139.c, e1000.c: need to convert ldl/stl to cpu_physical_memory_read/write. I don't see how it would help. These still get target_phys_addr_t which is per-target. Further, a ton of devices do cpu_register_physical_memory/qemu_register_coalesced_mmio. These are also per target. A simple solution would be to change all of cpu_XX functions to get a 64 bit address. This is a lot of churn, if we do this anyway we should also pass length to callbacks, this way rwhandler will get very small or go away completely. -- MST