From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:34526) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TmnXG-0007fE-Sz for qemu-devel@nongnu.org; Sun, 23 Dec 2012 10:32:25 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TmnXB-0007Qg-PZ for qemu-devel@nongnu.org; Sun, 23 Dec 2012 10:32:18 -0500 Received: from smtp1-g21.free.fr ([2a01:e0c:1:1599::10]:42353) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TmnXB-0007PB-6K for qemu-devel@nongnu.org; Sun, 23 Dec 2012 10:32:13 -0500 From: =?UTF-8?q?Herv=C3=A9=20Poussineau?= Date: Sun, 23 Dec 2012 16:32:40 +0100 Message-Id: <1356276769-7357-1-git-send-email-hpoussin@reactos.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: [Qemu-devel] [RFC 0/8] Remove old_portio usage List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: =?UTF-8?q?Andreas=20F=C3=A4rber?= , =?UTF-8?q?Herv=C3=A9=20Poussineau?= , Gerd Hoffmann These proposed patches aim at removing the .old_portio member of MemoryRegionOps structure, and replacing their usage by .read/.write handlers. Patches 2 to 6 are already ready to be committed. However, patches 7 and 8 depend of patch 1, where a better solution needs to be found. That way, faked I/O address space can be removed from architectures which don't have it (MIPS, PowerPC...), and commits like a178274efabcbbc5d44805b51def874e47051325 ("PPC: pseries: Remove hack for PIO window") can be reapplied. Herv=C3=A9 Poussineau (8): pc: disable bochs bios debug ports (do not apply!) xen_platform: do not use old_portio-style callbacks uhci: do not use old_portio-style callbacks acpi-piix4: do not use old_portio-style callbacks vga/qxl: do not use portio_list_init/portio_list_add isa: use memory regions instead of portio_list_* functions ioport: remove now useless portio_list_* functions memory: remove old_portio-style callbacks support hw/acpi_piix4.c | 91 +++++++++++++++++--------------------- hw/isa-bus.c | 127 +++++++++++++++++++++++++++++++++++++++++++++++= ++++-- hw/isa.h | 2 +- hw/pc.c | 6 +++ hw/qxl.c | 4 +- hw/usb/hcd-uhci.c | 43 +++++++++++++----- hw/vga.c | 8 +--- hw/xen_platform.c | 21 +++++---- ioport.c | 121 -----------------------------------------------= --- ioport.h | 19 -------- memory.c | 44 ------------------- memory.h | 4 -- 12 files changed, 217 insertions(+), 273 deletions(-) --=20 1.7.10.4