qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH 0/6] ioport related clean ups


From: Isaku Yamahata
Subject: [Qemu-devel] [PATCH 0/6] ioport related clean ups
Date: Fri, 3 Jul 2009 13:42:33 +0900

This patch series cleans up io port emulation
sliming down bloated vl.c a bit and consolidated
ones used for user emulation.

Changes from v1:
- removed unintended stderr.
- use uint{32, 16, 8}_t instead of uint32_t.

Isaku Yamahata (6):
  split out ioport related stuffs from vl.c into ioport.c.
  use constant IOPORTS_MASK instead of 0xffff.
  ioport: consolidate duplicated logic in register_ioport_{read,
    write}().
  ioport: remove some #ifdef DEBUG_UNUSED_IOPORT.
  consolidate user cpu_{in, out}[bwl] into ioport-user.c
  use uint{32, 16, 8}_t for ioport port and value instead of int.

 Makefile.target    |    9 +-
 bsd-user/main.c    |   33 -------
 cpu-all.h          |   12 +--
 darwin-user/main.c |   33 -------
 hw/apb_pci.c       |   12 +-
 hw/hw.h            |    5 +-
 hw/isa.h           |    8 +-
 hw/isa_mmio.c      |   12 +-
 ioport-user.c      |   59 ++++++++++++
 ioport.c           |  259 ++++++++++++++++++++++++++++++++++++++++++++++++++++
 ioport.h           |   55 +++++++++++
 linux-user/main.c  |   33 -------
 monitor.c          |    2 +-
 tests/Makefile     |    4 +-
 tests/qruncom.c    |   33 -------
 vl.c               |  226 ---------------------------------------------
 16 files changed, 397 insertions(+), 398 deletions(-)
 create mode 100644 ioport-user.c
 create mode 100644 ioport.c
 create mode 100644 ioport.h





reply via email to

[Prev in Thread] Current Thread [Next in Thread]