History | View | Annotate | Download (17.2 kB)
hw/omap_intc.c: Avoid crash on access to nonexistent banked registers
Avoid a crash due to null pointer dereference if a guest attemptsto access banked registers for a nonexistent bank. Spotted byCoverity (see bug 887883).
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>...
omap_intc: Use MemoryRegion API
Convert omap_intc to use the MemoryRegion API
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
omap_intc: Qdevify
Convert the omap_intc devices to qdev. This includes addinga 'revision' property which will be needed for omap3.
The bulk of this patch is the replacement of "s->irq[x][y]" with "qdev_get_gpio_in(s->ih[x], y)" now that the interrupt...
Use glib memory allocation and free functions
qemu_malloc/qemu_free no longer exist after this commit.
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Add endianness as io mem parameter
As stated before, devices can be little, big or native endian. Thetarget endianness is not of their concern, so we need to push thingsdown a level.
This patch adds a parameter to cpu_register_io_memory that allows adevice to choose its endianness. For now, all devices simply choose...
hw/omap1.c : separate interrupt controller module
Signed-off-by: cmchao <cmchao@gmail.com>Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>