qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH V2 0/7] memory: unify ioport registration
@ 2012-04-04 18:21 Julien Grall
  2012-04-04 18:21 ` [Qemu-devel] [PATCH V2 1/7] isa: add isa_address_space_io Julien Grall
                   ` (6 more replies)
  0 siblings, 7 replies; 9+ messages in thread
From: Julien Grall @ 2012-04-04 18:21 UTC (permalink / raw)
  To: qemu-devel; +Cc: Julien Grall, julian.pidancet, avi, Stefano.Stabellini

This is the second version of patch serie (the previous patch was not split)
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

I may not to be aware about some new modifications (hw/dma.c and hw/apm.c),
any advice on its will be welcome.

Julien Grall (7):
  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*

 hw/acpi_piix4.c |   78 ++++++++++++++++++++++++++++++++++++++++++++++--------
 hw/apm.c        |   24 +++++++++++++---
 hw/apm.h        |    5 +++-
 hw/cirrus_vga.c |   38 +++++++++++++++-----------
 hw/dma.c        |   55 ++++++++++++++++++++++++++------------
 hw/isa-bus.c    |    5 +++
 hw/isa.h        |    1 +
 hw/pc.c         |   37 ++++++++++++++++----------
 hw/pc.h         |    2 +-
 hw/serial.c     |    8 +++--
 hw/vt82c686.c   |    2 +-
 11 files changed, 184 insertions(+), 71 deletions(-)

-- 
Julien Grall

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2012-04-05  9:50 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
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

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