if (!env)
return NULL;
memset(env, 0, sizeof(CPUARMState));
+ cpu_single_env = env;
return env;
}
modify_ldt(1, &ldt, sizeof(ldt)); /* write ldt entry */
asm volatile ("movl %0, %%fs" : : "r" ((1 << 3) | 7));
- cpu_single_env = env;
}
#endif
+ cpu_single_env = env;
cpu_reset(env);
return env;
}
env->nip = 0xFFFFFFFC;
#endif
env->access_type = ACCESS_INT;
-
+ cpu_single_env = env;
return env;
}
env->wim = 1;
env->regwptr = env->regbase + (env->cwp * 16);
env->user_mode_only = 1;
+ cpu_single_env = env;
return (env);
}