mirror of
https://github.com/izzy2lost/xemu.git
synced 2026-07-06 00:20:22 -07:00
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:
committed by
Blue Swirl
parent
ea3fdd5d8c
commit
821b19fe92
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user