summaryrefslogtreecommitdiff
path: root/sys/arch/amd64/include/cpu.h
diff options
context:
space:
mode:
authorMike Larkin <mlarkin@cvs.openbsd.org>2017-04-14 01:02:29 +0000
committerMike Larkin <mlarkin@cvs.openbsd.org>2017-04-14 01:02:29 +0000
commitd6c8817a00979529001e01916aaa1f19394bf092 (patch)
tree852c7609dafab6c61a45bd93c76c470d19def3e9 /sys/arch/amd64/include/cpu.h
parent803342b7734fc5b67f9fafd139292e2df07fcc07 (diff)
SVM: calculate max ASID value and save for later use. This will be used in
an upcoming diff to handle ASID/VPID reuse/rollover.
Diffstat (limited to 'sys/arch/amd64/include/cpu.h')
-rw-r--r--sys/arch/amd64/include/cpu.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/arch/amd64/include/cpu.h b/sys/arch/amd64/include/cpu.h
index a66ec6e9f4c..10e7292d763 100644
--- a/sys/arch/amd64/include/cpu.h
+++ b/sys/arch/amd64/include/cpu.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: cpu.h,v 1.110 2017/03/16 10:02:03 mpi Exp $ */
+/* $OpenBSD: cpu.h,v 1.111 2017/04/14 01:02:28 mlarkin Exp $ */
/* $NetBSD: cpu.h,v 1.1 2003/04/26 18:39:39 fvdl Exp $ */
/*-
@@ -77,6 +77,7 @@ struct vmx {
* SVM for AMD CPUs
*/
struct svm {
+ uint32_t svm_max_asid;
};
union vmm_cpu_cap {