qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH 0/6] ioport related clean ups
@ 2009-07-03  4:42 Isaku Yamahata
  2009-07-03  4:42 ` [Qemu-devel] [PATCH 1/6] split out ioport related stuffs from vl.c into ioport.c Isaku Yamahata
                   ` (5 more replies)
  0 siblings, 6 replies; 12+ messages in thread
From: Isaku Yamahata @ 2009-07-03  4:42 UTC (permalink / raw)
  To: qemu-devel; +Cc: yamahata

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

^ permalink raw reply	[flat|nested] 12+ messages in thread
* [Qemu-devel] [PATCH 0/6] ioport related clean ups. V3
@ 2009-07-10  9:13 Isaku Yamahata
  2009-07-10  9:13 ` [Qemu-devel] [PATCH 4/6] ioport: remove some #ifdef DEBUG_UNUSED_IOPORT Isaku Yamahata
  0 siblings, 1 reply; 12+ messages in thread
From: Isaku Yamahata @ 2009-07-10  9:13 UTC (permalink / raw)
  To: qemu-devel; +Cc: yamahata

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

Changes from v2:
- fixed the definition of DEBUG_UNUSED_IOPORT.
- changed signatures of cpu_{in, out}[bwl]()
  void cpu_out[bwl](CPUState *env, uint16_t addr, uint{8, 16, 32}_t val);
  uint{8, 16, 32}_t cpu_in[bwl](CPUState *env, uint16_t addr);

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 value and uint16_t for ioport
    address.

 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

^ permalink raw reply	[flat|nested] 12+ messages in thread
* [Qemu-devel] [PATCH 0/6] ioport related clean ups
@ 2009-07-02 10:32 Isaku Yamahata
  2009-07-02 10:32 ` [Qemu-devel] [PATCH 4/6] ioport: remove some #ifdef DEBUG_UNUSED_IOPORT Isaku Yamahata
  0 siblings, 1 reply; 12+ messages in thread
From: Isaku Yamahata @ 2009-07-02 10:32 UTC (permalink / raw)
  To: qemu-devel; +Cc: yamahata

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

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 uint32_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           |  261 ++++++++++++++++++++++++++++++++++++++++++++++++++++
 ioport.h           |   55 +++++++++++
 linux-user/main.c  |   33 -------
 monitor.c          |    2 +-
 tests/Makefile     |    4 +-
 tests/qruncom.c    |   33 -------
 vl.c               |  226 ---------------------------------------------
 16 files changed, 399 insertions(+), 398 deletions(-)
 create mode 100644 ioport-user.c
 create mode 100644 ioport.c
 create mode 100644 ioport.h

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

end of thread, other threads:[~2009-07-10  9:15 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-07-03  4:42 [Qemu-devel] [PATCH 0/6] ioport related clean ups Isaku Yamahata
2009-07-03  4:42 ` [Qemu-devel] [PATCH 1/6] split out ioport related stuffs from vl.c into ioport.c Isaku Yamahata
2009-07-03  4:42 ` [Qemu-devel] [PATCH 2/6] use constant IOPORTS_MASK instead of 0xffff Isaku Yamahata
2009-07-03  4:42 ` [Qemu-devel] [PATCH 3/6] ioport: consolidate duplicated logic in register_ioport_{read, write}() Isaku Yamahata
2009-07-03  4:42 ` [Qemu-devel] [PATCH 4/6] ioport: remove some #ifdef DEBUG_UNUSED_IOPORT Isaku Yamahata
2009-07-09 19:10   ` Anthony Liguori
2009-07-09 22:06     ` [Qemu-devel] " Paolo Bonzini
2009-07-09 22:07       ` Anthony Liguori
2009-07-03  4:42 ` [Qemu-devel] [PATCH 5/6] consolidate user cpu_{in, out}[bwl] into ioport-user.c Isaku Yamahata
2009-07-03  4:42 ` [Qemu-devel] [PATCH 6/6] use uint{32, 16, 8}_t for ioport port and value instead of int Isaku Yamahata
  -- strict thread matches above, loose matches on Subject: below --
2009-07-10  9:13 [Qemu-devel] [PATCH 0/6] ioport related clean ups. V3 Isaku Yamahata
2009-07-10  9:13 ` [Qemu-devel] [PATCH 4/6] ioport: remove some #ifdef DEBUG_UNUSED_IOPORT Isaku Yamahata
2009-07-02 10:32 [Qemu-devel] [PATCH 0/6] ioport related clean ups Isaku Yamahata
2009-07-02 10:32 ` [Qemu-devel] [PATCH 4/6] ioport: remove some #ifdef DEBUG_UNUSED_IOPORT Isaku Yamahata

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