From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:49874) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QtMo6-0003xt-OD for qemu-devel@nongnu.org; Tue, 16 Aug 2011 12:48:03 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QtMo4-00024b-1G for qemu-devel@nongnu.org; Tue, 16 Aug 2011 12:48:02 -0400 Received: from mail-vx0-f173.google.com ([209.85.220.173]:60303) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QtMo3-00024O-OY for qemu-devel@nongnu.org; Tue, 16 Aug 2011 12:47:59 -0400 Received: by vxi32 with SMTP id 32so93846vxi.4 for ; Tue, 16 Aug 2011 09:47:58 -0700 (PDT) Sender: Richard Henderson From: Richard Henderson Date: Tue, 16 Aug 2011 09:45:31 -0700 Message-Id: <1313513145-5348-1-git-send-email-rth@twiddle.net> Subject: [Qemu-devel] [PATCH 00/14] Convert ISA I/O ports to Memory API List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: avi@redhat.com I.e. all users of isa_init_ioport_range and isa_init_ioport. This implements a suggestion from Avi about having an interface that makes it easy to register multiple MemoryRegions from a single data structure. I chose a concatenated list of MemoryRegionPortio arrays, since it's easy to write and easy to drop the pieces into MemoryRegionOps. r~ Richard Henderson (14): isa: Tidy support code for isabus_get_fw_dev_path. isa: Add isa_register_old_portio_list(). fdc: Convert to isa_register_old_portio_list. gus: Convert to isa_register_old_portio_list. m48t59: Convert to isa_register_ioport. rtc: Convert to isa_register_ioport. ne2000: Convert to isa_register_ioport. parallel: Convert to isa_register_old_portio_list. sb16: Convert to isa_register_old_portio_list. vga: Convert to isa_register_old_portio_list. pc: Convert port92 to isa_register_ioport. vmport: Convert to isa_register_ioport. ide: Convert to isa_register_old_portio_list. isa: Remove isa_init_ioport_range and isa_init_ioport. hw/fdc.c | 36 ++++----------------------- hw/gus.c | 43 +++++++++++++++++--------------- hw/ide/core.c | 33 +++++++++++++++++-------- hw/ide/internal.h | 3 +- hw/ide/isa.c | 4 +-- hw/ide/piix.c | 7 +++-- hw/ide/via.c | 7 +++-- hw/isa-bus.c | 69 ++++++++++++++++++++++++++++++++-------------------- hw/isa.h | 40 +++++++++++++++++++++++++----- hw/m48t59.c | 15 +++++++++-- hw/mc146818rtc.c | 15 +++++++++-- hw/ne2000-isa.c | 5 +--- hw/parallel.c | 50 +++++++++++++++++++++++-------------- hw/pc.c | 16 ++++++++++-- hw/sb16.c | 35 ++++++++++++-------------- hw/vga-isa.c | 10 ------- hw/vga.c | 61 ++++++++++++++++++++++++++-------------------- hw/vmport.c | 16 ++++++++++-- 18 files changed, 269 insertions(+), 196 deletions(-) -- 1.7.6