Module Name: src
Committed By: matt
Date: Sat Sep 12 17:17:05 UTC 2009
Modified Files:
src/sys/arch/mips/include [matt-nb5-mips64]: mips_param.h
Log Message:
Add MACHINE32_ARCH definitions.
To generate a diff of this commit:
cvs rdiff -u -r1.23.78.3 -r1.23.78.4 src/sys/arch/mips/include/mips_param.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/arch/mips/include/mips_param.h
diff -u src/sys/arch/mips/include/mips_param.h:1.23.78.3 src/sys/arch/mips/include/mips_param.h:1.23.78.4
--- src/sys/arch/mips/include/mips_param.h:1.23.78.3 Mon Sep 7 21:50:24 2009
+++ src/sys/arch/mips/include/mips_param.h Sat Sep 12 17:17:05 2009
@@ -1,4 +1,4 @@
-/* $NetBSD: mips_param.h,v 1.23.78.3 2009/09/07 21:50:24 matt Exp $ */
+/* $NetBSD: mips_param.h,v 1.23.78.4 2009/09/12 17:17:05 matt Exp $ */
#ifdef _KERNEL
#include <machine/cpu.h>
@@ -11,6 +11,8 @@
# if defined(__mips_n32) || defined(__mips_n64)
# define _MACHINE_ARCH mips64eb
# define MACHINE_ARCH "mips64eb"
+# define _MACHINE32_ARCH mipseb
+# define MACHINE32_ARCH "mipseb"
# else
# define _MACHINE_ARCH mipseb
# define MACHINE_ARCH "mipseb"
@@ -19,6 +21,8 @@
# if defined(__mips_n32) || defined(__mips_n64)
# define _MACHINE_ARCH mips64el
# define MACHINE_ARCH "mips64el"
+# define _MACHINE32_ARCH mipsel
+# define MACHINE32_ARCH "mipsel"
# else
# define _MACHINE_ARCH mipsel
# define MACHINE_ARCH "mipsel"