aboutsummaryrefslogtreecommitdiffstats
path: root/target-cris/helper.c
diff options
context:
space:
mode:
authoredgar_igl <edgar_igl@c046a42c-6fe2-441c-8c8c-71466251a162>2008-05-27 21:10:56 +0000
committeredgar_igl <edgar_igl@c046a42c-6fe2-441c-8c8c-71466251a162>2008-05-27 21:10:56 +0000
commit30abcfc7babe4bde680e1a04a1a6d0f1c041cc29 (patch)
tree4ee2139a9bad1d0571a4750f33b5d9381d8babeb /target-cris/helper.c
parent9bcd77d6b1815db0716b56a605806ba2d2101656 (diff)
CRIS: Restructure the translator to allow for better code generation.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4594 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'target-cris/helper.c')
-rw-r--r--target-cris/helper.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/target-cris/helper.c b/target-cris/helper.c
index 5548b7607..c16a58a3b 100644
--- a/target-cris/helper.c
+++ b/target-cris/helper.c
@@ -42,9 +42,8 @@ int cpu_cris_handle_mmu_fault(CPUState * env, target_ulong address, int rw,
int mmu_idx, int is_softmmu)
{
env->exception_index = 0xaa;
- env->debug1 = address;
+ env->pregs[PR_EDA] = address;
cpu_dump_state(env, stderr, fprintf, 0);
- env->pregs[PR_ERP] = env->pc;
return 1;
}