diff options
Diffstat (limited to 'drivers/kvm/vmx.h')
-rw-r--r-- | drivers/kvm/vmx.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/kvm/vmx.h b/drivers/kvm/vmx.h index fd4e14666088..270d477a2aa6 100644 --- a/drivers/kvm/vmx.h +++ b/drivers/kvm/vmx.h | |||
@@ -234,9 +234,9 @@ enum vmcs_field { | |||
234 | /* | 234 | /* |
235 | * Exit Qualifications for MOV for Control Register Access | 235 | * Exit Qualifications for MOV for Control Register Access |
236 | */ | 236 | */ |
237 | #define CONTROL_REG_ACCESS_NUM 0x7 /* 2:0, number of control register */ | 237 | #define CONTROL_REG_ACCESS_NUM 0x7 /* 2:0, number of control reg.*/ |
238 | #define CONTROL_REG_ACCESS_TYPE 0x30 /* 5:4, access type */ | 238 | #define CONTROL_REG_ACCESS_TYPE 0x30 /* 5:4, access type */ |
239 | #define CONTROL_REG_ACCESS_REG 0xf00 /* 10:8, general purpose register */ | 239 | #define CONTROL_REG_ACCESS_REG 0xf00 /* 10:8, general purpose reg. */ |
240 | #define LMSW_SOURCE_DATA_SHIFT 16 | 240 | #define LMSW_SOURCE_DATA_SHIFT 16 |
241 | #define LMSW_SOURCE_DATA (0xFFFF << LMSW_SOURCE_DATA_SHIFT) /* 16:31 lmsw source */ | 241 | #define LMSW_SOURCE_DATA (0xFFFF << LMSW_SOURCE_DATA_SHIFT) /* 16:31 lmsw source */ |
242 | #define REG_EAX (0 << 8) | 242 | #define REG_EAX (0 << 8) |
@@ -259,11 +259,11 @@ enum vmcs_field { | |||
259 | /* | 259 | /* |
260 | * Exit Qualifications for MOV for Debug Register Access | 260 | * Exit Qualifications for MOV for Debug Register Access |
261 | */ | 261 | */ |
262 | #define DEBUG_REG_ACCESS_NUM 0x7 /* 2:0, number of debug register */ | 262 | #define DEBUG_REG_ACCESS_NUM 0x7 /* 2:0, number of debug reg. */ |
263 | #define DEBUG_REG_ACCESS_TYPE 0x10 /* 4, direction of access */ | 263 | #define DEBUG_REG_ACCESS_TYPE 0x10 /* 4, direction of access */ |
264 | #define TYPE_MOV_TO_DR (0 << 4) | 264 | #define TYPE_MOV_TO_DR (0 << 4) |
265 | #define TYPE_MOV_FROM_DR (1 << 4) | 265 | #define TYPE_MOV_FROM_DR (1 << 4) |
266 | #define DEBUG_REG_ACCESS_REG 0xf00 /* 11:8, general purpose register */ | 266 | #define DEBUG_REG_ACCESS_REG 0xf00 /* 11:8, general purpose reg. */ |
267 | 267 | ||
268 | 268 | ||
269 | /* segment AR */ | 269 | /* segment AR */ |