static void cpu_set_irq(void *opaque, int irq, int level)

{

    CPUState *env = opaque;



    if (level) {

        CPUIRQ_DPRINTF("Raise CPU IRQ %d\n", irq);

        env->halted = 0;

        env->pil_in |= 1 << irq;

        cpu_check_irqs(env);

    } else {

        CPUIRQ_DPRINTF("Lower CPU IRQ %d\n", irq);

        env->pil_in &= ~(1 << irq);

        cpu_check_irqs(env);

    }

}

static void cpu_set_irq(void *opaque, int irq, int level)

{

    CPUState *env = opaque;



    if (level) {

        CPUIRQ_DPRINTF("Raise CPU IRQ %d\n", irq);

        env->halted = 0;

        env->pil_in |= 1 << irq;

        cpu_check_irqs(env);

    } else {

        CPUIRQ_DPRINTF("Lower CPU IRQ %d\n", irq);

        env->pil_in &= ~(1 << irq);

        cpu_check_irqs(env);

    }

}

static void FUNC_0(void *VAR_0, int VAR_1, int VAR_2)

{

    CPUState *env = VAR_0;



    if (VAR_2) {

        CPUIRQ_DPRINTF("Raise CPU IRQ %d\n", VAR_1);

        env->halted = 0;

        env->pil_in |= 1 << VAR_1;

        cpu_check_irqs(env);

    } else {

        CPUIRQ_DPRINTF("Lower CPU IRQ %d\n", VAR_1);

        env->pil_in &= ~(1 << VAR_1);

        cpu_check_irqs(env);

    }

}

static void FUNC_0(void *VAR_0, int VAR_1, int VAR_2)
{ CPUState *env = VAR_0; if (VAR_2) { CPUIRQ_DPRINTF("Raise CPU IRQ %d\n", VAR_1); env->halted = 0; env->pil_in |= 1 << VAR_1; cpu_check_irqs(env); } else { CPUIRQ_DPRINTF("Lower CPU IRQ %d\n", VAR_1); env->pil_in &= ~(1 << VAR_1); cpu_check_irqs(env); } }