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:
parent
ea3fdd5d8c
commit
821b19fe92
|
@ -3468,7 +3468,7 @@ void do_interrupt(CPUState *env)
|
||||||
env->tbr |= ((env->tl > 1) ? 1 << 14 : 0) | (intno << 5);
|
env->tbr |= ((env->tl > 1) ? 1 << 14 : 0) | (intno << 5);
|
||||||
env->pc = env->tbr;
|
env->pc = env->tbr;
|
||||||
env->npc = env->pc + 4;
|
env->npc = env->pc + 4;
|
||||||
env->exception_index = 0;
|
env->exception_index = -1;
|
||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
#ifdef DEBUG_PCALL
|
#ifdef DEBUG_PCALL
|
||||||
|
|
Loading…
Reference in a new issue