hpet: Convert to qdev
authorJan Kiszka <jan.kiszka@siemens.com>
Sun, 13 Jun 2010 12:15:38 +0000 (14:15 +0200)
committerBlue Swirl <blauwirbel@gmail.com>
Sun, 13 Jun 2010 12:32:59 +0000 (15:32 +0300)
commitec3b4fd2a39df2ab929d0cd17531b1dc52241655
treeffd68a258bad7715747dc47b5409e6bbc6585683
parent39fc051e647a5cc0c452d03df21b1fb89864ad6a
hpet: Convert to qdev

Register the HPET as a sysbus device and create it that way. As it can
route its IRQs to any ISA IRQ, we need to connect it to all 24 of them.
Once converted to qdev, we can move reset handler and vmstate
registration into its hands as well.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
hw/hpet.c
hw/hpet_emul.h
hw/pc.c