summaryrefslogtreecommitdiffstats
path: root/sys/mips
diff options
context:
space:
mode:
authorneel <neel@FreeBSD.org>2010-09-15 05:32:10 +0000
committerneel <neel@FreeBSD.org>2010-09-15 05:32:10 +0000
commitda4ad90d639cd53f849ad89979099fd7a2d15661 (patch)
treed9c1fbd2bc03479750dc5e0ac4513521971e3e94 /sys/mips
parent8156525e0d6afb584028d91396174f6ea911513b (diff)
downloadFreeBSD-src-da4ad90d639cd53f849ad89979099fd7a2d15661.zip
FreeBSD-src-da4ad90d639cd53f849ad89979099fd7a2d15661.tar.gz
Add 64-bit SWARM board kernel configs.
Diffstat (limited to 'sys/mips')
-rw-r--r--sys/mips/conf/SWARM6420
-rw-r--r--sys/mips/conf/SWARM64_SMP23
2 files changed, 43 insertions, 0 deletions
diff --git a/sys/mips/conf/SWARM64 b/sys/mips/conf/SWARM64
new file mode 100644
index 0000000..72931b5
--- /dev/null
+++ b/sys/mips/conf/SWARM64
@@ -0,0 +1,20 @@
+#
+# $FreeBSD$
+#
+
+include SWARM_COMMON
+
+ident SWARM64
+
+makeoptions ARCH_FLAGS="-mabi=64 -march=mips64"
+makeoptions LDSCRIPT_NAME=ldscript.mips.64.cfe
+makeoptions KERNLOADADDR=0xffffffff80001000
+
+#
+# XXX restrict memory to maximum 4GB because page table entries in pmap
+# are still 32 bits wide
+
+#
+# MAXMEM is specified in units of KB
+#
+options MAXMEM=0x400000
diff --git a/sys/mips/conf/SWARM64_SMP b/sys/mips/conf/SWARM64_SMP
new file mode 100644
index 0000000..863c0f0
--- /dev/null
+++ b/sys/mips/conf/SWARM64_SMP
@@ -0,0 +1,23 @@
+#
+# $FreeBSD$
+#
+
+include SWARM_COMMON
+
+ident SWARM64_SMP
+
+options SMP
+options PRINTF_BUFR_SIZE=128
+
+makeoptions ARCH_FLAGS="-mabi=64 -march=mips64"
+makeoptions LDSCRIPT_NAME=ldscript.mips.64.cfe
+makeoptions KERNLOADADDR=0xffffffff80001000
+
+#
+# XXX restrict memory to maximum 4GB because page table entries in pmap
+# are still 32 bits wide
+
+#
+# MAXMEM is specified in units of KB
+#
+options MAXMEM=0x400000
OpenPOWER on IntegriCloud