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
This commit is contained in:
edgar_igl 2008-05-27 21:10:56 +00:00
parent 9bcd77d6b1
commit 30abcfc7ba
5 changed files with 545 additions and 387 deletions

View file

@ -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;
}