summaryrefslogtreecommitdiffstats
path: root/hw/alpha_dp264.c
diff options
context:
space:
mode:
authorJan Kiszka <jan.kiszka@siemens.com>2012-02-01 20:31:40 +0100
committerAnthony Liguori <aliguori@us.ibm.com>2012-02-17 09:58:22 -0600
commit319ba9f52737fc79de5c2c6abd059933398b72d5 (patch)
tree4a75cc9962156d27d4b17955b4cbac19bb211ab1 /hw/alpha_dp264.c
parentb1277b03d46b2aeb22f0829aaa1c0f5fe6dd38fe (diff)
downloadhqemu-319ba9f52737fc79de5c2c6abd059933398b72d5.zip
hqemu-319ba9f52737fc79de5c2c6abd059933398b72d5.tar.gz
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>
Diffstat (limited to 'hw/alpha_dp264.c')
-rw-r--r--hw/alpha_dp264.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/alpha_dp264.c b/hw/alpha_dp264.c
index 4c0efd3..ea0fd95 100644
--- a/hw/alpha_dp264.c
+++ b/hw/alpha_dp264.c
@@ -73,7 +73,7 @@ static void clipper_init(ram_addr_t ram_size,
clipper_pci_map_irq);
rtc_init(isa_bus, 1980, rtc_irq);
- pit_init(isa_bus, 0x40, 0);
+ pit_init(isa_bus, 0x40, 0, NULL);
isa_create_simple(isa_bus, "i8042");
/* VGA setup. Don't bother loading the bios. */
OpenPOWER on IntegriCloud