summaryrefslogtreecommitdiff
path: root/sys/arch/gumstix/include/param.h
diff options
context:
space:
mode:
authorDale Rahn <drahn@cvs.openbsd.org>2008-11-26 14:18:12 +0000
committerDale Rahn <drahn@cvs.openbsd.org>2008-11-26 14:18:12 +0000
commit031612618bdded5842da71a53949df29d0c35645 (patch)
tree0373bf0a1e82262ee01903ad2208456a47fd050e /sys/arch/gumstix/include/param.h
parent5eae87e9dd0a3373254a274997e646ef26ff422a (diff)
Initial port of OpenBSD to the (xscale based) gumstix, work in progress.
Most bits cloned from zaurus.
Diffstat (limited to 'sys/arch/gumstix/include/param.h')
-rw-r--r--sys/arch/gumstix/include/param.h51
1 files changed, 51 insertions, 0 deletions
diff --git a/sys/arch/gumstix/include/param.h b/sys/arch/gumstix/include/param.h
new file mode 100644
index 00000000000..ff478a1e9c9
--- /dev/null
+++ b/sys/arch/gumstix/include/param.h
@@ -0,0 +1,51 @@
+/* $OpenBSD: param.h,v 1.1 2008/11/26 14:18:11 drahn Exp $ */
+/* $NetBSD: param.h,v 1.4 2002/02/12 06:58:19 thorpej Exp $ */
+
+/*
+ * Copyright (c) 1994,1995 Mark Brinicombe.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
+ * 3. All advertising materials mentioning features or use of this software
+ * must display the following acknowledgement:
+ * This product includes software developed by the RiscBSD team.
+ * 4. The name "RiscBSD" nor the name of the author may be used to
+ * endorse or promote products derived from this software without specific
+ * prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY RISCBSD ``AS IS'' AND ANY EXPRESS OR IMPLIED
+ * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+ * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
+ * IN NO EVENT SHALL RISCBSD OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
+ * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
+ * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
+ * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+ * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+ * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+ * SUCH DAMAGE.
+ */
+
+#ifndef _ZAURUS_PARAM_H_
+#define _ZAURUS_PARAM_H_
+
+/*
+ * 1 page should be enough
+ */
+#ifndef MSGBUFSIZE
+#define MSGBUFSIZE (1*NBPG)
+#endif
+
+#include <arm/param.h>
+
+#define _MACHINE gumstix
+#define MACHINE "gumstix"
+
+#endif /* _ZAURUS_PARAM_H_ */