]> git.proxmox.com Git - qemu.git/commit - hw/mips_r4k.c
i8254: Pass alternative IRQ output object on initialization
authorJan Kiszka <jan.kiszka@siemens.com>
Wed, 1 Feb 2012 19:31:40 +0000 (20:31 +0100)
committerAnthony Liguori <aliguori@us.ibm.com>
Fri, 17 Feb 2012 15:58:22 +0000 (09:58 -0600)
commit319ba9f52737fc79de5c2c6abd059933398b72d5
tree4a75cc9962156d27d4b17955b4cbac19bb211ab1
parentb1277b03d46b2aeb22f0829aaa1c0f5fe6dd38fe
i8254: Pass alternative IRQ output object on initialization

HPET legacy emulation will require control over the PIT IRQ output. To
enable this, add support for an alternative IRQ output object to the PIT
factory function. If the isa_irq number is < 0, this object will be
used.

This also removes the IRQ number property from the PIT class as we now
use a generic GPIO output pin that is connected by the factory function.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
hw/alpha_dp264.c
hw/i82378.c
hw/i8254.c
hw/i8254.h
hw/mips_fulong2e.c
hw/mips_jazz.c
hw/mips_malta.c
hw/mips_r4k.c
hw/pc.c