qemu-devel
[Top][All Lists]
Advanced

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

[Qemu-devel] [PATCH 00/17] split out piix specific part from pc emulator


From: Isaku Yamahata
Subject: [Qemu-devel] [PATCH 00/17] split out piix specific part from pc emulator. V6
Date: Fri, 17 Jul 2009 16:22:48 +0900

The change from the previous post is rebasing to 0.11.0-rc0
Anthony, any chance to merge? Can you please give me comments?

This patch series is for spliting out piix specific part from pc emulator
to make it easier to implement other pc chipset emulator.
Although my motivation is for 128+ PCI and another chipset support,
I think this patch series itself is good for readability and maintenance.

thanks,

Changes from v5:
- rebased 0.11.0-rc0
- changed qemu_system_powerdown_register() to call
  qemu_system_shutdown_request() if qemu_system_shutdown() is called before
  registering.

Changes from v4:
- fix version number.
- rebased anthony's staging tree whose latest change set is
  62969268f876c547ee64da6d60e0f363e0f1df75

Changes from v3:
- move qemu_system_powerdown() in vl.c and more generic
  following the comment by Marcelo Tosatti <address@hidden>
  acpi.c: make qemu_system_powerdown() piix independent.
- define cmos_set_s3_resume_init() and cmos_set_s3_resume() in pc.c
  even if TARGET_I386 isn't defined following th ecommit by 
  Paolo Bonzini <address@hidden>
  pc.c: remove a global variable, RTCState *rtc_state.
- minor compilation fixes

Changes from v2:
- clean up pc_pci_device_init() not to use unnecessary braces.

Changes from v1:
- make patches full bisectable
- typo s/allocte/allocate/
- some minor fixes
- dropped a merged patch


Isaku Yamahata (17):
  acpi.c: split out pc smbus routines from acpi.c into pc_smbus.c
  acpi.c: split out apm register emulation.
  acpi.c: make qemu_system_powerdown() piix independent.
  acpi: add acpi constants from linux header files and use them.
  acpi.c: split acpi.c into the common part and the piix4 part.
  pc.c: Make smm enable/disable function i440fx independent.
  pc.c: remove unnecessary global variables, pit and ioapic.
  pc.c: remove a global variable, floppy_controller.
  pc.c: remove a global variable, RTCState *rtc_state.
  pc.c: introduce a function to allocate cpu irq.
  pc.c: make pc_init1() not refer ferr_irq directly.
  pc.c: split out cpu initialization from pc_init1() into
    pc_cpus_init().
  pc.c: split out memory allocation from pc_init1() into
    pc_memory_init()
  pc.c: split out vga initialization from pc_init1() into
    pc_vga_init().
  pc.c: split out basic device init from pc_init1() into
    pc_basic_device_init()
  pc.c: split out pci device init from pc_init1() into
    pc_pci_device_init()
  pc.c: split out piix specific part from pc.c into pc_piix.c

 Makefile.target |    2 +
 hw/acpi.c       |  736 +------------------------------------------------------
 hw/acpi.h       |   78 ++++++
 hw/acpi_piix4.c |  578 +++++++++++++++++++++++++++++++++++++++++++
 hw/pc.c         |  401 +++++++++---------------------
 hw/pc.h         |   36 +++-
 hw/pc_apm.c     |   92 +++++++
 hw/pc_apm.h     |   39 +++
 hw/pc_piix.c    |  288 ++++++++++++++++++++++
 hw/pc_smbus.c   |  178 ++++++++++++++
 hw/pc_smbus.h   |   43 ++++
 hw/piix_pci.c   |    7 +-
 hw/sun4m.c      |   13 +-
 hw/sun4u.c      |    3 +-
 sysemu.h        |   11 +-
 vl.c            |   22 ++
 16 files changed, 1492 insertions(+), 1035 deletions(-)
 create mode 100644 hw/acpi.h
 create mode 100644 hw/acpi_piix4.c
 create mode 100644 hw/pc_apm.c
 create mode 100644 hw/pc_apm.h
 create mode 100644 hw/pc_piix.c
 create mode 100644 hw/pc_smbus.c
 create mode 100644 hw/pc_smbus.h





reply via email to

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