[Top][All Lists]

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

Re: [Qemu-devel] [PATCH 2/2] omap_intc: Qdevify

From: Avi Kivity
Subject: Re: [Qemu-devel] [PATCH 2/2] omap_intc: Qdevify
Date: Thu, 01 Sep 2011 11:50:12 +0300
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:6.0) Gecko/20110816 Thunderbird/6.0

On 08/31/2011 06:55 PM, Peter Maydell wrote:
Convert the omap_intc devices to qdev. This includes adding
a '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
controller exposes its input lines as qdev gpio inputs.

The devices are named "omap-intc" and "omap2-intc", following
the filename and the OMAP2/3 hardware names, although some
internal functions are still named "omap_inth_*".

Signed-off-by: Peter Maydell<address@hidden>
  hw/nseries.c   |    4 +-
  hw/omap.h      |   19 +--------
  hw/omap1.c     |  127 +++++++++++++++++++++++++++++++++++--------------------
  hw/omap2.c     |   92 ++++++++++++++++++++++++-----------------
  hw/omap_intc.c |  125 +++++++++++++++++++++++++++++++++---------------------
  5 files changed, 215 insertions(+), 152 deletions(-)

This is likely to conflict with my omap1 patches in memory/queue.

error compiling committee.c: too many arguments to function

reply via email to

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