mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-29 04:52:22 -06: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:
parent
ea3fdd5d8c
commit
821b19fe92
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue