summaryrefslogtreecommitdiff
path: root/sys/arch/octeon/include/param.h
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2013-03-23 16:12:32 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2013-03-23 16:12:32 +0000
commit73c9f13809997febbf178be4123a0352ee8b8312 (patch)
tree4a514d179014528fcaa112abb942d619dc1ae9ca /sys/arch/octeon/include/param.h
parent3ea8990ba9276efe1c2bbde129074f8dd9b8c992 (diff)
refactor sys/param.h and machine/param.h. A lot of #ifdef _KERNEL is added
to keep definitions our of user space. The MD files now follow a consistant order -- all namespace intrusion is at the tail can be cleaned up independently. locore, bootblocks, and libkvm still see enough visibility to build. Checked on 90% of platforms...
Diffstat (limited to 'sys/arch/octeon/include/param.h')
-rw-r--r--sys/arch/octeon/include/param.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/sys/arch/octeon/include/param.h b/sys/arch/octeon/include/param.h
index 8fb5164ec3a..e5cab7ef18b 100644
--- a/sys/arch/octeon/include/param.h
+++ b/sys/arch/octeon/include/param.h
@@ -1,18 +1,18 @@
-/* $OpenBSD: param.h,v 1.3 2011/06/25 19:38:47 miod Exp $ */
-/* public domain */
+/* $OpenBSD: param.h,v 1.4 2013/03/23 16:12:26 deraadt Exp $ */
-#ifndef _MACHINE_PARAM_H_
-#define _MACHINE_PARAM_H_
+/* Public Domain */
+
+#ifndef _MACHINE_PARAM_H_
+#define _MACHINE_PARAM_H_
#define MACHINE "octeon"
#define _MACHINE octeon
-#define MACHINE_ARCH "mips64"
-#define _MACHINE_ARCH mips64
-
-#define MID_MACHINE MID_MIPS64
+#define MACHINE_ARCH "mips64"
+#define _MACHINE_ARCH mips64
+#define MID_MACHINE MID_MIPS64
#define PAGE_SHIFT 14
#include <mips64/param.h>
-#endif /* _MACHINE_PARAM_H_ */
+#endif /* _MACHINE_PARAM_H_ */