x86/MSR: introduce MSR access split/fold helpers
authorJan Beulich <jbeulich@suse.com>
Tue, 3 Jan 2017 08:42:10 +0000 (09:42 +0100)
committerJan Beulich <jbeulich@suse.com>
Tue, 3 Jan 2017 08:42:10 +0000 (09:42 +0100)
commitd2211e14d3435cf242da59d33204ab8dcad734b1
treeaa14ba4ef57664ccce47d522c90c5ae7732467d0
parentee524f2bfa681ad116b8ae925fa8f3f18ee12ba5
x86/MSR: introduce MSR access split/fold helpers

This is in preparation of eliminating the mis-naming of 64-bit fields
with 32-bit register names (eflags instead of rflags etc). Use the
guaranteed 32-bit underscore prefixed names for now where appropriate.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Andrew Cooper <andrew.cooper3@citrix.com>
Reviewed-by: Kevin Tian <kevin.tian@intel.com>
Reviewed-by: Suravee Suthikulpanit <suravee.suthikulpanit@amd.com>
xen/arch/x86/hvm/hvm.c
xen/arch/x86/hvm/svm/svm.c
xen/arch/x86/hvm/vmx/vmx.c
xen/arch/x86/hvm/vmx/vvmx.c
xen/arch/x86/time.c
xen/arch/x86/traps.c
xen/include/asm-x86/msr.h