Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/arc/include - _MACHINE_ARCH was undefined, MACHINE_...



details:   https://anonhg.NetBSD.org/src/rev/1a769daadbcb
branches:  trunk
changeset: 481370:1a769daadbcb
user:      soda <soda%NetBSD.org@localhost>
date:      Thu Jan 27 07:50:02 2000 +0000

description:
- _MACHINE_ARCH was undefined, MACHINE_ARCH was wrong.
 - make "make includes" work

diffstat:

 sys/arch/arc/include/param.h |  11 ++++++-----
 1 files changed, 6 insertions(+), 5 deletions(-)

diffs (41 lines):

diff -r db37debceaa9 -r 1a769daadbcb sys/arch/arc/include/param.h
--- a/sys/arch/arc/include/param.h      Thu Jan 27 07:49:13 2000 +0000
+++ b/sys/arch/arc/include/param.h      Thu Jan 27 07:50:02 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: param.h,v 1.11 2000/01/23 21:01:57 soda Exp $  */
+/*     $NetBSD: param.h,v 1.12 2000/01/27 07:50:02 soda Exp $  */
 /*      $OpenBSD: param.h,v 1.9 1997/04/30 09:54:15 niklas Exp $ */
 
 /*
@@ -57,10 +57,11 @@
  *     Deskstation Tyne
  *     Etc
  */
+#define        _MACHINE_ARCH   mipsel
+#define        MACHINE_ARCH    "mipsel"
 #define        _MACHINE        arc
 #define        MACHINE         "arc"
-#define MACHINE_ARCH   "mips"
-#define MID_MACHINE    MID_PMAX        /* XXX Bogus, but needed for now... */
+#define        MID_MACHINE     MID_PMAX        /* XXX Bogus, but needed for now... */
 
 #define        KERNBASE        0x80000000      /* start of kernel virtual */
 #define        BTOPKERNBASE    ((u_long)KERNBASE >> PGSHIFT)
@@ -120,8 +121,6 @@
 #define        btodb(x)        ((x) >> DEV_BSHIFT)
 #define dbtob(x)       ((x) << DEV_BSHIFT)
 
-#include <machine/intr.h>
-
 #ifdef _KERNEL
 #ifndef _LOCORE
 
@@ -138,6 +137,8 @@
 #define        DELAY(n)        { register int N = cpuspeed * (n); while ((N -= 3) > 0); }
 #endif
 
+#include <machine/intr.h>
+
 #endif /* _LOCORE */
 #endif /* _KERNEL */
 



Home | Main Index | Thread Index | Old Index