summaryrefslogtreecommitdiff
path: root/hw/syborg_interrupt.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/syborg_interrupt.c')
-rw-r--r--hw/syborg_interrupt.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/hw/syborg_interrupt.c b/hw/syborg_interrupt.c
index 30140fba4..5217983f6 100644
--- a/hw/syborg_interrupt.c
+++ b/hw/syborg_interrupt.c
@@ -210,7 +210,8 @@ static int syborg_int_init(SysBusDevice *dev)
sysbus_init_irq(dev, &s->parent_irq);
qdev_init_gpio_in(&dev->qdev, syborg_int_set_irq, s->num_irqs);
iomemtype = cpu_register_io_memory(syborg_int_readfn,
- syborg_int_writefn, s);
+ syborg_int_writefn, s,
+ DEVICE_NATIVE_ENDIAN);
sysbus_init_mmio(dev, 0x1000, iomemtype);
s->flags = qemu_mallocz(s->num_irqs * sizeof(syborg_int_flags));