summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormlarkin <mlarkin@openbsd.org>2016-07-06 07:09:15 +0000
committermlarkin <mlarkin@openbsd.org>2016-07-06 07:09:15 +0000
commitb063d38dacf47873ebdb728cede6d6a57831f2cc (patch)
tree3e1202a6e44a285ac3959ebf5b00a28e927af12d
parentUse fstatat() to avoid path surgery. (diff)
downloadwireguard-openbsd-b063d38dacf47873ebdb728cede6d6a57831f2cc.tar.xz
wireguard-openbsd-b063d38dacf47873ebdb728cede6d6a57831f2cc.zip
clarify a comment about memory regions
-rw-r--r--usr.sbin/vmd/vmm.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/usr.sbin/vmd/vmm.c b/usr.sbin/vmd/vmm.c
index 1902a2e06ef..ba54944f7fc 100644
--- a/usr.sbin/vmd/vmm.c
+++ b/usr.sbin/vmd/vmm.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: vmm.c,v 1.28 2016/06/10 16:33:15 stefan Exp $ */
+/* $OpenBSD: vmm.c,v 1.29 2016/07/06 07:09:15 mlarkin Exp $ */
/*
* Copyright (c) 2015 Mike Larkin <mlarkin@openbsd.org>
@@ -675,9 +675,10 @@ create_memory_map(struct vm_create_params *vcp)
/*
* Second memory region: LOWMEM_KB - 1MB.
- * XXX Normally ROMs or parts of video RAM are mapped here.
+ *
+ * N.B. - Normally ROMs or parts of video RAM are mapped here.
* We have to add this region, because some systems
- * unconditionally write to 0xb8000 (video RAM), and
+ * unconditionally write to 0xb8000 (VGA RAM), and
* we need to make sure that vmm(4) permits accesses
* to it. So allocate guest memory for it.
*/