summaryrefslogtreecommitdiff
path: root/sys/arch
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2013-11-02 23:06:19 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2013-11-02 23:06:19 +0000
commit7600d27aaf2c2e9c2f7a10b75aac3aff61f07619 (patch)
tree1c5f91faeae8d999b2d7306c09ea5fc90b574743 /sys/arch
parent2d9cddba6fa56fb7d399540853f1a932e3cf4cc2 (diff)
Link m88k kernels on a BATC boundary.
Diffstat (limited to 'sys/arch')
-rw-r--r--sys/arch/aviion/conf/Makefile.aviion4
-rw-r--r--sys/arch/aviion/include/param.h4
-rw-r--r--sys/arch/luna88k/conf/Makefile.luna88k4
-rw-r--r--sys/arch/luna88k/include/param.h4
-rw-r--r--sys/arch/mvme88k/conf/Makefile.mvme88k4
-rw-r--r--sys/arch/mvme88k/include/param.h4
6 files changed, 12 insertions, 12 deletions
diff --git a/sys/arch/aviion/conf/Makefile.aviion b/sys/arch/aviion/conf/Makefile.aviion
index 3ffef0564e1..62f2f8acfba 100644
--- a/sys/arch/aviion/conf/Makefile.aviion
+++ b/sys/arch/aviion/conf/Makefile.aviion
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile.aviion,v 1.42 2013/10/15 19:23:26 guenther Exp $
+# $OpenBSD: Makefile.aviion,v 1.43 2013/11/02 23:06:18 miod Exp $
# For instructions on building kernels consult the config(8) and options(4)
# manual pages.
@@ -38,7 +38,7 @@ CMACHFLAGS+= -fno-stack-protector
COPTS?= -O2
CFLAGS= ${DEBUG} ${CWARNFLAGS} ${CMACHFLAGS} ${COPTS} ${PIPE}
AFLAGS= -D_LOCORE -x assembler-with-cpp ${CWARNFLAGS} ${CMACHFLAGS}
-LINKFLAGS= -Ttext 0x1000 -e __start -X -N --warn-common -nopie
+LINKFLAGS= -Ttext 0x80000 -e __start -X -N --warn-common -nopie
.if ${IDENT:M-DDDB_STRUCT}
DB_STRUCTINFO= db_structinfo.h
diff --git a/sys/arch/aviion/include/param.h b/sys/arch/aviion/include/param.h
index 03c2dc8b63e..f877f3750a9 100644
--- a/sys/arch/aviion/include/param.h
+++ b/sys/arch/aviion/include/param.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: param.h,v 1.4 2013/03/23 16:12:21 deraadt Exp $ */
+/* $OpenBSD: param.h,v 1.5 2013/11/02 23:06:18 miod Exp $ */
/*
* Copyright (c) 1999 Steve Murphree, Jr.
@@ -44,6 +44,6 @@
#include <m88k/param.h>
#define KERNBASE 0x00000000 /* start of kernel virtual */
-#define KERNTEXTOFF 0x00001000 /* start of kernel text */
+#define KERNTEXTOFF 0x00080000 /* start of kernel text */
#endif /* _MACHINE_PARAM_H_ */
diff --git a/sys/arch/luna88k/conf/Makefile.luna88k b/sys/arch/luna88k/conf/Makefile.luna88k
index 666907bfe10..a497d6dea22 100644
--- a/sys/arch/luna88k/conf/Makefile.luna88k
+++ b/sys/arch/luna88k/conf/Makefile.luna88k
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile.luna88k,v 1.50 2013/10/30 18:20:59 miod Exp $
+# $OpenBSD: Makefile.luna88k,v 1.51 2013/11/02 23:06:18 miod Exp $
# For instructions on building kernels consult the config(8) and options(4)
# manual pages.
@@ -38,7 +38,7 @@ CMACHFLAGS+= -fno-stack-protector
COPTS?= -O2
CFLAGS= ${DEBUG} ${CWARNFLAGS} ${CMACHFLAGS} ${COPTS} ${PIPE}
AFLAGS= -D_LOCORE -x assembler-with-cpp ${CWARNFLAGS} ${CMACHFLAGS}
-LINKFLAGS= -Ttext 0x20000 -e __start -X -N --warn-common -nopie
+LINKFLAGS= -Ttext 0x80000 -e __start -X -N --warn-common -nopie
.if ${IDENT:M-DDDB_STRUCT}
DB_STRUCTINFO= db_structinfo.h
diff --git a/sys/arch/luna88k/include/param.h b/sys/arch/luna88k/include/param.h
index 8e12fe594f7..cfc1ca7b3d2 100644
--- a/sys/arch/luna88k/include/param.h
+++ b/sys/arch/luna88k/include/param.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: param.h,v 1.4 2013/03/23 16:12:24 deraadt Exp $ */
+/* $OpenBSD: param.h,v 1.5 2013/11/02 23:06:18 miod Exp $ */
/*
* Copyright (c) 1999 Steve Murphree, Jr.
@@ -49,6 +49,6 @@
* these 128KB.
*/
#define KERNBASE 0x00000000 /* start of kernel virtual */
-#define KERNTEXTOFF 0x00020000 /* start of kernel text */
+#define KERNTEXTOFF 0x00080000 /* start of kernel text */
#endif /* _MACHINE_PARAM_H_ */
diff --git a/sys/arch/mvme88k/conf/Makefile.mvme88k b/sys/arch/mvme88k/conf/Makefile.mvme88k
index 5c71ac13f9e..e260a4a3a90 100644
--- a/sys/arch/mvme88k/conf/Makefile.mvme88k
+++ b/sys/arch/mvme88k/conf/Makefile.mvme88k
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile.mvme88k,v 1.79 2013/10/15 19:23:29 guenther Exp $
+# $OpenBSD: Makefile.mvme88k,v 1.80 2013/11/02 23:06:18 miod Exp $
# For instructions on building kernels consult the config(8) and options(4)
# manual pages.
@@ -38,7 +38,7 @@ CMACHFLAGS+= -fno-stack-protector
COPTS?= -O2
CFLAGS= ${DEBUG} ${CWARNFLAGS} ${CMACHFLAGS} ${COPTS} ${PIPE}
AFLAGS= -D_LOCORE -x assembler-with-cpp ${CWARNFLAGS} ${CMACHFLAGS}
-LINKFLAGS= -Ttext 0x10000 -e __start -X -N --warn-common -nopie
+LINKFLAGS= -Ttext 0x80000 -e __start -X -N --warn-common -nopie
.if ${IDENT:M-DDDB_STRUCT}
DB_STRUCTINFO= db_structinfo.h
diff --git a/sys/arch/mvme88k/include/param.h b/sys/arch/mvme88k/include/param.h
index fb7be221ec9..4f049bfc509 100644
--- a/sys/arch/mvme88k/include/param.h
+++ b/sys/arch/mvme88k/include/param.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: param.h,v 1.42 2013/05/17 22:51:59 miod Exp $ */
+/* $OpenBSD: param.h,v 1.43 2013/11/02 23:06:18 miod Exp $ */
/*
* Copyright (c) 1999 Steve Murphree, Jr.
@@ -48,7 +48,7 @@
* space, but the kernel must be linked with a start address past these 64KB.
*/
#define KERNBASE 0x00000000 /* start of kernel virtual */
-#define KERNTEXTOFF 0x00010000 /* start of kernel text */
+#define KERNTEXTOFF 0x00080000 /* start of kernel text */
#if defined(_KERNEL) || defined(_STANDALONE)
#if !defined(_LOCORE)