env->ipr[IPR_EXC_ADDR] = env->pc | 1;
excp = env->exception_index;
- env->exception_index = 0;
+ env->exception_index = -1;
env->error_code = 0;
/* XXX: disable interrupts and memory mapping */
if (env->ipr[IPR_PAL_BASE] != -1ULL) {
}
env->halted = 0;
- env->exception_index = 0;
+ env->exception_index = -1;
kvmint.type = type;
kvmint.parm = parm;
{
kvm_s390_interrupt(env, KVM_S390_RESTART, 0);
env->halted = 0;
- env->exception_index = 0;
+ env->exception_index = -1;
qemu_cpu_kick(env);
dprintf("DONE: SIGP cpu restart: %p\n", env);
return 0;
int mmu_idx, int is_softmmu)
{
env->tea = address;
- env->exception_index = 0;
+ env->exception_index = -1;
switch (rw) {
case 0:
env->exception_index = 0x0a0;