Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/hpcmips Add platform ID of MC-R430.



details:   https://anonhg.NetBSD.org/src/rev/17a9bdb765a0
branches:  trunk
changeset: 480878:17a9bdb765a0
user:      takemura <takemura%NetBSD.org@localhost>
date:      Sat Jan 22 10:51:29 2000 +0000

description:
Add platform ID of MC-R430.

diffstat:

 sys/arch/hpcmips/hpcmips/platid.def         |  4 ++--
 sys/arch/hpcmips/hpcmips/platid_mask.c      |  6 +++++-
 sys/arch/hpcmips/include/platid_generated.h |  6 +++++-
 sys/arch/hpcmips/include/platid_mask.h      |  6 +++++-
 4 files changed, 17 insertions(+), 5 deletions(-)

diffs (78 lines):

diff -r b2518298139a -r 17a9bdb765a0 sys/arch/hpcmips/hpcmips/platid.def
--- a/sys/arch/hpcmips/hpcmips/platid.def       Sat Jan 22 10:22:55 2000 +0000
+++ b/sys/arch/hpcmips/hpcmips/platid.def       Sat Jan 22 10:51:29 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: platid.def,v 1.12 2000/01/06 18:07:53 uch Exp $        */
+/*     $NetBSD: platid.def,v 1.13 2000/01/22 10:51:29 takemura Exp $   */
 
 /*-
  * Copyright (c) 1999
@@ -79,7 +79,7 @@
       CPU=MIPS_VR_4111 500
       CPU=MIPS_VR_4121 510 520 520A
       CPU=MIPS_VR_4111 500A
-      CPU=MIPS_VR_4121 530
+      CPU=MIPS_VR_4121 530 430
     }
     7XX {
       CPU=MIPS_VR_4121 700 700A
diff -r b2518298139a -r 17a9bdb765a0 sys/arch/hpcmips/hpcmips/platid_mask.c
--- a/sys/arch/hpcmips/hpcmips/platid_mask.c    Sat Jan 22 10:22:55 2000 +0000
+++ b/sys/arch/hpcmips/hpcmips/platid_mask.c    Sat Jan 22 10:51:29 2000 +0000
@@ -1,4 +1,4 @@
-/* $Id: platid_mask.c,v 1.13 2000/01/06 18:08:54 uch Exp $ */
+/* $Id: platid_mask.c,v 1.14 2000/01/22 10:51:29 takemura Exp $ */
 
 /*-
  * Copyright (c) 1999
@@ -158,6 +158,10 @@
        PLATID_CPU_MIPS_VR_4121,
        PLATID_MACH_NEC_MCR_530
 }};
+platid_t platid_mask_MACH_NEC_MCR_430 = {{
+       PLATID_CPU_MIPS_VR_4121,
+       PLATID_MACH_NEC_MCR_430
+}};
 platid_t platid_mask_MACH_NEC_MCR_7XX = {{
        PLATID_CPU_MIPS_VR_41XX,
        PLATID_MACH_NEC_MCR_7XX
diff -r b2518298139a -r 17a9bdb765a0 sys/arch/hpcmips/include/platid_generated.h
--- a/sys/arch/hpcmips/include/platid_generated.h       Sat Jan 22 10:22:55 2000 +0000
+++ b/sys/arch/hpcmips/include/platid_generated.h       Sat Jan 22 10:51:29 2000 +0000
@@ -1,4 +1,4 @@
-/* $Id: platid_generated.h,v 1.12 2000/01/06 18:08:54 uch Exp $ */
+/* $Id: platid_generated.h,v 1.13 2000/01/22 10:51:29 takemura Exp $ */
 
 /*-
  * Copyright (c) 1999
@@ -155,6 +155,10 @@
 #define PLATID_MACH_NEC_MCR_530        \
   ((PLATID_MACH_NEC_MCR_530_NUM << PLATID_SUBMODEL_SHIFT)| \
     PLATID_MACH_NEC_MCR_5XX)
+#define PLATID_MACH_NEC_MCR_430_NUM    7
+#define PLATID_MACH_NEC_MCR_430        \
+  ((PLATID_MACH_NEC_MCR_430_NUM << PLATID_SUBMODEL_SHIFT)| \
+    PLATID_MACH_NEC_MCR_5XX)
 #define PLATID_MACH_NEC_MCR_7XX_NUM    3
 #define PLATID_MACH_NEC_MCR_7XX        \
   ((PLATID_MACH_NEC_MCR_7XX_NUM << PLATID_MODEL_SHIFT)| \
diff -r b2518298139a -r 17a9bdb765a0 sys/arch/hpcmips/include/platid_mask.h
--- a/sys/arch/hpcmips/include/platid_mask.h    Sat Jan 22 10:22:55 2000 +0000
+++ b/sys/arch/hpcmips/include/platid_mask.h    Sat Jan 22 10:51:29 2000 +0000
@@ -1,4 +1,4 @@
-/* $Id: platid_mask.h,v 1.12 2000/01/06 18:08:54 uch Exp $ */
+/* $Id: platid_mask.h,v 1.13 2000/01/22 10:51:30 takemura Exp $ */
 
 /*-
  * Copyright (c) 1999
@@ -157,6 +157,10 @@
 #ifdef PLATID_DEFINE_MASK_NICKNAME
 #  define NEC_MCR_530 ((int)&platid_mask_MACH_NEC_MCR_530)
 #endif
+extern platid_t platid_mask_MACH_NEC_MCR_430;
+#ifdef PLATID_DEFINE_MASK_NICKNAME
+#  define NEC_MCR_430 ((int)&platid_mask_MACH_NEC_MCR_430)
+#endif
 extern platid_t platid_mask_MACH_NEC_MCR_7XX;
 #ifdef PLATID_DEFINE_MASK_NICKNAME
 #  define NEC_MCR_7XX ((int)&platid_mask_MACH_NEC_MCR_7XX)



Home | Main Index | Thread Index | Old Index