]> xenbits.xensource.com Git - xen.git/commit
x86: replace MTRR_* constants with X86_MT_* constants
authorDemi Marie Obenour <demi@invisiblethingslab.com>
Tue, 20 Dec 2022 15:50:38 +0000 (16:50 +0100)
committerJan Beulich <jbeulich@suse.com>
Tue, 20 Dec 2022 15:50:38 +0000 (16:50 +0100)
commit6eaaa1fcb96438f35f69443cd375fe0b85595b7b
tree13889a7e3fb01ccb4fa618c495cb8be3a610d1b3
parent60b8f9a73987e22ab652ac0d4bdd2db81d1dc33a
x86: replace MTRR_* constants with X86_MT_* constants

This allows eliminating of the former, with the exception of
MTRR_NUM_TYPES.  MTRR_NUM_TYPES is kept, as due to a quirk of the x86
architecture X86_MT_UCM (7) is not valid in an MTRR.

Suggested-by: Andrew Cooper <andrew.cooper3@citrix.com>
Signed-off-by: Demi Marie Obenour <demi@invisiblethingslab.com>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
xen/arch/x86/cpu/mtrr/generic.c
xen/arch/x86/cpu/mtrr/main.c
xen/arch/x86/e820.c
xen/arch/x86/hvm/mtrr.c
xen/arch/x86/hvm/vmx/vmcs.c
xen/arch/x86/hvm/vmx/vmx.c
xen/arch/x86/include/asm/hvm/vmx/vmcs.h
xen/arch/x86/include/asm/mtrr.h
xen/arch/x86/mm/p2m-ept.c
xen/arch/x86/mm/shadow/multi.c