X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;ds=sidebyside;f=target-unicore32%2Fhelper.c;fp=target-unicore32%2Fhelper.c;h=61eb2c374a02747c1e93bb1dae012b7f9f034c79;hb=97a8ea5a3ae7938cb54fd4dc19d3a413024bc6c0;hp=7eeb9bc633842055cd89ba8960b7aefd44eaf258;hpb=c3affe5670e5d0df8a7e06f1d6e80853633146df;p=qemu.git diff --git a/target-unicore32/helper.c b/target-unicore32/helper.c index 7eeb9bc63..61eb2c374 100644 --- a/target-unicore32/helper.c +++ b/target-unicore32/helper.c @@ -242,8 +242,11 @@ void switch_mode(CPUUniCore32State *env, int mode) } } -void do_interrupt(CPUUniCore32State *env) +void uc32_cpu_do_interrupt(CPUState *cs) { + UniCore32CPU *cpu = UNICORE32_CPU(cs); + CPUUniCore32State *env = &cpu->env; + cpu_abort(env, "NO interrupt in user mode\n"); }