commit | 27103424c40ce71053c07d8a54ef431365fa9b7f | [log] [tgz] |
---|---|---|
author | Andreas Färber <afaerber@suse.de> | Mon Aug 26 08:31:06 2013 +0200 |
committer | Andreas Färber <afaerber@suse.de> | Thu Mar 13 19:20:46 2014 +0100 |
tree | bec190ce2f52c17d5f5963d743f6c64af47c9240 | |
parent | 6f03bef0ffc5cd75ac5ffcca0383c489ae48108c [diff] [blame] |
cpu: Move exception_index field from CPU_COMMON to CPUState Signed-off-by: Andreas Färber <afaerber@suse.de>
diff --git a/target-microblaze/op_helper.c b/target-microblaze/op_helper.c index b70b2ea..318185a 100644 --- a/target-microblaze/op_helper.c +++ b/target-microblaze/op_helper.c
@@ -95,7 +95,9 @@ void helper_raise_exception(CPUMBState *env, uint32_t index) { - env->exception_index = index; + CPUState *cs = CPU(mb_env_get_cpu(env)); + + cs->exception_index = index; cpu_loop_exit(env); }