diff options
Diffstat (limited to 'target-cris/helper.c')
-rw-r--r-- | target-cris/helper.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/target-cris/helper.c b/target-cris/helper.c index 7770403ace..2aa5a8e7d2 100644 --- a/target-cris/helper.c +++ b/target-cris/helper.c @@ -143,6 +143,9 @@ void do_interrupt(CPUState *env) break; } + /* Fill in the IDX field. */ + env->pregs[PR_EXS] = (ex_vec & 0xff) << 8; + if (env->dslot) { D(fprintf(logfile, "excp isr=%x PC=%x ds=%d SP=%x" " ERP=%x pid=%x ccs=%x cc=%d %x\n", |