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. v3
Date: Tue, 7 Jul 2009 15:35:43 +0900

The only changed patch is 16/17 pc.c: split out pci device init from
pc_init1() into pc_pci_device_init(). The other patches remains same.

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 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       |  732 +------------------------------------------------------
 hw/acpi.h       |   85 +++++++
 hw/acpi_piix4.c |  580 +++++++++++++++++++++++++++++++++++++++++++
 hw/pc.c         |  323 ++++++++----------------
 hw/pc.h         |   34 +++-
 hw/pc_apm.c     |   92 +++++++
 hw/pc_apm.h     |   39 +++
 hw/pc_piix.c    |  210 ++++++++++++++++
 hw/pc_smbus.c   |  178 ++++++++++++++
 hw/pc_smbus.h   |   43 ++++
 hw/piix_pci.c   |    8 +-
 12 files changed, 1385 insertions(+), 941 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]