Message ID | 1434510002-6976-3-git-send-email-zhaoshenglong@huawei.com |
---|---|
State | New |
Headers | show |
diff --git a/hw/ppc/ppc440_bamboo.c b/hw/ppc/ppc440_bamboo.c index 778970a..944999d 100644 --- a/hw/ppc/ppc440_bamboo.c +++ b/hw/ppc/ppc440_bamboo.c @@ -203,6 +203,7 @@ static void bamboo_init(MachineState *machine) irqs[PPCUIC_OUTPUT_INT] = ((qemu_irq *)env->irq_inputs)[PPC40x_INPUT_INT]; irqs[PPCUIC_OUTPUT_CINT] = ((qemu_irq *)env->irq_inputs)[PPC40x_INPUT_CINT]; pic = ppcuic_init(env, irqs, 0x0C0, 0, 1); + machine->irqs = pic; /* SDRAM controller */ memset(ram_bases, 0, sizeof(ram_bases));