All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH 0/2] omap_intc: convert to MemoryRegion, qdev
@ 2011-08-31 15:55 Peter Maydell
  2011-08-31 15:55 ` [Qemu-devel] [PATCH 1/2] omap_intc: Use MemoryRegion API Peter Maydell
                   ` (2 more replies)
  0 siblings, 3 replies; 13+ messages in thread
From: Peter Maydell @ 2011-08-31 15:55 UTC (permalink / raw)
  To: qemu-devel; +Cc: Juha Riihimäki, Riku Voipio, patches

This patchset converts the omap_intc device to MemoryRegion and qdev.

The MemoryRegion conversion is fairly straightforward; the slight
ugliness of using get_system_memory() is just so it can be pulled
out as a separate patch for review and is dropped in the qdevification
patch.

The bulk of the qdevifying patch is a fairly mechanical replacement
of direct access to an irq[] array with qdev_get_gpio_in().

My actual purpose in doing all this was to be able to specify the
revision register of the interrupt controller, since it's different
on OMAP3...

Peter Maydell (2):
  omap_intc: Use MemoryRegion API
  omap_intc: Qdevify

 hw/nseries.c   |    4 +-
 hw/omap.h      |   19 +------
 hw/omap1.c     |  127 ++++++++++++++++++++++++++---------------
 hw/omap2.c     |   92 +++++++++++++++++------------
 hw/omap_intc.c |  175 +++++++++++++++++++++++++++++++------------------------
 5 files changed, 238 insertions(+), 179 deletions(-)

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2011-09-17  0:34 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-08-31 15:55 [Qemu-devel] [PATCH 0/2] omap_intc: convert to MemoryRegion, qdev Peter Maydell
2011-08-31 15:55 ` [Qemu-devel] [PATCH 1/2] omap_intc: Use MemoryRegion API Peter Maydell
2011-09-17  0:34   ` andrzej zaborowski
2011-08-31 15:55 ` [Qemu-devel] [PATCH 2/2] omap_intc: Qdevify Peter Maydell
2011-08-31 16:07   ` Peter Maydell
2011-09-01  8:50   ` Avi Kivity
2011-09-01  9:26     ` Peter Maydell
2011-09-09 16:48 ` [Qemu-devel] [PATCH 0/2] omap_intc: convert to MemoryRegion, qdev Peter Maydell
2011-09-16 13:05   ` Anthony Liguori
2011-09-16 14:32     ` Peter Maydell
2011-09-17  0:09       ` andrzej zaborowski
2011-09-16 23:19     ` Edgar E. Iglesias
2011-09-17  0:20       ` Anthony Liguori

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.