From d6c8817a00979529001e01916aaa1f19394bf092 Mon Sep 17 00:00:00 2001 From: Mike Larkin Date: Fri, 14 Apr 2017 01:02:29 +0000 Subject: SVM: calculate max ASID value and save for later use. This will be used in an upcoming diff to handle ASID/VPID reuse/rollover. --- sys/arch/amd64/include/cpu.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'sys/arch/amd64/include/cpu.h') 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 { -- cgit v1.2.3