summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormlarkin <mlarkin@openbsd.org>2018-04-25 16:22:19 +0000
committermlarkin <mlarkin@openbsd.org>2018-04-25 16:22:19 +0000
commit8ff69fa505af7bafe084d4d6591619c270ce6702 (patch)
treeadc0f994f79ccd6a83b8a8ba15f24600993ac67f
parentMake this header standalone #if __BSD_VISIBLE, by including needed headers (diff)
downloadwireguard-openbsd-8ff69fa505af7bafe084d4d6591619c270ce6702.tar.xz
wireguard-openbsd-8ff69fa505af7bafe084d4d6591619c270ce6702.zip
vmm(4): clarify whose FPU state we are saving (change in a comment)
no code change
-rw-r--r--sys/arch/amd64/amd64/vmm.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/arch/amd64/amd64/vmm.c b/sys/arch/amd64/amd64/vmm.c
index 19f0e5850e6..4d2fab267fd 100644
--- a/sys/arch/amd64/amd64/vmm.c
+++ b/sys/arch/amd64/amd64/vmm.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: vmm.c,v 1.190 2018/04/24 20:33:28 mlarkin Exp $ */
+/* $OpenBSD: vmm.c,v 1.191 2018/04/25 16:22:19 mlarkin Exp $ */
/*
* Copyright (c) 2014 Mike Larkin <mlarkin@openbsd.org>
*
@@ -4066,7 +4066,7 @@ vcpu_run_vmx(struct vcpu *vcpu, struct vm_run_params *vrp)
KERNEL_ASSERT_LOCKED();
#endif /* VMM_DEBUG */
- /* Disable interrupts and save the current FPU state. */
+ /* Disable interrupts and save the current host FPU state. */
disable_intr();
clts();
vmm_fpusave();
@@ -6133,7 +6133,7 @@ vcpu_run_svm(struct vcpu *vcpu, struct vm_run_params *vrp)
KERNEL_ASSERT_LOCKED();
#endif /* VMM_DEBUG */
- /* Disable interrupts and save the current FPU state. */
+ /* Disable interrupts and save the current host FPU state. */
clgi();
clts();
vmm_fpusave();