From 6ea78b0db2fae944970a19be93ff129e63dd9c95 Mon Sep 17 00:00:00 2001 From: mlarkin Date: Thu, 24 Jan 2019 00:57:14 +0000 Subject: 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. --- sys/arch/amd64/amd64/locore0.S | 4 ++-- 1 file 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 -- cgit v1.2.3-59-g8ed1b