x86/mtrr: split "enabled" field into two boolean flags
authorJan Beulich <jbeulich@suse.com>
Mon, 16 Jul 2018 13:09:12 +0000 (15:09 +0200)
committerJan Beulich <jbeulich@suse.com>
Mon, 16 Jul 2018 13:09:12 +0000 (15:09 +0200)
commit8ebc60e0274b770743e59256f665789d4308b188
tree0a497409072e5d592b3167616efb720b24c39ec3
parent76159f10b174d8a5cd4c50213a9d21fcc0e9441d
x86/mtrr: split "enabled" field into two boolean flags

The code hopefully is more readable this way.

Also switch have_fixed to bool, seeing that it already is used as a
boolean.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
[switched to use MASK_*]
Signed-off-by: Roger Pau Monné <roger.pau@citrix.com>
xen/arch/x86/cpu/mtrr/generic.c
xen/arch/x86/hvm/hvm.c
xen/arch/x86/hvm/mtrr.c
xen/include/asm-x86/msr-index.h
xen/include/asm-x86/mtrr.h