projects
/
sdk
/
emulator
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
13801f3
)
pxa2xx_pic: Set base address for sysbus device.
author
Andrzej Zaborowski
<andrew.zaborowski@intel.com>
Thu, 3 Mar 2011 02:43:40 +0000
(
03:43
+0100)
committer
Andrzej Zaborowski
<balrog@zabor.org>
Thu, 3 Mar 2011 02:43:40 +0000
(
03:43
+0100)
Thid device's registration was broken since
e1f8c729fa890c67bb4532f22c22ace6fb0e1aaf
, this should fix it.
hw/pxa2xx_pic.c
patch
|
blob
|
history
diff --git
a/hw/pxa2xx_pic.c
b/hw/pxa2xx_pic.c
index 308d052a649d3064291e07911885a6dc73c3d3ae..86c0ee6bbc4245ab8951df153657060d11169bed 100644
(file)
--- a/
hw/pxa2xx_pic.c
+++ b/
hw/pxa2xx_pic.c
@@
-268,6
+268,8
@@
DeviceState *pxa2xx_pic_init(target_phys_addr_t base, CPUState *env)
qdev_init_gpio_in(dev, pxa2xx_pic_set_irq, PXA2XX_PIC_SRCS);
+ sysbus_mmio_map(sysbus_from_qdev(dev), 0, base);
+
/* Enable IC memory-mapped registers access. */
iomemtype = cpu_register_io_memory(pxa2xx_pic_readfn,
pxa2xx_pic_writefn, s, DEVICE_NATIVE_ENDIAN);