]> xenbits.xensource.com Git - people/andrewcoop/xen.git/commit
x86emul: use msr definitions in msr-index.h
authorWei Liu <wei.liu2@citrix.com>
Mon, 30 Jan 2017 15:02:40 +0000 (15:02 +0000)
committerWei Liu <wei.liu2@citrix.com>
Mon, 6 Feb 2017 10:15:49 +0000 (10:15 +0000)
commit5c6c3ac6e1616ec57e55d5dc081b89850487ef95
tree1b2c7ed7c7adf7b1e2ee6e396f9b83f735dce63f
parent7603eb256afdc1e445a33526c5af0f5704edb532
x86emul: use msr definitions in msr-index.h

Change the names used in code according to numeric values. Remove the
now unused macros in x86_emualte.c and fix indentation. This in turns
requires including msr-index.h  and removing duplicates in userspace
x86_emulate.c in userspace harness program.

No functional change.

Signed-off-by: Wei Liu <wei.liu2@citrix.com>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
tools/fuzz/x86_instruction_emulator/Makefile
tools/tests/x86_emulator/Makefile
tools/tests/x86_emulator/x86_emulate.c
tools/tests/x86_emulator/x86_emulate.h
xen/arch/x86/x86_emulate/x86_emulate.c