summaryrefslogtreecommitdiff
path: root/sys/arch/amd64
diff options
context:
space:
mode:
authorMike Larkin <mlarkin@cvs.openbsd.org>2018-07-05 05:07:04 +0000
committerMike Larkin <mlarkin@cvs.openbsd.org>2018-07-05 05:07:04 +0000
commita9b13958c83990e4baaaa69b753f9b7ebfe98452 (patch)
tree0336c30a93ddd17419f24fb68b72d1ee14764a63 /sys/arch/amd64
parent7b7fc624983765597fee96a6df9705a9af91f21b (diff)
forgot to commit vmmvar.h needed by previous two commits, thanks ccardenas
for noticing.
Diffstat (limited to 'sys/arch/amd64')
-rw-r--r--sys/arch/amd64/include/vmmvar.h11
1 files changed, 10 insertions, 1 deletions
diff --git a/sys/arch/amd64/include/vmmvar.h b/sys/arch/amd64/include/vmmvar.h
index ffc95da55ba..9e3ad9488ad 100644
--- a/sys/arch/amd64/include/vmmvar.h
+++ b/sys/arch/amd64/include/vmmvar.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: vmmvar.h,v 1.53 2018/04/27 10:26:15 mlarkin Exp $ */
+/* $OpenBSD: vmmvar.h,v 1.54 2018/07/05 05:07:03 mlarkin Exp $ */
/*
* Copyright (c) 2014 Mike Larkin <mlarkin@openbsd.org>
*
@@ -321,6 +321,15 @@ enum {
VEI_DIR_IN
};
+enum {
+ VMM_CPU_MODE_REAL,
+ VMM_CPU_MODE_PROT,
+ VMM_CPU_MODE_PROT32,
+ VMM_CPU_MODE_COMPAT,
+ VMM_CPU_MODE_LONG,
+ VMM_CPU_MODE_UNKNOWN,
+};
+
/*
* Port definitions not found elsewhere
*/