Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Jsrt9-0000Hn-PE for qemu-devel@nongnu.org; Mon, 05 May 2008 00:01:19 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Jsrt9-0000HU-6E for qemu-devel@nongnu.org; Mon, 05 May 2008 00:01:19 -0400 Received: from [199.232.76.173] (port=37209 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Jsrt9-0000HR-1K for qemu-devel@nongnu.org; Mon, 05 May 2008 00:01:19 -0400 Received: from hall.aurel32.net ([91.121.138.14]) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Jsrt9-000469-4O for qemu-devel@nongnu.org; Mon, 05 May 2008 00:01:19 -0400 Received: from aurel32 by hall.aurel32.net with local (Exim 4.63) (envelope-from ) id 1Jsrt6-0005ke-LU for qemu-devel@nongnu.org; Mon, 05 May 2008 06:01:16 +0200 Date: Mon, 5 May 2008 06:01:16 +0200 From: Aurelien Jarno Subject: Re: [Qemu-devel] [PATCH] Re: phys_ram_base, direct access to guest memory Message-ID: <20080505040116.GC15189@hall.aurel32.net> References: <18398.33922.132796.510683@mariner.uk.xensource.com> <47DEA908.4040907@qumranet.com> <18398.37844.354219.321675@mariner.uk.xensource.com> <18408.56889.160376.558448@mariner.uk.xensource.com> <20080408184634.GA11492@volta.aurel32.net> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Disposition: inline In-Reply-To: Sender: Aurelien Jarno 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 On Fri, May 02, 2008 at 05:52:07PM +0300, Blue Swirl wrote: > On 4/8/08, Aurelien Jarno wrote: > > On Tue, Mar 25, 2008 at 11:12:57AM +0000, Ian Jackson wrote: > > > I wrote: > > > > In the attached patch, I remove all the direct uses of phys_ram_base > > > > from hw/pc.c, except for those presently needed to construct the > > > > arguments to the vga init functions. > > > > > > Is there something wrong with my patch or the general approach ? > > > > > > It simply doesn't work. After applying it, I get: > > > > > > qemu: fatal: Trying to execute code outside RAM or ROM at 0x000a0000 > > I fixed the bug in the patch, cpu_physical_memory_write_rom must be > used instead of cpu_physical_memory_write. I also made the same > changes to Sparc32/64, they run fine. Does this version work for PC > targets? Unfortunately the problem is still there, with the same error message. -- .''`. Aurelien Jarno | GPG: 1024D/F1BCDB73 : :' : Debian developer | Electrical Engineer `. `' aurel32@debian.org | aurelien@aurel32.net `- people.debian.org/~aurel32 | www.aurel32.net