x86: consolidate frame state manipulation functions
authorJan Beulich <jbeulich@suse.com>
Thu, 4 Oct 2012 07:05:24 +0000 (09:05 +0200)
committerJan Beulich <jbeulich@suse.com>
Thu, 4 Oct 2012 07:05:24 +0000 (09:05 +0200)
commitceedb8abf06b98fd42cc9ae979d0d53acc7de2dd
tree23fc995b86e965ab403d4eeba14cd034f37a3689
parentf06fabda84d6a6e61d45d7444eeb5fdca9f71b3f
x86: consolidate frame state manipulation functions

Rather than doing this in multiple places, have a single central
function (decode_register()) to be used by all other code.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Keir Fraser <keir@xen.org>
xen/arch/x86/hvm/hvm.c
xen/arch/x86/hvm/vmx/vvmx.c
xen/arch/x86/traps.c
xen/include/asm-x86/processor.h