]> git.proxmox.com Git - mirror_qemu.git/commit
hpet: Drop static state
authorJan Kiszka <jan.kiszka@siemens.com>
Sun, 13 Jun 2010 12:15:41 +0000 (14:15 +0200)
committerBlue Swirl <blauwirbel@gmail.com>
Sun, 13 Jun 2010 12:33:00 +0000 (15:33 +0300)
commitb7eaa6c77c67c2f2e821a51c6b2758aa482b2d71
treeca05ae17900e9d1abb609c7a4802314fd78e3068
parent7d932dfdc5ebc07a7bfed9c01e587c9c7e9b6e26
hpet: Drop static state

Instead of keeping a static reference around, pass the state to
hpet_enabled and hpet_get_ticks. All callers now have it at hand. Will
once allow to instantiate the HPET more than a single time.

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