All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Hervé Poussineau" <hpoussin@reactos.org>
To: qemu-devel@nongnu.org
Cc: "Hervé Poussineau" <hpoussin@reactos.org>
Subject: [Qemu-devel] [PATCH v2 00/12] ISA bus improvements
Date: Tue, 20 Sep 2011 07:23:58 +0200	[thread overview]
Message-ID: <1316496250-2727-1-git-send-email-hpoussin@reactos.org> (raw)

Following patches aim to change ISA bus to a first-citizen class in Qemu.

They add ISA bus ops, like for scsi and usb buses.

Current ISA bridges (PIIX3, PIIX4, EBUS and VT82C686) are converted
to this new API, and a simple 'isabus-bridge' device is added.

isa_address_space() operation can probably be used to remove the
infamous isa_mem_base variable. However, some work is already done
in this direction on the ML, so I didn't change anything.

Finally, add bus argument to all ISA functions, so architectures
with multiple ISA buses (like some Alpha systems) can be emulated.

Changes since v1:
- add ISA bus argument to all ISA functions
- remove default ISA bus concept as per Jan request

Hervé Poussineau (12):
  isa: rename isa_bus_new to isa_bus_bridge_init
  isa: rework ISA bus internals, and add ISA bus ops structure
  isa: implement isa_address_space() as a method of ISA bus
  audio: give ISA bus to sound cards, instead of PIC
  pc: improve bus implementation of PIIX3 bridge
  fulong2e: move pic initialization + ISA bus creation to south bridge
  sun4u: improve bus implementation of EBus bridge
  malta: improve bus implementation of PIIX4 bridge
  isa: remove unused parameter to isa_bus_bridge_init()
  isa: give bus to isa_create() methods
  isa: give bus to isa_get_irq() and isa_bus_irqs()
  isa: remove limitation of only one ISA bus

 Makefile.objs      |    2 +-
 arch_init.c        |   10 +++---
 arch_init.h        |    2 +-
 hw/adlib.c         |    2 +-
 hw/audiodev.h      |    8 ++--
 hw/cs4231a.c       |    4 +-
 hw/fdc.h           |    4 +-
 hw/gus.c           |    4 +-
 hw/i8254.c         |    2 +-
 hw/ide.h           |   14 +++++---
 hw/ide/isa.c       |    4 +-
 hw/ide/piix.c      |   30 +++++++++++++-----
 hw/ide/via.c       |   18 ++++++++--
 hw/isa-bridge.c    |   77 ++++++++++++++++++++++++++++++++++++++++++++++
 hw/isa-bus.c       |   86 ++++++++++++++++++++-------------------------------
 hw/isa.h           |   34 ++++++++++++++++----
 hw/m48t59.c        |    5 ++-
 hw/mc146818rtc.c   |    4 +-
 hw/mc146818rtc.h   |    2 +-
 hw/mips_fulong2e.c |   25 ++++++---------
 hw/mips_jazz.c     |   11 ++++---
 hw/mips_malta.c    |   26 ++++++++--------
 hw/mips_r4k.c      |   19 ++++++-----
 hw/nvram.h         |    3 +-
 hw/pc.c            |   34 ++++++++++----------
 hw/pc.h            |   38 ++++++++++++-----------
 hw/pc_piix.c       |   27 +++++++++-------
 hw/pcspk.c         |    2 +-
 hw/piix4.c         |   27 ++++++++++++++--
 hw/piix_pci.c      |   38 ++++++++++++++++++++---
 hw/ppc_prep.c      |   18 ++++++-----
 hw/sb16.c          |    4 +-
 hw/sun4u.c         |   40 ++++++++++++++++--------
 hw/vt82c686.c      |   26 ++++++++++++++--
 hw/vt82c686.h      |    2 +-
 qemu-common.h      |    1 +
 36 files changed, 425 insertions(+), 228 deletions(-)
 create mode 100644 hw/isa-bridge.c

-- 
1.7.5.4

             reply	other threads:[~2011-09-20  5:24 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-09-20  5:23 Hervé Poussineau [this message]
2011-09-20  5:23 ` [Qemu-devel] [PATCH v2 01/12] isa: rename isa_bus_new to isa_bus_bridge_init Hervé Poussineau
2011-09-20  5:24 ` [Qemu-devel] [PATCH v2 02/12] isa: rework ISA bus internals, and add ISA bus ops structure Hervé Poussineau
2011-09-20  5:24 ` [Qemu-devel] [PATCH v2 03/12] isa: implement isa_address_space() as a method of ISA bus Hervé Poussineau
2011-09-20  5:24 ` [Qemu-devel] [PATCH v2 04/12] audio: give ISA bus to sound cards, instead of PIC Hervé Poussineau
2011-09-20  5:24 ` [Qemu-devel] [PATCH v2 05/12] pc: improve bus implementation of PIIX3 bridge Hervé Poussineau
2011-09-20  5:24 ` [Qemu-devel] [PATCH v2 06/12] fulong2e: move pic initialization + ISA bus creation to south bridge Hervé Poussineau
2011-09-20  5:24 ` [Qemu-devel] [PATCH v2 07/12] sun4u: improve bus implementation of EBus bridge Hervé Poussineau
2011-09-20  5:24 ` [Qemu-devel] [PATCH v2 08/12] malta: improve bus implementation of PIIX4 bridge Hervé Poussineau
2011-09-20  5:24 ` [Qemu-devel] [PATCH v2 09/12] isa: remove unused parameter to isa_bus_bridge_init() Hervé Poussineau
2011-09-20  5:24 ` [Qemu-devel] [PATCH v2 10/12] isa: give bus to isa_create() methods Hervé Poussineau
2011-09-20  5:24 ` [Qemu-devel] [PATCH v2 11/12] isa: give bus to isa_get_irq() and isa_bus_irqs() Hervé Poussineau
2011-09-23 18:41   ` Anthony Liguori
2011-09-20  5:24 ` [Qemu-devel] [PATCH v2 12/12] isa: remove limitation of only one ISA bus Hervé Poussineau

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=1316496250-2727-1-git-send-email-hpoussin@reactos.org \
    --to=hpoussin@reactos.org \
    --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.