qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH] Re: phys_ram_base, direct access to guest memor


From: Blue Swirl
Subject: Re: [Qemu-devel] [PATCH] Re: phys_ram_base, direct access to guest memory
Date: Fri, 2 May 2008 17:52:07 +0300

On 4/8/08, Aurelien Jarno <address@hidden> 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?

Attachment: phys_mem_ij.diff
Description: plain/text


reply via email to

[Prev in Thread] Current Thread [Next in Thread]