diff options
author | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2004-06-22 10:56:50 +0000 |
---|---|---|
committer | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2004-06-22 10:56:50 +0000 |
commit | 7496f5266c568ceef2d4a3a2d0af381cf1810e30 (patch) | |
tree | 46be97b74b5f74b6a487c66f84838189597c6a7e /target-sparc | |
parent | 91d848ebf3bc7fd73fb1a4fc11bdb04225b3f37d (diff) | |
download | hqemu-7496f5266c568ceef2d4a3a2d0af381cf1810e30.zip hqemu-7496f5266c568ceef2d4a3a2d0af381cf1810e30.tar.gz |
cpu_single_env init
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@967 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'target-sparc')
-rw-r--r-- | target-sparc/translate.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/target-sparc/translate.c b/target-sparc/translate.c index bcc810b..fe37c07 100644 --- a/target-sparc/translate.c +++ b/target-sparc/translate.c @@ -840,6 +840,7 @@ CPUSPARCState *cpu_sparc_init(void) env->wim = 1; env->regwptr = env->regbase + (env->cwp * 16); env->user_mode_only = 1; + cpu_single_env = env; return (env); } |