qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Julien Grall <julien.grall@citrix.com>
To: qemu-devel@nongnu.org
Cc: Julien Grall <julien.grall@citrix.com>,
	julian.pidancet@citrix.com, avi@redhat.com,
	Stefano.Stabellini@eu.citrix.com
Subject: [Qemu-devel] [PATCH V3 0/8] memory: unify ioport registration
Date: Thu, 5 Apr 2012 16:33:48 +0100	[thread overview]
Message-ID: <cover.1333639502.git.julien.grall@citrix.com> (raw)

This is the third version of patch series about ioport registration.

For the moment some part of QEMU use register_ioport* functions to register
ioport. These functions don't permit the logging of range with Memory Listener.

Modifications between V1 and V2:
   - Remove the use of get_system_io. Instead of use isa and pci IO
   address space.
   - Avoid allocation of PortioList. Use the different device structure.
   - Still remove register_ioport* (hw/dma.c, hw/apm.c, hw/acpi_piix4.c).
   - Use MemoryRegion when we have only a range of ioport.
   - For some functions, add IO address space as argument.
   - Add isa_address_space_io function

Modifications between V2 and V2:
   - Remove some register_ioport_* on hw/vt82c686.c.
   - Split smb ioport part in new patch.
   - Still replace MemoryRegion when we have only a range of ioport.
   - Fix read/write ioports prototype to be compliant with memory callback.

Julien Grall (8):
  isa: add isa_address_space_io
  hw/acpi_piix4.c: replace register_ioport*
  hw/cirrus_vga.c: replace register_ioport*
  hw/serial.c: replace register_ioport*
  hw/pc.c: replace register_ioport*
  hw/dma.c: replace register_ioport*
  hw/apm.c: replace register_ioport*
  smb: replace_register_ioport*

 hw/acpi_piix4.c   |  130 ++++++++++++++++++++++++++++++++++++++++++++---------
 hw/apm.c          |   24 ++++++++--
 hw/apm.h          |    5 ++-
 hw/cirrus_vga.c   |   38 +++++++++-------
 hw/dma.c          |   84 ++++++++++++++++++++++++----------
 hw/isa-bus.c      |    5 ++
 hw/isa.h          |    1 +
 hw/mips_mipssim.c |    3 +-
 hw/pc.c           |   58 +++++++++++++++++------
 hw/pc.h           |    2 +-
 hw/pm_smbus.c     |    7 ++-
 hw/pm_smbus.h     |    6 ++-
 hw/serial.c       |    8 ++-
 hw/vt82c686.c     |   20 +++++++-
 14 files changed, 295 insertions(+), 96 deletions(-)

-- 
Julien Grall

             reply	other threads:[~2012-04-05 15:35 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-04-05 15:33 Julien Grall [this message]
2012-04-05 15:33 ` [Qemu-devel] [PATCH V3 4/8] hw/serial.c: replace register_ioport* Julien Grall
2012-04-05 15:33 ` [Qemu-devel] [PATCH V3 5/8] hw/pc.c: " Julien Grall
2012-04-05 15:33 ` [Qemu-devel] [PATCH V3 6/8] hw/dma.c: " Julien Grall
2012-04-05 15:33 ` [Qemu-devel] [PATCH V3 7/8] hw/apm.c: " Julien Grall
2012-04-05 15:33 ` [Qemu-devel] [PATCH V3 8/8] smb: replace_register_ioport* 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=cover.1333639502.git.julien.grall@citrix.com \
    --to=julien.grall@citrix.com \
    --cc=Stefano.Stabellini@eu.citrix.com \
    --cc=avi@redhat.com \
    --cc=julian.pidancet@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).