qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH 0/2] omap_intc: convert to MemoryRegion, qdev


From: Peter Maydell
Subject: [Qemu-devel] [PATCH 0/2] omap_intc: convert to MemoryRegion, qdev
Date: Wed, 31 Aug 2011 16:55:30 +0100

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(-)




reply via email to

[Prev in Thread] Current Thread [Next in Thread]