diff options
author | Neel Natu <neel@FreeBSD.org> | 2014-07-08 21:48:57 +0000 |
---|---|---|
committer | Neel Natu <neel@FreeBSD.org> | 2014-07-08 21:48:57 +0000 |
commit | b301b9e28f3038c06f3bd0198248b5e308378813 (patch) | |
tree | 73193367569b8d61557cdb4c950258c1502a72dc /sys/amd64/include/vmm.h | |
parent | 3527963b26b4e84f39cea5bf18a5fbf8e93799f8 (diff) | |
download | src-b301b9e28f3038c06f3bd0198248b5e308378813.tar.gz src-b301b9e28f3038c06f3bd0198248b5e308378813.zip |
Accurately identify the vcpu's operating mode as 64-bit, compatibility,
protected or real.
Notes
Notes:
svn path=/head/; revision=268428
Diffstat (limited to 'sys/amd64/include/vmm.h')
-rw-r--r-- | sys/amd64/include/vmm.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/amd64/include/vmm.h b/sys/amd64/include/vmm.h index 5a359e95993c..0674077eb37c 100644 --- a/sys/amd64/include/vmm.h +++ b/sys/amd64/include/vmm.h @@ -329,6 +329,8 @@ struct seg_desc { #define SEG_DESC_UNUSABLE(desc) ((desc)->access & 0x10000) enum vm_cpu_mode { + CPU_MODE_REAL, + CPU_MODE_PROTECTED, CPU_MODE_COMPATIBILITY, /* IA-32E mode (CS.L = 0) */ CPU_MODE_64BIT, /* IA-32E mode (CS.L = 1) */ }; |