summaryrefslogtreecommitdiff
path: root/sys/arch
diff options
context:
space:
mode:
authorVisa Hankala <visa@cvs.openbsd.org>2020-07-19 14:40:35 +0000
committerVisa Hankala <visa@cvs.openbsd.org>2020-07-19 14:40:35 +0000
commitf5da5b269abde96aa5dce2b596f6207f134b99af (patch)
treeb15bbf14d2d3d5929a1dc1b464d445bcb3e9bf6d /sys/arch
parentc8c138d83f0e15ed6531ab7c7bb7044850d979c1 (diff)
Add GENERIC.MP kernel config for loongson.
Not enabled for now. OK deraadt@
Diffstat (limited to 'sys/arch')
-rw-r--r--sys/arch/loongson/compile/GENERIC.MP/Makefile1
-rw-r--r--sys/arch/loongson/conf/GENERIC.MP10
2 files changed, 11 insertions, 0 deletions
diff --git a/sys/arch/loongson/compile/GENERIC.MP/Makefile b/sys/arch/loongson/compile/GENERIC.MP/Makefile
new file mode 100644
index 00000000000..01b5f23410c
--- /dev/null
+++ b/sys/arch/loongson/compile/GENERIC.MP/Makefile
@@ -0,0 +1 @@
+.include "../Makefile.inc"
diff --git a/sys/arch/loongson/conf/GENERIC.MP b/sys/arch/loongson/conf/GENERIC.MP
new file mode 100644
index 00000000000..e94d9d49427
--- /dev/null
+++ b/sys/arch/loongson/conf/GENERIC.MP
@@ -0,0 +1,10 @@
+# $OpenBSD: GENERIC.MP,v 1.1 2020/07/19 14:40:34 visa Exp $
+
+include "arch/loongson/conf/GENERIC"
+
+option MULTIPROCESSOR
+#option MP_LOCKDEBUG
+
+option MIPS_PTE64
+
+cpu* at mainbus?