[Qemu-devel] Re: sparc32 do_unassigned_access overhaul v2

2010-01-18 Thread Blue Swirl
On Mon, Jan 18, 2010 at 4:17 PM, Artyom Tarasenko wrote: > Btw, what is the following hack for in do_unassigned_access? > > >    saved_env = env; >    env = cpu_single_env; > //... >    env = saved_env; env is a host CPU register, see for example target-sparc/exec.h. Code which is called directly

[Qemu-devel] Re: sparc32 do_unassigned_access overhaul v2

2010-01-18 Thread Artyom Tarasenko
Btw, what is the following hack for in do_unassigned_access? saved_env = env; env = cpu_single_env; //... env = saved_env; I wonder whether I modify the correct env here: env = saved_env; +/* flush neverland mappings created during no-fault mode, + so the sequential MM

[Qemu-devel] Re: sparc32 do_unassigned_access overhaul v2

2010-01-15 Thread Blue Swirl
Thanks, applied. On Fri, Jan 15, 2010 at 9:28 PM, Artyom Tarasenko wrote: > According to pages 9-31 - 9-34 of "SuperSPARC & MultiCache Controller > User's Manual": > > 1. "A lower priority fault may not overwrite the >    MFSR status of a higher priority fault." > 2. The MFAR is overwritten acco