diff options
author | edgar_igl <edgar_igl@c046a42c-6fe2-441c-8c8c-71466251a162> | 2008-03-14 01:04:24 +0000 |
---|---|---|
committer | edgar_igl <edgar_igl@c046a42c-6fe2-441c-8c8c-71466251a162> | 2008-03-14 01:04:24 +0000 |
commit | e62b5b133b97e07711741e2a4e2bf3e4dbc254f8 (patch) | |
tree | b8ce3c5c96656259bf42a99be2f71b2ba5e461b7 /translate-all.c | |
parent | 1ec6d2ea991a1605b9e0898aa9b6e0a2f56c6881 (diff) | |
download | qemu-e62b5b133b97e07711741e2a4e2bf3e4dbc254f8.zip qemu-e62b5b133b97e07711741e2a4e2bf3e4dbc254f8.tar.gz qemu-e62b5b133b97e07711741e2a4e2bf3e4dbc254f8.tar.bz2 |
* Add a model of the ETRAX interrupt controller.
* Clean up the interrupt handling a bit.
* Connect some NOR flash to the test board.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4055 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'translate-all.c')
-rw-r--r-- | translate-all.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/translate-all.c b/translate-all.c index f100a98..6a273a8 100644 --- a/translate-all.c +++ b/translate-all.c @@ -286,6 +286,8 @@ int cpu_restore_state(TranslationBlock *tb, #elif defined(TARGET_SH4) env->pc = gen_opc_pc[j]; env->flags = gen_opc_hflags[j]; +#elif defined(TARGET_CRIS) + env->pregs[PR_ERP] = gen_opc_pc[j]; #endif #ifdef CONFIG_PROFILER |