summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormiod <miod@openbsd.org>2004-01-14 01:45:50 +0000
committermiod <miod@openbsd.org>2004-01-14 01:45:50 +0000
commit4c049f4ecd6dc8f59821369c63d2bb23446ff5fb (patch)
treeaaa1ec66ef4f515a9196c01f8555d4ce6e0ce532
parentFix KERNTEXTOFF value (long) after the move to ELF. (diff)
downloadwireguard-openbsd-4c049f4ecd6dc8f59821369c63d2bb23446ff5fb.tar.xz
wireguard-openbsd-4c049f4ecd6dc8f59821369c63d2bb23446ff5fb.zip
Revert previous; this will cause issues on some machines, says drahn@
-rw-r--r--sys/arch/i386/include/param.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/i386/include/param.h b/sys/arch/i386/include/param.h
index b43bf2e6029..dbf25a51685 100644
--- a/sys/arch/i386/include/param.h
+++ b/sys/arch/i386/include/param.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: param.h,v 1.25 2004/01/13 23:56:56 miod Exp $ */
+/* $OpenBSD: param.h,v 1.26 2004/01/14 01:45:50 miod Exp $ */
/* $NetBSD: param.h,v 1.29 1996/03/04 05:04:26 cgd Exp $ */
/*-
@@ -83,7 +83,7 @@
*/
#define KERNBASE 0xd0000000
-#define KERNTEXTOFF (KERNBASE+0x100120) /* start of kernel text */
+#define KERNTEXTOFF (KERNBASE+0x100000) /* start of kernel text */
#define BTOPKERNBASE ((u_long)KERNBASE >> PGSHIFT)
#define DEV_BSHIFT 9 /* log2(DEV_BSIZE) */