]> git.proxmox.com Git - mirror_qemu.git/commit - hw/i386/pc.c
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)
commit822557eb8ea4694d1a91b68cbf6152f5277f5599
treeffd68a258bad7715747dc47b5409e6bbc6585683
parent7afbecc9efa64a88ab6194c2cf1d6feabd03d119
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