Revision 2507c12a hw/pl061.c
b/hw/pl061.c | ||
---|---|---|
297 | 297 |
pl061_state *s = FROM_SYSBUS(pl061_state, dev); |
298 | 298 |
|
299 | 299 |
iomemtype = cpu_register_io_memory(pl061_readfn, |
300 |
pl061_writefn, s); |
|
300 |
pl061_writefn, s, |
|
301 |
DEVICE_NATIVE_ENDIAN); |
|
301 | 302 |
sysbus_init_mmio(dev, 0x1000, iomemtype); |
302 | 303 |
sysbus_init_irq(dev, &s->irq); |
303 | 304 |
qdev_init_gpio_in(&dev->qdev, pl061_set_irq, 8); |
Also available in: Unified diff