Revision f9466733 target-s390x/helper.c
b/target-s390x/helper.c | ||
---|---|---|
737 | 737 |
|
738 | 738 |
void do_interrupt(CPUS390XState *env) |
739 | 739 |
{ |
740 |
S390CPU *cpu = s390_env_get_cpu(env); |
|
741 |
|
|
740 | 742 |
qemu_log_mask(CPU_LOG_INT, "%s: %d at pc=%" PRIx64 "\n", |
741 | 743 |
__func__, env->exception_index, env->psw.addr); |
742 | 744 |
|
... | ... | |
755 | 757 |
/* code is already in env */ |
756 | 758 |
env->exception_index = EXCP_EXT; |
757 | 759 |
} else if (env->pending_int & INTERRUPT_TOD) { |
758 |
cpu_inject_ext(env, 0x1004, 0, 0);
|
|
760 |
cpu_inject_ext(cpu, 0x1004, 0, 0);
|
|
759 | 761 |
env->exception_index = EXCP_EXT; |
760 | 762 |
env->pending_int &= ~INTERRUPT_EXT; |
761 | 763 |
env->pending_int &= ~INTERRUPT_TOD; |
762 | 764 |
} else if (env->pending_int & INTERRUPT_CPUTIMER) { |
763 |
cpu_inject_ext(env, 0x1005, 0, 0);
|
|
765 |
cpu_inject_ext(cpu, 0x1005, 0, 0);
|
|
764 | 766 |
env->exception_index = EXCP_EXT; |
765 | 767 |
env->pending_int &= ~INTERRUPT_EXT; |
766 | 768 |
env->pending_int &= ~INTERRUPT_TOD; |
Also available in: Unified diff