summaryrefslogtreecommitdiff
path: root/sys/arch
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2009-08-04 20:26:40 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2009-08-04 20:26:40 +0000
commit2e4e588bfd06481ea41f15b947726a7a4161e403 (patch)
treec1b4458a5fbf18c983dc25582dd3f68703bb0788 /sys/arch
parent50c0c504007b854a4d752f7b01726e35f9f34156 (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.
Diffstat (limited to 'sys/arch')
-rw-r--r--sys/arch/loongson/include/disklabel.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/sys/arch/loongson/include/disklabel.h b/sys/arch/loongson/include/disklabel.h
new file mode 100644
index 00000000000..1496a28b19c
--- /dev/null
+++ b/sys/arch/loongson/include/disklabel.h
@@ -0,0 +1,11 @@
+/* $OpenBSD: disklabel.h,v 1.1.1.1 2009/08/04 20:26:39 miod Exp $ */
+/* public domain */
+
+/*
+ * Standard MBR partition scheme, with the label in the second sector
+ * of the OpenBSD partition.
+ */
+
+#define LABELSECTOR 1
+#define LABELOFFSET 0
+#define MAXPARTITIONS 16