summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormlarkin <mlarkin@openbsd.org>2019-01-24 00:57:14 +0000
committermlarkin <mlarkin@openbsd.org>2019-01-24 00:57:14 +0000
commit6ea78b0db2fae944970a19be93ff129e63dd9c95 (patch)
treed3409ff407cc86450c2215189c51a21609628a8b
parent32 not 16 (diff)
downloadwireguard-openbsd-6ea78b0db2fae944970a19be93ff129e63dd9c95.tar.xz
wireguard-openbsd-6ea78b0db2fae944970a19be93ff129e63dd9c95.zip
Correct a wrong comment about PTE skip size
This was likely left over from long ago when we loaded the kernel at a lower PA. Noticed by deraadt@ and I as we were crawling through this code recently. This may change again, but correcting it now just in case this code stays around for a while.
-rw-r--r--sys/arch/amd64/amd64/locore0.S4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/amd64/amd64/locore0.S b/sys/arch/amd64/amd64/locore0.S
index a29b9f4ad05..f3f4a9557f7 100644
--- a/sys/arch/amd64/amd64/locore0.S
+++ b/sys/arch/amd64/amd64/locore0.S
@@ -1,4 +1,4 @@
-/* $OpenBSD: locore0.S,v 1.15 2019/01/24 00:21:45 deraadt Exp $ */
+/* $OpenBSD: locore0.S,v 1.16 2019/01/24 00:57:14 mlarkin Exp $ */
/* $NetBSD: locore.S,v 1.13 2004/03/25 18:33:17 drochner Exp $ */
/*
@@ -380,7 +380,7 @@ cont:
andl $~PGOFSET,%edx
/*
- * Skip the first MB.
+ * Skip the first 16 MB.
*/
movl $(KERNTEXTOFF - KERNBASE),%eax
movl %eax,%ecx