summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorMike Larkin <mlarkin@cvs.openbsd.org>2018-02-12 00:59:29 +0000
committerMike Larkin <mlarkin@cvs.openbsd.org>2018-02-12 00:59:29 +0000
commit646c1de573a5a618465cca8cae7df9f1e577e283 (patch)
tree232579e22391518389ae8bae4465146f3dc461fd /sys
parent1871af07f2858b305a658d60d542f748812178b7 (diff)
Typo in a comment (CR$_VMXE instead of CR4_VMXE). No functional change.
Diffstat (limited to 'sys')
-rw-r--r--sys/arch/amd64/amd64/vmm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/amd64/amd64/vmm.c b/sys/arch/amd64/amd64/vmm.c
index f5a6fc0dd91..2993abf6af8 100644
--- a/sys/arch/amd64/amd64/vmm.c
+++ b/sys/arch/amd64/amd64/vmm.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: vmm.c,v 1.183 2018/02/02 08:24:28 pd Exp $ */
+/* $OpenBSD: vmm.c,v 1.184 2018/02/12 00:59:28 mlarkin Exp $ */
/*
* Copyright (c) 2014 Mike Larkin <mlarkin@openbsd.org>
*
@@ -2571,7 +2571,7 @@ vcpu_reset_regs_vmx(struct vcpu *vcpu, struct vcpu_reg_state *vrs)
* Determine which bits in CR4 have to be set to a fixed
* value as per Intel SDM A.8.
* CR4 bits in the vrs parameter must match these, except
- * CR$_VMXE - we add that here since it must always be set.
+ * CR4_VMXE - we add that here since it must always be set.
*/
want1 = (curcpu()->ci_vmm_cap.vcc_vmx.vmx_cr4_fixed0) &
(curcpu()->ci_vmm_cap.vcc_vmx.vmx_cr4_fixed1);