sim-card
/
qemu
Archived
10
0
Fork 0

sparc64: clear exception_index with -1 value

Signed-off-by: Igor V. Kovalenko <igor.v.kovalenko@gmail.com>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
This commit is contained in:
Igor V. Kovalenko 2010-01-06 17:35:22 +00:00 committed by Blue Swirl
parent ea3fdd5d8c
commit 821b19fe92
1 changed files with 1 additions and 1 deletions

View File

@ -3468,7 +3468,7 @@ void do_interrupt(CPUState *env)
env->tbr |= ((env->tl > 1) ? 1 << 14 : 0) | (intno << 5);
env->pc = env->tbr;
env->npc = env->pc + 4;
env->exception_index = 0;
env->exception_index = -1;
}
#else
#ifdef DEBUG_PCALL