]> git.proxmox.com Git - mirror_qemu.git/commit
hpet: Move static timer field initialization
authorJan Kiszka <jan.kiszka@siemens.com>
Sun, 13 Jun 2010 12:15:37 +0000 (14:15 +0200)
committerBlue Swirl <blauwirbel@gmail.com>
Sun, 13 Jun 2010 12:32:59 +0000 (15:32 +0300)
commit7afbecc9efa64a88ab6194c2cf1d6feabd03d119
tree383a5803f97cd298599c07683380e4e2621df8d2
parentad0a655161a487007742b65d0b1b55aea8051cea
hpet: Move static timer field initialization

Properly initialize HPETTimer::tn and HPETTimer::state once during
hpet_init instead of (re-)writing them on every reset.

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