summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2009-07-31 09:26:27 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2009-07-31 09:26:27 +0000
commit8eec392465d86ee95c60098e2a65f78e8eab7349 (patch)
tree90603aacfa9c653613ed9c041eac40d0034071de
parent939c809d67949175b01736f862b0bcea33f0aee6 (diff)
By popular demand and peer pressure, check-in work in progress work to support
the Yeelong Lemote mips-based netbook. Kernel bits only for now, needs polishing; most of this work done during h2k9 last month, although the porting effort started earlier this year.
-rw-r--r--sys/arch/loongson/include/_types.h3
-rw-r--r--sys/arch/loongson/include/asm.h3
-rw-r--r--sys/arch/loongson/include/atomic.h3
-rw-r--r--sys/arch/loongson/include/cpustate.h3
-rw-r--r--sys/arch/loongson/include/db_machdep.h3
-rw-r--r--sys/arch/loongson/include/endian.h3
-rw-r--r--sys/arch/loongson/include/exec.h3
-rw-r--r--sys/arch/loongson/include/float.h3
-rw-r--r--sys/arch/loongson/include/frame.h3
-rw-r--r--sys/arch/loongson/include/ieee.h3
-rw-r--r--sys/arch/loongson/include/ieeefp.h3
-rw-r--r--sys/arch/loongson/include/internal_types.h3
-rw-r--r--sys/arch/loongson/include/kcore.h3
-rw-r--r--sys/arch/loongson/include/limits.h3
-rw-r--r--sys/arch/loongson/include/lock.h3
-rw-r--r--sys/arch/loongson/include/memconf.h3
-rw-r--r--sys/arch/loongson/include/mips_opcode.h3
-rw-r--r--sys/arch/loongson/include/pcb.h3
-rw-r--r--sys/arch/loongson/include/pmap.h3
-rw-r--r--sys/arch/loongson/include/proc.h3
-rw-r--r--sys/arch/loongson/include/profile.h3
-rw-r--r--sys/arch/loongson/include/pte.h3
-rw-r--r--sys/arch/loongson/include/ptrace.h3
-rw-r--r--sys/arch/loongson/include/reg.h3
-rw-r--r--sys/arch/loongson/include/regdef.h3
-rw-r--r--sys/arch/loongson/include/regnum.h3
-rw-r--r--sys/arch/loongson/include/setjmp.h3
-rw-r--r--sys/arch/loongson/include/signal.h3
-rw-r--r--sys/arch/loongson/include/spinlock.h3
-rw-r--r--sys/arch/loongson/include/stdarg.h3
-rw-r--r--sys/arch/loongson/include/trap.h3
-rw-r--r--sys/arch/loongson/include/varargs.h3
32 files changed, 96 insertions, 0 deletions
diff --git a/sys/arch/loongson/include/_types.h b/sys/arch/loongson/include/_types.h
new file mode 100644
index 00000000000..edfa54b1061
--- /dev/null
+++ b/sys/arch/loongson/include/_types.h
@@ -0,0 +1,3 @@
+/* $OpenBSD: _types.h,v 1.1.1.1 2009/07/31 09:26:25 miod Exp $ */
+/* public domain */
+#include <mips64/_types.h>
diff --git a/sys/arch/loongson/include/asm.h b/sys/arch/loongson/include/asm.h
new file mode 100644
index 00000000000..a3bf821871e
--- /dev/null
+++ b/sys/arch/loongson/include/asm.h
@@ -0,0 +1,3 @@
+/* $OpenBSD: asm.h,v 1.1.1.1 2009/07/31 09:26:25 miod Exp $ */
+/* public domain */
+#include <mips64/asm.h>
diff --git a/sys/arch/loongson/include/atomic.h b/sys/arch/loongson/include/atomic.h
new file mode 100644
index 00000000000..08017f60398
--- /dev/null
+++ b/sys/arch/loongson/include/atomic.h
@@ -0,0 +1,3 @@
+/* $OpenBSD: atomic.h,v 1.1.1.1 2009/07/31 09:26:25 miod Exp $ */
+/* public domain */
+#include <mips64/atomic.h>
diff --git a/sys/arch/loongson/include/cpustate.h b/sys/arch/loongson/include/cpustate.h
new file mode 100644
index 00000000000..b069afe6091
--- /dev/null
+++ b/sys/arch/loongson/include/cpustate.h
@@ -0,0 +1,3 @@
+/* $OpenBSD: cpustate.h,v 1.1.1.1 2009/07/31 09:26:25 miod Exp $ */
+/* public domain */
+#include <mips64/cpustate.h>
diff --git a/sys/arch/loongson/include/db_machdep.h b/sys/arch/loongson/include/db_machdep.h
new file mode 100644
index 00000000000..2b58eea6c46
--- /dev/null
+++ b/sys/arch/loongson/include/db_machdep.h
@@ -0,0 +1,3 @@
+/* $OpenBSD: db_machdep.h,v 1.1.1.1 2009/07/31 09:26:25 miod Exp $ */
+/* public domain */
+#include <mips64/db_machdep.h>
diff --git a/sys/arch/loongson/include/endian.h b/sys/arch/loongson/include/endian.h
new file mode 100644
index 00000000000..803c19110ee
--- /dev/null
+++ b/sys/arch/loongson/include/endian.h
@@ -0,0 +1,3 @@
+/* $OpenBSD: endian.h,v 1.1.1.1 2009/07/31 09:26:25 miod Exp $ */
+/* public domain */
+#include <mips64/endian.h>
diff --git a/sys/arch/loongson/include/exec.h b/sys/arch/loongson/include/exec.h
new file mode 100644
index 00000000000..0f0ba44dba2
--- /dev/null
+++ b/sys/arch/loongson/include/exec.h
@@ -0,0 +1,3 @@
+/* $OpenBSD: exec.h,v 1.1.1.1 2009/07/31 09:26:25 miod Exp $ */
+/* public domain */
+#include <mips64/exec.h>
diff --git a/sys/arch/loongson/include/float.h b/sys/arch/loongson/include/float.h
new file mode 100644
index 00000000000..4c419500b7d
--- /dev/null
+++ b/sys/arch/loongson/include/float.h
@@ -0,0 +1,3 @@
+/* $OpenBSD: float.h,v 1.1 2009/07/31 09:26:25 miod Exp $ */
+/* public domain */
+#include <mips64/float.h>
diff --git a/sys/arch/loongson/include/frame.h b/sys/arch/loongson/include/frame.h
new file mode 100644
index 00000000000..462a088734e
--- /dev/null
+++ b/sys/arch/loongson/include/frame.h
@@ -0,0 +1,3 @@
+/* $OpenBSD: frame.h,v 1.1.1.1 2009/07/31 09:26:25 miod Exp $ */
+/* public domain */
+#include <mips64/frame.h>
diff --git a/sys/arch/loongson/include/ieee.h b/sys/arch/loongson/include/ieee.h
new file mode 100644
index 00000000000..5d4abf4b356
--- /dev/null
+++ b/sys/arch/loongson/include/ieee.h
@@ -0,0 +1,3 @@
+/* $OpenBSD: ieee.h,v 1.1.1.1 2009/07/31 09:26:25 miod Exp $ */
+/* public domain */
+#include <mips64/ieee.h>
diff --git a/sys/arch/loongson/include/ieeefp.h b/sys/arch/loongson/include/ieeefp.h
new file mode 100644
index 00000000000..907f993ad68
--- /dev/null
+++ b/sys/arch/loongson/include/ieeefp.h
@@ -0,0 +1,3 @@
+/* $OpenBSD: ieeefp.h,v 1.1.1.1 2009/07/31 09:26:25 miod Exp $ */
+/* public domain */
+#include <mips64/ieeefp.h>
diff --git a/sys/arch/loongson/include/internal_types.h b/sys/arch/loongson/include/internal_types.h
new file mode 100644
index 00000000000..46c7dbb9781
--- /dev/null
+++ b/sys/arch/loongson/include/internal_types.h
@@ -0,0 +1,3 @@
+/* $OpenBSD: internal_types.h,v 1.1 2009/07/31 09:26:25 miod Exp $ */
+/* public domain */
+#include <mips64/internal_types.h>
diff --git a/sys/arch/loongson/include/kcore.h b/sys/arch/loongson/include/kcore.h
new file mode 100644
index 00000000000..3d6e91ca6e6
--- /dev/null
+++ b/sys/arch/loongson/include/kcore.h
@@ -0,0 +1,3 @@
+/* $OpenBSD: kcore.h,v 1.1.1.1 2009/07/31 09:26:25 miod Exp $ */
+/* public domain */
+#include <mips64/kcore.h>
diff --git a/sys/arch/loongson/include/limits.h b/sys/arch/loongson/include/limits.h
new file mode 100644
index 00000000000..e9dd5213339
--- /dev/null
+++ b/sys/arch/loongson/include/limits.h
@@ -0,0 +1,3 @@
+/* $OpenBSD: limits.h,v 1.1.1.1 2009/07/31 09:26:25 miod Exp $ */
+/* public domain */
+#include <mips64/limits.h>
diff --git a/sys/arch/loongson/include/lock.h b/sys/arch/loongson/include/lock.h
new file mode 100644
index 00000000000..7480bba9e80
--- /dev/null
+++ b/sys/arch/loongson/include/lock.h
@@ -0,0 +1,3 @@
+/* $OpenBSD: lock.h,v 1.1.1.1 2009/07/31 09:26:25 miod Exp $ */
+/* public domain */
+#include <mips64/lock.h>
diff --git a/sys/arch/loongson/include/memconf.h b/sys/arch/loongson/include/memconf.h
new file mode 100644
index 00000000000..9d7e618d330
--- /dev/null
+++ b/sys/arch/loongson/include/memconf.h
@@ -0,0 +1,3 @@
+/* $OpenBSD: memconf.h,v 1.1.1.1 2009/07/31 09:26:25 miod Exp $ */
+/* public domain */
+#include <mips64/memconf.h>
diff --git a/sys/arch/loongson/include/mips_opcode.h b/sys/arch/loongson/include/mips_opcode.h
new file mode 100644
index 00000000000..b521cc695ce
--- /dev/null
+++ b/sys/arch/loongson/include/mips_opcode.h
@@ -0,0 +1,3 @@
+/* $OpenBSD: mips_opcode.h,v 1.1.1.1 2009/07/31 09:26:25 miod Exp $ */
+/* public domain */
+#include <mips64/mips_opcode.h>
diff --git a/sys/arch/loongson/include/pcb.h b/sys/arch/loongson/include/pcb.h
new file mode 100644
index 00000000000..84dd4e12220
--- /dev/null
+++ b/sys/arch/loongson/include/pcb.h
@@ -0,0 +1,3 @@
+/* $OpenBSD: pcb.h,v 1.1.1.1 2009/07/31 09:26:25 miod Exp $ */
+/* public domain */
+#include <mips64/pcb.h>
diff --git a/sys/arch/loongson/include/pmap.h b/sys/arch/loongson/include/pmap.h
new file mode 100644
index 00000000000..4d01fd87d5c
--- /dev/null
+++ b/sys/arch/loongson/include/pmap.h
@@ -0,0 +1,3 @@
+/* $OpenBSD: pmap.h,v 1.1.1.1 2009/07/31 09:26:26 miod Exp $ */
+/* public domain */
+#include <mips64/pmap.h>
diff --git a/sys/arch/loongson/include/proc.h b/sys/arch/loongson/include/proc.h
new file mode 100644
index 00000000000..098b281e7af
--- /dev/null
+++ b/sys/arch/loongson/include/proc.h
@@ -0,0 +1,3 @@
+/* $OpenBSD: proc.h,v 1.1.1.1 2009/07/31 09:26:26 miod Exp $ */
+/* public domain */
+#include <mips64/proc.h>
diff --git a/sys/arch/loongson/include/profile.h b/sys/arch/loongson/include/profile.h
new file mode 100644
index 00000000000..6a27c20acb2
--- /dev/null
+++ b/sys/arch/loongson/include/profile.h
@@ -0,0 +1,3 @@
+/* $OpenBSD: profile.h,v 1.1.1.1 2009/07/31 09:26:26 miod Exp $ */
+/* public domain */
+#include <mips64/profile.h>
diff --git a/sys/arch/loongson/include/pte.h b/sys/arch/loongson/include/pte.h
new file mode 100644
index 00000000000..05d17cb6556
--- /dev/null
+++ b/sys/arch/loongson/include/pte.h
@@ -0,0 +1,3 @@
+/* $OpenBSD: pte.h,v 1.1.1.1 2009/07/31 09:26:26 miod Exp $ */
+/* public domain */
+#include <mips64/pte.h>
diff --git a/sys/arch/loongson/include/ptrace.h b/sys/arch/loongson/include/ptrace.h
new file mode 100644
index 00000000000..6c699c348f3
--- /dev/null
+++ b/sys/arch/loongson/include/ptrace.h
@@ -0,0 +1,3 @@
+/* $OpenBSD: ptrace.h,v 1.1.1.1 2009/07/31 09:26:26 miod Exp $ */
+/* public domain */
+#include <mips64/ptrace.h>
diff --git a/sys/arch/loongson/include/reg.h b/sys/arch/loongson/include/reg.h
new file mode 100644
index 00000000000..fe8b3572775
--- /dev/null
+++ b/sys/arch/loongson/include/reg.h
@@ -0,0 +1,3 @@
+/* $OpenBSD: reg.h,v 1.1.1.1 2009/07/31 09:26:26 miod Exp $ */
+/* public domain */
+#include <mips64/reg.h>
diff --git a/sys/arch/loongson/include/regdef.h b/sys/arch/loongson/include/regdef.h
new file mode 100644
index 00000000000..d28f74b27e1
--- /dev/null
+++ b/sys/arch/loongson/include/regdef.h
@@ -0,0 +1,3 @@
+/* $OpenBSD: regdef.h,v 1.1.1.1 2009/07/31 09:26:26 miod Exp $ */
+/* public domain */
+#include <mips64/regdef.h>
diff --git a/sys/arch/loongson/include/regnum.h b/sys/arch/loongson/include/regnum.h
new file mode 100644
index 00000000000..c8ae6905b2a
--- /dev/null
+++ b/sys/arch/loongson/include/regnum.h
@@ -0,0 +1,3 @@
+/* $OpenBSD: regnum.h,v 1.1.1.1 2009/07/31 09:26:26 miod Exp $ */
+/* public domain */
+#include <mips64/regnum.h>
diff --git a/sys/arch/loongson/include/setjmp.h b/sys/arch/loongson/include/setjmp.h
new file mode 100644
index 00000000000..0cd8cbb057a
--- /dev/null
+++ b/sys/arch/loongson/include/setjmp.h
@@ -0,0 +1,3 @@
+/* $OpenBSD: setjmp.h,v 1.1.1.1 2009/07/31 09:26:26 miod Exp $ */
+/* public domain */
+#include <mips64/setjmp.h>
diff --git a/sys/arch/loongson/include/signal.h b/sys/arch/loongson/include/signal.h
new file mode 100644
index 00000000000..af11bdfd630
--- /dev/null
+++ b/sys/arch/loongson/include/signal.h
@@ -0,0 +1,3 @@
+/* $OpenBSD: signal.h,v 1.1.1.1 2009/07/31 09:26:26 miod Exp $ */
+/* public domain */
+#include <mips64/signal.h>
diff --git a/sys/arch/loongson/include/spinlock.h b/sys/arch/loongson/include/spinlock.h
new file mode 100644
index 00000000000..2aec5812b08
--- /dev/null
+++ b/sys/arch/loongson/include/spinlock.h
@@ -0,0 +1,3 @@
+/* $OpenBSD: spinlock.h,v 1.1.1.1 2009/07/31 09:26:26 miod Exp $ */
+/* public domain */
+#include <mips64/spinlock.h>
diff --git a/sys/arch/loongson/include/stdarg.h b/sys/arch/loongson/include/stdarg.h
new file mode 100644
index 00000000000..b6eeb01c5cf
--- /dev/null
+++ b/sys/arch/loongson/include/stdarg.h
@@ -0,0 +1,3 @@
+/* $OpenBSD: stdarg.h,v 1.1.1.1 2009/07/31 09:26:26 miod Exp $ */
+/* public domain */
+#include <mips64/stdarg.h>
diff --git a/sys/arch/loongson/include/trap.h b/sys/arch/loongson/include/trap.h
new file mode 100644
index 00000000000..43cfc80d923
--- /dev/null
+++ b/sys/arch/loongson/include/trap.h
@@ -0,0 +1,3 @@
+/* $OpenBSD: trap.h,v 1.1.1.1 2009/07/31 09:26:26 miod Exp $ */
+/* public domain */
+#include <mips64/trap.h>
diff --git a/sys/arch/loongson/include/varargs.h b/sys/arch/loongson/include/varargs.h
new file mode 100644
index 00000000000..eb687f15b33
--- /dev/null
+++ b/sys/arch/loongson/include/varargs.h
@@ -0,0 +1,3 @@
+/* $OpenBSD: varargs.h,v 1.1.1.1 2009/07/31 09:26:26 miod Exp $ */
+/* public domain */
+#include <mips64/varargs.h>