Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/nvmm/x86 Reduce the mask of the VTPR, only the first...
details: https://anonhg.NetBSD.org/src/rev/213608d01d59
branches: trunk
changeset: 997590:213608d01d59
user: maxv <maxv%NetBSD.org@localhost>
date: Thu Mar 14 19:15:26 2019 +0000
description:
Reduce the mask of the VTPR, only the first four bits matter.
diffstat:
sys/dev/nvmm/x86/nvmm_x86_svm.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 6674fd4f8d92 -r 213608d01d59 sys/dev/nvmm/x86/nvmm_x86_svm.c
--- a/sys/dev/nvmm/x86/nvmm_x86_svm.c Thu Mar 14 19:10:27 2019 +0000
+++ b/sys/dev/nvmm/x86/nvmm_x86_svm.c Thu Mar 14 19:15:26 2019 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: nvmm_x86_svm.c,v 1.33 2019/03/03 07:01:09 maxv Exp $ */
+/* $NetBSD: nvmm_x86_svm.c,v 1.34 2019/03/14 19:15:26 maxv Exp $ */
/*
* Copyright (c) 2018 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: nvmm_x86_svm.c,v 1.33 2019/03/03 07:01:09 maxv Exp $");
+__KERNEL_RCSID(0, "$NetBSD: nvmm_x86_svm.c,v 1.34 2019/03/14 19:15:26 maxv Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -303,7 +303,7 @@
#define VMCB_CTRL_TLB_CTRL_FLUSH_GUEST_NONGLOBAL 0x07
uint64_t v;
-#define VMCB_CTRL_V_TPR __BITS(7,0)
+#define VMCB_CTRL_V_TPR __BITS(3,0)
#define VMCB_CTRL_V_IRQ __BIT(8)
#define VMCB_CTRL_V_VGIF __BIT(9)
#define VMCB_CTRL_V_INTR_PRIO __BITS(19,16)
Home |
Main Index |
Thread Index |
Old Index