提交 821b19fe 编写于 作者: I Igor V. Kovalenko 提交者: Blue Swirl

sparc64: clear exception_index with -1 value

Signed-off-by: NIgor V. Kovalenko <igor.v.kovalenko@gmail.com>
Signed-off-by: NBlue Swirl <blauwirbel@gmail.com>
上级 ea3fdd5d
......@@ -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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册