]> git.proxmox.com Git - qemu.git/commit
acpi, acpi_piix, vt82c686: factor out PM_TMR logic
authorIsaku Yamahata <yamahata@valinux.co.jp>
Fri, 25 Mar 2011 10:54:38 +0000 (19:54 +0900)
committerAurelien Jarno <aurelien@aurel32.net>
Sat, 9 Apr 2011 16:39:05 +0000 (18:39 +0200)
commita54d41a8b985cc7ff9d4bc52e6ca20a09216b394
tree5ee739f336ffaff9ba0d008bef2c0b165528de3d
parent5145b3d1cc4dc77d82086d99b0690a76e1073071
acpi, acpi_piix, vt82c686: factor out PM_TMR logic

factor out PM_TMR logic. Later This will be used by ich9 acpi.
Also fixes the same bug in vt82c686.c that was fixed by the following
commits.

> commit 055479feab63607b8042bb8ebb2e0523f17cbc4e
> Author: aliguori <aliguori@c046a42c-6fe2-441c-8c8c-71466251a162>
> Date:   Wed Jan 21 16:31:20 2009 +0000
>
>     Always return latest pmsts instead of the old one (Xiantao Zhang)
>
>     It may lead to the issue when booting windows guests with acpi=1
>     if return the old pmsts.
>
>     Signed-off-by: Xiantao Zhang <xiantao.zhang@intel.com>
>     Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>

Cc: Blue Swirl <blauwirbel@gmail.com>
Cc: Huacai Chen <zltjiangshi@gmail.com>
Cc: Aurelien Jarno <aurelien@aurel32.net>
Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
hw/acpi.c
hw/acpi.h
hw/acpi_piix4.c
hw/vt82c686.c