Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch Marge hpcmips/conf/platid.def and hpcsh/conf/platid...
details: https://anonhg.NetBSD.org/src/rev/cedff2bbb3cb
branches: trunk
changeset: 503255:cedff2bbb3cb
user: takemura <takemura%NetBSD.org@localhost>
date: Sun Feb 04 05:19:14 2001 +0000
description:
Marge hpcmips/conf/platid.def and hpcsh/conf/platid.def
into hpc/conf/platid.def.
diffstat:
sys/arch/hpc/conf/platid.def | 243 +++++++++++
sys/arch/hpc/hpc/platid_copyright.awk | 4 +-
sys/arch/hpc/hpc/platid_gen/Makefile | 12 +-
sys/arch/hpc/hpc/platid_gen/gram.y | 30 +-
sys/arch/hpc/hpc/platid_gen/platid_gen.c | 29 +-
sys/arch/hpc/hpc/platid_gen/platid_gen.h | 4 +-
sys/arch/hpc/hpc/platid_gen/scan.l | 3 +-
sys/arch/hpc/hpc/platid_mask.c | 572 ++++++++++++++++++++++++++++
sys/arch/hpc/hpc/platid_name.c | 313 +++++++++++++++
sys/arch/hpc/include/platid_generated.h | 556 +++++++++++++++++++++++++++
sys/arch/hpc/include/platid_mask.h | 570 +++++++++++++++++++++++++++
sys/arch/hpcmips/conf/Makefile.platid | 5 -
sys/arch/hpcmips/conf/files.hpcmips | 6 +-
sys/arch/hpcmips/conf/platid.def | 202 ---------
sys/arch/hpcmips/hpcmips/platid_name.c | 268 -------------
sys/arch/hpcmips/include/platid_generated.h | 477 +-----------------------
sys/arch/hpcmips/include/platid_mask.h | 488 +-----------------------
17 files changed, 2309 insertions(+), 1473 deletions(-)
diffs (truncated from 4044 to 300 lines):
diff -r ea0ecc377c9d -r cedff2bbb3cb sys/arch/hpc/conf/platid.def
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/sys/arch/hpc/conf/platid.def Sun Feb 04 05:19:14 2001 +0000
@@ -0,0 +1,243 @@
+/* $NetBSD: platid.def,v 1.1 2001/02/04 05:19:14 takemura Exp $ */
+
+/*-
+ * Copyright (c) 1999-2001
+ * Shin Takemura and PocketBSD Project. 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 NetBSD
+ * Foundation, Inc. and its contributors.
+ * 4. Neither the name of The NetBSD Foundation nor the names of its
+ * contributors may be used to endorse or promote products derived
+ * from this software without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS
+ * ``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 THE FOUNDATION 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.
+ */
+
+/*
+ * CPU definitions
+ */
+CPU:
+
+#ifdef hpcmips
+MIPS {
+ VR {
+ 41XX {
+ 4102
+ 4111
+ 4121
+ }
+ }
+ TX {
+ 3900 {
+ 3911 3912
+ }
+ 3920 {
+ 3922
+ }
+ }
+}
+#endif /* hpcmips */
+
+#ifdef hpcsh
+SH {
+ 3 {
+ 7709
+ 7709A
+ }
+ 4 {
+ 7750
+ }
+}
+#endif /* hpcsh */
+
+/*
+ * MACHINE definitions
+ */
+MACHINE:
+
+#ifdef hpcmips
+NEC {
+ MCCS " MC-CS" {
+ 1X " series" {
+ CPU=MIPS_VR_4102 11 -"11" 12 -"12" 13 -"13"
+ }
+ }
+ MCR " MC-R" {
+ CPU=MIPS_VR_41XX
+ 3XX "300 series" {
+ CPU=MIPS_VR_4111 300 -"300"
+ CPU=MIPS_VR_4121 320 -"320"
+ CPU=MIPS_VR_4111 forDoCoMo --" MobileGearII for DoCoMo"
+ CPU=MIPS_VR_4102 mpro700 --" MobilePro 700"
+ CPU=MIPS_VR_4121 330 -"330"
+ }
+ 5XX "500 series" {
+ CPU=MIPS_VR_4111 500 -"500"
+ CPU=MIPS_VR_4121 510 -"510" 520 -"520" 520A --" MobilePro 770"
+ CPU=MIPS_VR_4111 500A --" MobilePro 750c"
+ CPU=MIPS_VR_4121 530 -"530" 430 -"430" 530A --" MobilePro 780"
+ sigmarion ---"DoCoMo sigmarion"
+ }
+ 7XX "700 series" {
+ CPU=MIPS_VR_4121 700 -"700" 700A --" MobilePro 800"
+ 730 -"730" 730A --" MobilePro 880"
+ }
+ }
+}
+
+Everex {
+ Freestyle {
+ CPU=MIPS_VR_41XX
+ AXX {
+ CPU=MIPS_VR_4102 A10
+ CPU=MIPS_VR_4111 A15 A20
+ }
+ }
+}
+
+CASIO {
+ CassiopeiaE " Cassiopeia" {
+ EXX {
+ CPU=MIPS_VR_4111 E10 E11 E15
+ E55 -" E-55"
+ forDoCoMo -" for DoCoMo"
+ E65 -" E-65"
+ }
+ EXXX {
+ CPU=MIPS_VR_4121 E100 E105 E500 E507
+ }
+ }
+}
+
+Sharp {
+ Tripad {
+ PV {
+ CPU=MIPS_VR_4111 PV6000
+ }
+ }
+ Telios {
+ HC {
+ CPU=MIPS_TX_3922 HCAJ1 --" HC-AJ1/AJ2"
+ CPU=MIPS_TX_3922 HCVJ1C_JP --" HC-VJ1C (Japanese)"
+ }
+ }
+ Mobilon {
+ HC {
+ CPU=MIPS_TX_3912 HC4100
+ CPU=MIPS_TX_3912 HC4500
+ CPU=MIPS_TX_3912 HC1200
+ }
+ }
+}
+
+Fujitsu {
+ INTERTOP {
+ ITXXX {
+ CPU=MIPS_VR_4121 IT300 IT310
+ }
+ }
+}
+
+Philips {
+ Nino {
+ 3XX {
+ CPU=MIPS_TX_3912 312
+ }
+ }
+}
+
+Compaq {
+ C {
+ 8XX {
+ CPU=MIPS_TX_3912 810
+ }
+ 201X {
+ CPU=MIPS_TX_3912 2010 2015
+ }
+ }
+ AERO {
+ 15XX {
+ CPU=MIPS_VR_4111 1530
+ }
+ 21XX {
+ CPU=MIPS_VR_4111 2110 2130 2140
+ }
+ }
+ PRESARIO {
+ 21X {
+ CPU=MIPS_VR_4111 213
+ }
+ }
+}
+
+Victor {
+ InterLink {
+ MP {
+ CPU=MIPS_TX_3922 MPC101
+ }
+ }
+}
+
+IBM {
+ WorkPad {
+ z50 {
+ CPU=MIPS_VR_4121 26011AU -" z50 2601 1AU"
+ }
+ }
+}
+
+VADEM {
+ CLIO {
+ C {
+ CPU=MIPS_VR_4111 C1000 "-1000"
+ CPU=MIPS_VR_4121 C1050 "-1050"
+ }
+ }
+}
+#endif /* hpcmips */
+
+#ifdef hpcsh
+HP {
+ LX {
+ CPU=SH_3_7709
+ 620 --" HP620LX"
+ 620JP --" HP620LX (Japanese)"
+ }
+ JORNADA " Jornada" {
+ 6XX {
+ CPU=SH_3_7709A
+ 680
+ 680JP -"680 (Japanese)"
+ 690
+ 690JP -"690 (Japanese)"
+ }
+ }
+}
+
+LGE {
+ Phenom "Phenom" {
+ CPU=SH_3_7709
+ H220C -" H-220C"
+ }
+}
+#endif /* hpcsh */
diff -r ea0ecc377c9d -r cedff2bbb3cb sys/arch/hpc/hpc/platid_copyright.awk
--- a/sys/arch/hpc/hpc/platid_copyright.awk Sun Feb 04 01:31:54 2001 +0000
+++ b/sys/arch/hpc/hpc/platid_copyright.awk Sun Feb 04 05:19:14 2001 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: platid_copyright.awk,v 1.1 2001/01/28 02:52:22 uch Exp $
+# $NetBSD: platid_copyright.awk,v 1.2 2001/02/04 05:19:14 takemura Exp $
#
# Copyright (c) 1999
# Shin Takemura and PocketBSD Project. All rights reserved.
@@ -35,7 +35,7 @@
#
BEGIN{
words = ""
- printf("/* $NetBSD: platid_copyright.awk,v 1.1 2001/01/28 02:52:22 uch Exp $ */\n\n")
+ printf("/* %sNetBSD: %s */\n\n", "$", "$")
}
/\/\*/,/\*\//{
words=sprintf("%s%s\n", words, $0)
diff -r ea0ecc377c9d -r cedff2bbb3cb sys/arch/hpc/hpc/platid_gen/Makefile
--- a/sys/arch/hpc/hpc/platid_gen/Makefile Sun Feb 04 01:31:54 2001 +0000
+++ b/sys/arch/hpc/hpc/platid_gen/Makefile Sun Feb 04 05:19:14 2001 +0000
@@ -1,11 +1,11 @@
-# $NetBSD: Makefile,v 1.1 2001/01/28 02:52:24 uch Exp $
+# $NetBSD: Makefile,v 1.2 2001/02/04 05:19:14 takemura Exp $
S= ../../../..
-GENHDR = $S/arch/${MACHINE}/include/platid_generated.h
-MASK_H = $S/arch/${MACHINE}/include/platid_mask.h
-MASK_C = $S/arch/${MACHINE}/${MACHINE}/platid_mask.c
-NAME_C = $S/arch/${MACHINE}/${MACHINE}/platid_name.c
+GENHDR = $S/arch/hpc/include/platid_generated.h
+MASK_H = $S/arch/hpc/include/platid_mask.h
+MASK_C = $S/arch/hpc/hpc/platid_mask.c
+NAME_C = $S/arch/hpc/hpc/platid_name.c
GENERATEDS = ${GENHDR} ${MASK_H} ${MASK_C} ${NAME_C}
PROG = platid_gen
@@ -21,7 +21,7 @@
all: ${PROG} ${GENERATEDS}
-DEFFILE = $S/arch/${MACHINE}/conf/platid.def
+DEFFILE = $S/arch/hpc/conf/platid.def
PLATIDGEN = $S/arch/hpc/hpc/platid_gen/${PROG}
${GENHDR}: ${DEFFILE}
diff -r ea0ecc377c9d -r cedff2bbb3cb sys/arch/hpc/hpc/platid_gen/gram.y
--- a/sys/arch/hpc/hpc/platid_gen/gram.y Sun Feb 04 01:31:54 2001 +0000
+++ b/sys/arch/hpc/hpc/platid_gen/gram.y Sun Feb 04 05:19:14 2001 +0000
@@ -1,5 +1,5 @@
%{
-/* $NetBSD: gram.y,v 1.1 2001/01/28 02:52:24 uch Exp $ */
Home |
Main Index |
Thread Index |
Old Index