All of lore.kernel.org
 help / color / mirror / Atom feed
From: Peter Maydell <peter.maydell@linaro.org>
To: qemu-devel@nongnu.org
Cc: "Juha Riihimäki" <juha.riihimaki@nokia.com>,
	"Riku Voipio" <riku.voipio@iki.fi>,
	patches@linaro.org
Subject: [Qemu-devel] [PATCH 0/2] omap_intc: convert to MemoryRegion, qdev
Date: Wed, 31 Aug 2011 16:55:30 +0100	[thread overview]
Message-ID: <1314806132-32389-1-git-send-email-peter.maydell@linaro.org> (raw)

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	other threads:[~2011-08-31 15:55 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-08-31 15:55 Peter Maydell [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1314806132-32389-1-git-send-email-peter.maydell@linaro.org \
    --to=peter.maydell@linaro.org \
    --cc=juha.riihimaki@nokia.com \
    --cc=patches@linaro.org \
    --cc=qemu-devel@nongnu.org \
    --cc=riku.voipio@iki.fi \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.