[Top][All Lists]
[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: |
Thu, 9 Jul 2009 17:13:03 +0900 |
The changes from v2 is to address the comments about two patches.
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.
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 | 323 ++++++++----------------
hw/pc.h | 33 +++-
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 +-
hw/sun4m.c | 13 +-
hw/sun4u.c | 3 +-
sysemu.h | 11 +-
vl.c | 17 ++
16 files changed, 1399 insertions(+), 965 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
- [Qemu-devel] [PATCH 13/17] pc.c: split out memory allocation from pc_init1() into pc_memory_init(), (continued)
- [Qemu-devel] [PATCH 13/17] pc.c: split out memory allocation from pc_init1() into pc_memory_init(), Isaku Yamahata, 2009/07/07
- [Qemu-devel] [PATCH 09/17] pc.c: remove a global variable, RTCState *rtc_state., Isaku Yamahata, 2009/07/07
- [Qemu-devel] [PATCH 14/17] pc.c: split out vga initialization from pc_init1() into pc_vga_init()., Isaku Yamahata, 2009/07/07
- [Qemu-devel] [PATCH 06/17] pc.c: Make smm enable/disable function i440fx independent., Isaku Yamahata, 2009/07/07
- [Qemu-devel] [PATCH 05/17] acpi.c: split acpi.c into the common part and the piix4 part., Isaku Yamahata, 2009/07/07
- [Qemu-devel] [PATCH 08/17] pc.c: remove a global variable, floppy_controller., Isaku Yamahata, 2009/07/07
- [Qemu-devel] [PATCH 12/17] pc.c: split out cpu initialization from pc_init1() into pc_cpus_init()., Isaku Yamahata, 2009/07/07
- [Qemu-devel] [PATCH 10/17] pc.c: introduce a function to allocate cpu irq., Isaku Yamahata, 2009/07/07
- [Qemu-devel] [PATCH 15/17] pc.c: split out basic device init from pc_init1() into pc_basic_device_init(), Isaku Yamahata, 2009/07/07
- [Qemu-devel] [PATCH 16/17] pc.c: split out pci device init from pc_init1() into pc_pci_device_init(), Isaku Yamahata, 2009/07/07
- [Qemu-devel] [PATCH 00/17] split out piix specific part from pc emulator. v3,
Isaku Yamahata <=
- [Qemu-devel] [PATCH 03/17] acpi.c: make qemu_system_powerdown() piix independent., Isaku Yamahata, 2009/07/09
- [Qemu-devel] [PATCH 02/17] acpi.c: split out apm register emulation., Isaku Yamahata, 2009/07/09
- [Qemu-devel] [PATCH 04/17] acpi: add acpi constants from linux header files and use them., Isaku Yamahata, 2009/07/09
- [Qemu-devel] [PATCH 01/17] acpi.c: split out pc smbus routines from acpi.c into pc_smbus.c, Isaku Yamahata, 2009/07/09
- [Qemu-devel] [PATCH 10/17] pc.c: introduce a function to allocate cpu irq., Isaku Yamahata, 2009/07/09
- [Qemu-devel] [PATCH 12/17] pc.c: split out cpu initialization from pc_init1() into pc_cpus_init()., Isaku Yamahata, 2009/07/09
- [Qemu-devel] [PATCH 15/17] pc.c: split out basic device init from pc_init1() into pc_basic_device_init(), Isaku Yamahata, 2009/07/09
- [Qemu-devel] [PATCH 14/17] pc.c: split out vga initialization from pc_init1() into pc_vga_init()., Isaku Yamahata, 2009/07/09
- [Qemu-devel] [PATCH 08/17] pc.c: remove a global variable, floppy_controller., Isaku Yamahata, 2009/07/09
- [Qemu-devel] [PATCH 17/17] pc.c: split out piix specific part from pc.c into pc_piix.c, Isaku Yamahata, 2009/07/09