aboutsummaryrefslogtreecommitdiff
path: root/hw
diff options
context:
space:
mode:
Diffstat (limited to 'hw')
-rw-r--r--hw/ppc405_uc.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/hw/ppc405_uc.c b/hw/ppc405_uc.c
index aa5963aee8..b6fc491ae0 100644
--- a/hw/ppc405_uc.c
+++ b/hw/ppc405_uc.c
@@ -3051,9 +3051,9 @@ CPUState *ppc405cr_init (target_phys_addr_t ram_bases[4],
/* Universal interrupt controller */
irqs = qemu_mallocz(sizeof(qemu_irq) * PPCUIC_OUTPUT_NB);
irqs[PPCUIC_OUTPUT_INT] =
- ((qemu_irq *)env->irq_inputs)[PPC405_INPUT_INT];
+ ((qemu_irq *)env->irq_inputs)[PPC40x_INPUT_INT];
irqs[PPCUIC_OUTPUT_CINT] =
- ((qemu_irq *)env->irq_inputs)[PPC405_INPUT_CINT];
+ ((qemu_irq *)env->irq_inputs)[PPC40x_INPUT_CINT];
pic = ppcuic_init(env, irqs, 0x0C0, 0, 1);
*picp = pic;
/* SDRAM controller */
@@ -3404,9 +3404,9 @@ CPUState *ppc405ep_init (target_phys_addr_t ram_bases[2],
/* Universal interrupt controller */
irqs = qemu_mallocz(sizeof(qemu_irq) * PPCUIC_OUTPUT_NB);
irqs[PPCUIC_OUTPUT_INT] =
- ((qemu_irq *)env->irq_inputs)[PPC405_INPUT_INT];
+ ((qemu_irq *)env->irq_inputs)[PPC40x_INPUT_INT];
irqs[PPCUIC_OUTPUT_CINT] =
- ((qemu_irq *)env->irq_inputs)[PPC405_INPUT_CINT];
+ ((qemu_irq *)env->irq_inputs)[PPC40x_INPUT_CINT];
pic = ppcuic_init(env, irqs, 0x0C0, 0, 1);
*picp = pic;
/* SDRAM controller */