]> xenbits.xensource.com Git - people/pauldu/xen.git/commit
x86/pmtimer: move ACPI registers from PMTState to hvm_domain
authorBoris Ostrovsky <boris.ostrovsky@oracle.com>
Tue, 20 Dec 2016 08:54:12 +0000 (09:54 +0100)
committerJan Beulich <jbeulich@suse.com>
Tue, 20 Dec 2016 08:54:12 +0000 (09:54 +0100)
commit19fb14622e94185afd34081e3bc74e9c1663e781
treebf353c6fea8730c689a42543e086f2585287ff73
parent44d3196903f3ae5ac3d27da626107131e3e35603
x86/pmtimer: move ACPI registers from PMTState to hvm_domain

These registers (pm1a specifically) are not all specific to pm timer
and are accessed by non-pmtimer code (for example, sleep/power button
emulation).

The public name for save state structure is kept as 'pmtimer' to avoid
code churn with the expected changes in migration code. hvm_hw_acpi
name is introduced for internal use but when migration code is updated
hvm_hw_pmtimer will be renamed to hvm_hw_acpi.

No functional changes are introduced.

(While this file is being modified, also add emacs mode style rune)

Signed-off-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
xen/arch/x86/hvm/pmtimer.c
xen/include/asm-x86/hvm/domain.h
xen/include/asm-x86/hvm/vpt.h