aboutsummaryrefslogtreecommitdiff
path: root/target-arm
diff options
context:
space:
mode:
authorbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2004-06-22 10:56:50 +0000
committerbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2004-06-22 10:56:50 +0000
commit7496f5266c568ceef2d4a3a2d0af381cf1810e30 (patch)
tree46be97b74b5f74b6a487c66f84838189597c6a7e /target-arm
parent91d848ebf3bc7fd73fb1a4fc11bdb04225b3f37d (diff)
cpu_single_env init
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@967 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'target-arm')
-rw-r--r--target-arm/translate.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/target-arm/translate.c b/target-arm/translate.c
index 00bdbb98ac..3185286bbc 100644
--- a/target-arm/translate.c
+++ b/target-arm/translate.c
@@ -815,6 +815,7 @@ CPUARMState *cpu_arm_init(void)
if (!env)
return NULL;
memset(env, 0, sizeof(CPUARMState));
+ cpu_single_env = env;
return env;
}