Revision e9df014c hw/ppc_prep.c

b/hw/ppc_prep.c
548 548
        cpu_abort(env, "Unable to find PowerPC CPU definition\n");
549 549
    }
550 550
    cpu_ppc_register(env, def);
551
    cpu_ppc_irq_init_cpu(env);
552 551
    /* Set time-base frequency to 100 Mhz */
553 552
    cpu_ppc_tb_init(env, 100UL * 1000UL * 1000UL);
554 553

  
......
599 598
    }
600 599

  
601 600
    isa_mem_base = 0xc0000000;
602
    i8259 = i8259_init(first_cpu->irq[PPC_INTERRUPT_EXT]);
601
    i8259 = i8259_init(first_cpu->irq_inputs[PPC_INPUT_INT]);
603 602
    pci_bus = pci_prep_init(i8259);
604 603
    //    pci_bus = i440fx_init();
605 604
    /* Register 8 MB of ISA IO space (needed for non-contiguous map) */

Also available in: Unified diff