X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=target-openrisc%2Finterrupt.c;h=16ef4b3e79f836e3e65a05a953387b4318461707;hb=97a8ea5a3ae7938cb54fd4dc19d3a413024bc6c0;hp=7f2c025da24c5514eda539dc7b796f915f8bd3ca;hpb=c3affe5670e5d0df8a7e06f1d6e80853633146df;p=qemu.git diff --git a/target-openrisc/interrupt.c b/target-openrisc/interrupt.c index 7f2c025da..16ef4b3e7 100644 --- a/target-openrisc/interrupt.c +++ b/target-openrisc/interrupt.c @@ -25,8 +25,10 @@ #include "hw/loader.h" #endif -void do_interrupt(CPUOpenRISCState *env) +void openrisc_cpu_do_interrupt(CPUState *cs) { + OpenRISCCPU *cpu = OPENRISC_CPU(cs); + CPUOpenRISCState *env = &cpu->env; #ifndef CONFIG_USER_ONLY if (env->flags & D_FLAG) { /* Delay Slot insn */ env->flags &= ~D_FLAG;