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 MMU faults report proper fault types */
+    if (env->mmuregs[0] & MMU_NF) {
+        tlb_flush(env, 1);
+    }

-- 
Regards,
Artyom Tarasenko

solaris/sparc under qemu blog: http://tyom.blogspot.com/


Reply via email to