From: Avi Kivity <avi@redhat.com>
To: Julien Grall <julien.grall@citrix.com>
Cc: julian.pidancet@citrix.com, qemu-devel@nongnu.org,
Stefano.Stabellini@eu.citrix.com
Subject: Re: [Qemu-devel] [PATCH V2 2/7] hw/acpi_piix4.c: replace register_ioport*
Date: Thu, 05 Apr 2012 12:50:09 +0300 [thread overview]
Message-ID: <4F7D6AD1.9040601@redhat.com> (raw)
In-Reply-To: <bba19b27c9f06b384aac6a270df980c51f7ed608.1333561077.git.julien.grall@citrix.com>
On 04/04/2012 09:21 PM, Julien Grall wrote:
> This patch replaces all register_ioport* with portio_*. It permits to
> use the new Memory stuff like listener.
>
>
>
> +static const MemoryRegionPortio piix4_portio_list[] = {
> + { 0x00, 64, 1, .read = smb_ioport_readb, }, /* s->smb_io_base */
> + { 0x00, 64, 1, .write = smb_ioport_writeb, }, /* s->smb_io_base */
> + PORTIO_END_OF_LIST(),
> +};
> +
> +static const MemoryRegionPortio acpi_portio_list[] = {
> + { 0x00, 4, 4, .write = acpi_dbg_writel, }, /* ACPI_DBG_IO_ADDR */
> + PORTIO_END_OF_LIST(),
> +};
Please replace single-port lists with MemoryRegionOps (and MemoryRegions
in the state structure). I think I mentioned this in the first review,
but perhaps only about a single instance, sorry.
--
error compiling committee.c: too many arguments to function
next prev parent reply other threads:[~2012-04-05 9:50 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-04-04 18:21 [Qemu-devel] [PATCH V2 0/7] memory: unify ioport registration Julien Grall
2012-04-04 18:21 ` [Qemu-devel] [PATCH V2 1/7] isa: add isa_address_space_io Julien Grall
2012-04-04 18:21 ` [Qemu-devel] [PATCH V2 2/7] hw/acpi_piix4.c: replace register_ioport* Julien Grall
2012-04-05 9:50 ` Avi Kivity [this message]
2012-04-04 18:21 ` [Qemu-devel] [PATCH V2 3/7] hw/cirrus_vga.c: " Julien Grall
2012-04-04 18:21 ` [Qemu-devel] [PATCH V2 4/7] hw/serial.c: " Julien Grall
2012-04-04 18:21 ` [Qemu-devel] [PATCH V2 5/7] hw/pc.c: " Julien Grall
2012-04-04 18:21 ` [Qemu-devel] [PATCH V2 6/7] hw/dma.c: " Julien Grall
2012-04-04 18:21 ` [Qemu-devel] [PATCH V2 7/7] hw/apm.c: " Julien Grall
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=4F7D6AD1.9040601@redhat.com \
--to=avi@redhat.com \
--cc=Stefano.Stabellini@eu.citrix.com \
--cc=julian.pidancet@citrix.com \
--cc=julien.grall@citrix.com \
--cc=qemu-devel@nongnu.org \
/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.