Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/hpc bootloader for SH3, SA-1100, TX39, VR41 based W...



details:   https://anonhg.NetBSD.org/src/rev/3063e4588118
branches:  trunk
changeset: 503587:3063e4588118
user:      uch <uch%NetBSD.org@localhost>
date:      Fri Feb 09 18:34:01 2001 +0000

description:
bootloader for SH3, SA-1100, TX39, VR41 based Windows CE(2.00 or later)

diffstat:

 sys/arch/hpc/conf/platid.def                                   |    38 +-
 sys/arch/hpc/hpc/platid_mask.c                                 |    54 +-
 sys/arch/hpc/hpc/platid_name.c                                 |    38 +-
 sys/arch/hpc/include/platid_generated.h                        |    53 +-
 sys/arch/hpc/include/platid_mask.h                             |    54 +-
 sys/arch/hpc/stand/Makefile                                    |    58 +
 sys/arch/hpc/stand/binary/ARM/hpcboot.exe.uu                   |  1972 ++++++++
 sys/arch/hpc/stand/binary/MIPS/hpcboot.exe.uu                  |  2234 ++++++++++
 sys/arch/hpc/stand/binary/SH3/hpcboot.exe.uu                   |  1699 +++++++
 sys/arch/hpc/stand/dspgen/Makefile                             |    20 +
 sys/arch/hpc/stand/dspgen/config.sh                            |    45 +
 sys/arch/hpc/stand/dspgen/do_subst.awk                         |   202 +
 sys/arch/hpc/stand/dspgen/do_subst.sh                          |    66 +
 sys/arch/hpc/stand/dspgen/gen_template.sh                      |   263 +
 sys/arch/hpc/stand/dspgen/gen_workspace.sh                     |   100 +
 sys/arch/hpc/stand/dspgen/tmpl.evc3/application.ARMDebug       |    12 +
 sys/arch/hpc/stand/dspgen/tmpl.evc3/application.ARMRelease     |    12 +
 sys/arch/hpc/stand/dspgen/tmpl.evc3/application.MIPSDebug      |    12 +
 sys/arch/hpc/stand/dspgen/tmpl.evc3/application.MIPSRelease    |    12 +
 sys/arch/hpc/stand/dspgen/tmpl.evc3/application.SH3Debug       |    12 +
 sys/arch/hpc/stand/dspgen/tmpl.evc3/application.SH3Release     |    12 +
 sys/arch/hpc/stand/dspgen/tmpl.evc3/application.SH4Debug       |    12 +
 sys/arch/hpc/stand/dspgen/tmpl.evc3/application.SH4Release     |    12 +
 sys/arch/hpc/stand/dspgen/tmpl.evc3/config.defadd              |     3 +
 sys/arch/hpc/stand/dspgen/tmpl.evc3/config.defprop             |    10 +
 sys/arch/hpc/stand/dspgen/tmpl.evc3/header                     |     3 +
 sys/arch/hpc/stand/dspgen/tmpl.evc3/project                    |     5 +
 sys/arch/hpc/stand/dspgen/tmpl.evc3/static_library.ARMDebug    |     6 +
 sys/arch/hpc/stand/dspgen/tmpl.evc3/static_library.ARMRelease  |     6 +
 sys/arch/hpc/stand/dspgen/tmpl.evc3/static_library.MIPSDebug   |     6 +
 sys/arch/hpc/stand/dspgen/tmpl.evc3/static_library.MIPSRelease |     6 +
 sys/arch/hpc/stand/dspgen/tmpl.evc3/static_library.SH3Debug    |     6 +
 sys/arch/hpc/stand/dspgen/tmpl.evc3/static_library.SH3Release  |     6 +
 sys/arch/hpc/stand/dspgen/tmpl.evc3/static_library.SH4Debug    |     7 +
 sys/arch/hpc/stand/dspgen/tmpl.evc3/static_library.SH4Release  |     6 +
 sys/arch/hpc/stand/dspgen/tmpl.vc6/application.ARMDebug        |    14 +
 sys/arch/hpc/stand/dspgen/tmpl.vc6/application.ARMRelease      |    14 +
 sys/arch/hpc/stand/dspgen/tmpl.vc6/application.MIPSDebug       |    14 +
 sys/arch/hpc/stand/dspgen/tmpl.vc6/application.MIPSRelease     |    14 +
 sys/arch/hpc/stand/dspgen/tmpl.vc6/application.SH3Debug        |    14 +
 sys/arch/hpc/stand/dspgen/tmpl.vc6/application.SH3Release      |    14 +
 sys/arch/hpc/stand/dspgen/tmpl.vc6/application.SH4Debug        |    14 +
 sys/arch/hpc/stand/dspgen/tmpl.vc6/application.SH4Release      |    14 +
 sys/arch/hpc/stand/dspgen/tmpl.vc6/config.defadd               |     3 +
 sys/arch/hpc/stand/dspgen/tmpl.vc6/config.defprop              |    10 +
 sys/arch/hpc/stand/dspgen/tmpl.vc6/header                      |     4 +
 sys/arch/hpc/stand/dspgen/tmpl.vc6/project                     |     7 +
 sys/arch/hpc/stand/dspgen/tmpl.vc6/static_library.ARMDebug     |     6 +
 sys/arch/hpc/stand/dspgen/tmpl.vc6/static_library.ARMRelease   |     6 +
 sys/arch/hpc/stand/dspgen/tmpl.vc6/static_library.MIPSDebug    |     6 +
 sys/arch/hpc/stand/dspgen/tmpl.vc6/static_library.MIPSRelease  |     6 +
 sys/arch/hpc/stand/dspgen/tmpl.vc6/static_library.SH3Debug     |     6 +
 sys/arch/hpc/stand/dspgen/tmpl.vc6/static_library.SH3Release   |     6 +
 sys/arch/hpc/stand/dspgen/tmpl.vc6/static_library.SH4Debug     |     6 +
 sys/arch/hpc/stand/dspgen/tmpl.vc6/static_library.SH4Release   |     6 +
 sys/arch/hpc/stand/hpcboot/arch.cpp                            |   203 +
 sys/arch/hpc/stand/hpcboot/arch.h                              |    85 +
 sys/arch/hpc/stand/hpcboot/arm/arm.asm                         |   498 ++
 sys/arch/hpc/stand/hpcboot/arm/arm_arch.cpp                    |   181 +
 sys/arch/hpc/stand/hpcboot/arm/arm_arch.h                      |   106 +
 sys/arch/hpc/stand/hpcboot/arm/arm_boot.cpp                    |   126 +
 sys/arch/hpc/stand/hpcboot/arm/arm_boot.h                      |    52 +
 sys/arch/hpc/stand/hpcboot/arm/arm_console.cpp                 |    88 +
 sys/arch/hpc/stand/hpcboot/arm/arm_console.h                   |    79 +
 sys/arch/hpc/stand/hpcboot/arm/arm_mmu.cpp                     |   127 +
 sys/arch/hpc/stand/hpcboot/arm/arm_mmu.h                       |    94 +
 sys/arch/hpc/stand/hpcboot/arm/arm_sa1100.h                    |    61 +
 sys/arch/hpc/stand/hpcboot/arm/elf_machdep.h                   |     3 +
 sys/arch/hpc/stand/hpcboot/boot.cpp                            |   173 +
 sys/arch/hpc/stand/hpcboot/boot.h                              |    80 +
 sys/arch/hpc/stand/hpcboot/console.cpp                         |   123 +
 sys/arch/hpc/stand/hpcboot/console.h                           |    89 +
 sys/arch/hpc/stand/hpcboot/file.cpp                            |    87 +
 sys/arch/hpc/stand/hpcboot/file.h                              |   113 +
 sys/arch/hpc/stand/hpcboot/file_fat.cpp                        |   119 +
 sys/arch/hpc/stand/hpcboot/file_fat.h                          |    63 +
 sys/arch/hpc/stand/hpcboot/file_http.cpp                       |   341 +
 sys/arch/hpc/stand/hpcboot/file_http.h                         |   108 +
 sys/arch/hpc/stand/hpcboot/file_manager.cpp                    |   343 +
 sys/arch/hpc/stand/hpcboot/file_ufs.cpp                        |   155 +
 sys/arch/hpc/stand/hpcboot/file_ufs.h                          |    66 +
 sys/arch/hpc/stand/hpcboot/framebuffer.cpp                     |   167 +
 sys/arch/hpc/stand/hpcboot/framebuffer.h                       |    63 +
 sys/arch/hpc/stand/hpcboot/hpcboot.config                      |    82 +
 sys/arch/hpc/stand/hpcboot/hpcboot.cpp                         |   248 +
 sys/arch/hpc/stand/hpcboot/hpcboot.h                           |   151 +
 sys/arch/hpc/stand/hpcboot/hpcdefs.h                           |    53 +
 sys/arch/hpc/stand/hpcboot/hpcmenu.cpp                         |   585 ++
 sys/arch/hpc/stand/hpcboot/hpcmenu.h                           |   226 +
 sys/arch/hpc/stand/hpcboot/load.cpp                            |   223 +
 sys/arch/hpc/stand/hpcboot/load.h                              |    92 +
 sys/arch/hpc/stand/hpcboot/load_coff.cpp                       |   140 +
 sys/arch/hpc/stand/hpcboot/load_coff.h                         |    71 +
 sys/arch/hpc/stand/hpcboot/load_elf.cpp                        |   162 +
 sys/arch/hpc/stand/hpcboot/load_elf.h                          |    69 +
 sys/arch/hpc/stand/hpcboot/memory.cpp                          |   366 +
 sys/arch/hpc/stand/hpcboot/memory.h                            |   198 +
 sys/arch/hpc/stand/hpcboot/menu/platform.cpp                   |    77 +
 sys/arch/hpc/stand/hpcboot/menu/platid.c                       |     9 +
 sys/arch/hpc/stand/hpcboot/menu/platid_mask.c                  |     3 +
 sys/arch/hpc/stand/hpcboot/menu/platid_name.c                  |     5 +
 sys/arch/hpc/stand/hpcboot/menu/rootwindow.cpp                 |   307 +
 sys/arch/hpc/stand/hpcboot/menu/rootwindow.h                   |   110 +
 sys/arch/hpc/stand/hpcboot/menu/tabwindow.cpp                  |   141 +
 sys/arch/hpc/stand/hpcboot/menu/tabwindow.h                    |   122 +
 sys/arch/hpc/stand/hpcboot/menu/window.cpp                     |    95 +
 sys/arch/hpc/stand/hpcboot/menu/window.h                       |    64 +
 sys/arch/hpc/stand/hpcboot/mips/elf_machdep.h                  |     3 +
 sys/arch/hpc/stand/hpcboot/mips/mips_arch.cpp                  |   158 +
 sys/arch/hpc/stand/hpcboot/mips/mips_arch.h                    |   146 +
 sys/arch/hpc/stand/hpcboot/mips/mips_boot.cpp                  |   147 +
 sys/arch/hpc/stand/hpcboot/mips/mips_boot.h                    |    52 +
 sys/arch/hpc/stand/hpcboot/mips/mips_tx39.cpp                  |    79 +
 sys/arch/hpc/stand/hpcboot/mips/mips_tx39.h                    |   102 +
 sys/arch/hpc/stand/hpcboot/mips/mips_vr41.cpp                  |    79 +
 sys/arch/hpc/stand/hpcboot/mips/mips_vr41.h                    |    90 +
 sys/arch/hpc/stand/hpcboot/res/console.bmp                     |   Bin 
 sys/arch/hpc/stand/hpcboot/res/hpcboot.ico                     |   Bin 
 sys/arch/hpc/stand/hpcboot/res/hpcmenu.rc                      |   139 +
 sys/arch/hpc/stand/hpcboot/res/kernel.bmp                      |   Bin 
 sys/arch/hpc/stand/hpcboot/res/option.bmp                      |   Bin 
 sys/arch/hpc/stand/hpcboot/res/resource.h                      |   133 +
 sys/arch/hpc/stand/hpcboot/sh3/coff_machdep.h                  |     3 +
 sys/arch/hpc/stand/hpcboot/sh3/elf_machdep.h                   |     3 +
 sys/arch/hpc/stand/hpcboot/sh3/scifreg.h                       |   151 +
 sys/arch/hpc/stand/hpcboot/sh3/sh3.h                           |   251 +
 sys/arch/hpc/stand/hpcboot/sh3/sh_7707.h                       |    55 +
 sys/arch/hpc/stand/hpcboot/sh3/sh_7709.h                       |    69 +
 sys/arch/hpc/stand/hpcboot/sh3/sh_7709a.h                      |    69 +
 sys/arch/hpc/stand/hpcboot/sh3/sh_arch.cpp                     |   379 +
 sys/arch/hpc/stand/hpcboot/sh3/sh_arch.h                       |   164 +
 sys/arch/hpc/stand/hpcboot/sh3/sh_boot.cpp                     |   137 +
 sys/arch/hpc/stand/hpcboot/sh3/sh_boot.h                       |    52 +
 sys/arch/hpc/stand/hpcboot/sh3/sh_console.cpp                  |    55 +
 sys/arch/hpc/stand/hpcboot/sh3/sh_console.h                    |    71 +
 sys/arch/hpc/stand/hpcboot/sh3/sh_mmu.cpp                      |   100 +
 sys/arch/hpc/stand/hpcboot/sh3/sh_mmu.h                        |    60 +
 sys/arch/hpc/stand/include/exec_coff.h                         |     3 +
 sys/arch/hpc/stand/include/exec_elf.h                          |     3 +
 sys/arch/hpc/stand/include/machine/ansi.h                      |    15 +
 sys/arch/hpc/stand/include/machine/bootinfo.h                  |     3 +
 sys/arch/hpc/stand/include/machine/bswap.h                     |     9 +
 sys/arch/hpc/stand/include/machine/cdefs.h                     |     8 +
 sys/arch/hpc/stand/include/machine/coff_machdep.h              |     9 +
 sys/arch/hpc/stand/include/machine/disklabel.h                 |    11 +
 sys/arch/hpc/stand/include/machine/elf_machdep.h               |    14 +
 sys/arch/hpc/stand/include/machine/endian.h                    |     5 +
 sys/arch/hpc/stand/include/machine/endian_machdep.h            |    12 +
 sys/arch/hpc/stand/include/machine/int_types.h                 |    28 +
 sys/arch/hpc/stand/include/machine/limits.h                    |    30 +
 sys/arch/hpc/stand/include/machine/param.h                     |     8 +
 sys/arch/hpc/stand/include/machine/platid.h                    |    12 +
 sys/arch/hpc/stand/include/machine/platid_generated.h          |     3 +
 sys/arch/hpc/stand/include/machine/platid_mask.h               |     5 +
 sys/arch/hpc/stand/include/machine/signal.h                    |     3 +
 sys/arch/hpc/stand/include/machine/stdarg.h                    |     1 +
 sys/arch/hpc/stand/include/machine/types.h                     |    38 +
 sys/arch/hpc/stand/libsa/alloc.c                               |    46 +
 sys/arch/hpc/stand/libsa/compat.h                              |    47 +
 sys/arch/hpc/stand/libsa/diskio.h                              |    58 +
 sys/arch/hpc/stand/libsa/libsa.config                          |    42 +
 sys/arch/hpc/stand/libsa/panic.c                               |    46 +
 sys/arch/hpc/stand/libsa/stand.h                               |    53 +
 sys/arch/hpc/stand/libsa/winblk.c                              |   341 +
 sys/arch/hpc/stand/libsa/winblk.h                              |    42 +
 sys/arch/hpc/stand/libsa/winprintf.c                           |    65 +
 sys/arch/hpc/stand/libz/libz.config                            |    35 +
 sys/arch/hpc/stand/libz/stddef.h                               |     4 +
 sys/arch/hpc/stand/libz/zlib.h                                 |     1 +
 169 files changed, 18371 insertions(+), 14 deletions(-)

diffs (truncated from 19181 to 300 lines):

diff -r e6ce10baa5f8 -r 3063e4588118 sys/arch/hpc/conf/platid.def
--- a/sys/arch/hpc/conf/platid.def      Fri Feb 09 17:50:44 2001 +0000
+++ b/sys/arch/hpc/conf/platid.def      Fri Feb 09 18:34:01 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: platid.def,v 1.1 2001/02/04 05:19:14 takemura Exp $    */
+/*     $NetBSD: platid.def,v 1.2 2001/02/09 18:34:01 uch Exp $ */
 
 /*-
  * Copyright (c) 1999-2001
@@ -70,6 +70,15 @@
 }
 #endif /* hpcsh */
 
+#ifdef hpcarm
+ARM {
+       STRONGARM {
+               SA1100
+               SA1110
+       }
+}
+#endif /* hpcarm */
+
 /*
  *  MACHINE definitions
  */
@@ -220,20 +229,27 @@
 HP {
        LX {
                CPU=SH_3_7709
-                       620 --" HP620LX"
-                       620JP --" HP620LX (Japanese)"
+                       620 --"HP620LX"
+                       620JP --"HP620LX (Japanese)"
        }
        JORNADA " Jornada" {
                6XX {
                        CPU=SH_3_7709A 
                        680
-                       680JP -"680 (Japanese)"
+                       680JP -" 680 (Japanese)"
                        690
-                       690JP -"690 (Japanese)"
+                       690JP -" 690 (Japanese)"
                }
        }
 }
 
+HITACHI {
+       PERSONA {
+               CPU=SH_3_7709
+                       HPW230JC
+       }
+}
+
 LGE {
        Phenom "Phenom" {
                CPU=SH_3_7709
@@ -241,3 +257,15 @@
        }
 }
 #endif /* hpcsh */
+
+#ifdef hpcarm
+HP {
+       JORNADA " Jornada" {
+               8XX {
+                       CPU=ARM_STRONGARM_SA1100
+                       820
+                       820JP -" 820 (Japanese)"
+               }
+       }
+}
+#endif /* hpcarm */
diff -r e6ce10baa5f8 -r 3063e4588118 sys/arch/hpc/hpc/platid_mask.c
--- a/sys/arch/hpc/hpc/platid_mask.c    Fri Feb 09 17:50:44 2001 +0000
+++ b/sys/arch/hpc/hpc/platid_mask.c    Fri Feb 09 18:34:01 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: platid_mask.c,v 1.1 2001/02/04 05:19:14 takemura Exp $ */
+/*     $NetBSD: platid_mask.c,v 1.2 2001/02/09 18:34:02 uch Exp $      */
 
 /*-
  * Copyright (c) 1999-2001
@@ -114,6 +114,24 @@
        PLATID_WILD
 }};
 #endif /* hpcsh */
+#ifdef hpcarm
+platid_t platid_mask_CPU_ARM = {{
+       PLATID_CPU_ARM,
+       PLATID_WILD
+}};
+platid_t platid_mask_CPU_ARM_STRONGARM = {{
+       PLATID_CPU_ARM_STRONGARM,
+       PLATID_WILD
+}};
+platid_t platid_mask_CPU_ARM_STRONGARM_SA1100 = {{
+       PLATID_CPU_ARM_STRONGARM_SA1100,
+       PLATID_WILD
+}};
+platid_t platid_mask_CPU_ARM_STRONGARM_SA1110 = {{
+       PLATID_CPU_ARM_STRONGARM_SA1110,
+       PLATID_WILD
+}};
+#endif /* hpcarm */
 #ifdef hpcmips
 platid_t platid_mask_MACH_NEC = {{
        PLATID_WILD,
@@ -557,6 +575,18 @@
        PLATID_CPU_SH_3_7709A,
        PLATID_MACH_HP_JORNADA_690JP
 }};
+platid_t platid_mask_MACH_HITACHI = {{
+       PLATID_WILD,
+       PLATID_MACH_HITACHI
+}};
+platid_t platid_mask_MACH_HITACHI_PERSONA = {{
+       PLATID_WILD,
+       PLATID_MACH_HITACHI_PERSONA
+}};
+platid_t platid_mask_MACH_HITACHI_PERSONA_HPW230JC = {{
+       PLATID_CPU_SH_3_7709,
+       PLATID_MACH_HITACHI_PERSONA_HPW230JC
+}};
 platid_t platid_mask_MACH_LGE = {{
        PLATID_WILD,
        PLATID_MACH_LGE
@@ -570,3 +600,25 @@
        PLATID_MACH_LGE_PHENOM_H220C
 }};
 #endif /* hpcsh */
+#ifdef hpcarm
+platid_t platid_mask_MACH_HP = {{
+       PLATID_WILD,
+       PLATID_MACH_HP
+}};
+platid_t platid_mask_MACH_HP_JORNADA = {{
+       PLATID_WILD,
+       PLATID_MACH_HP_JORNADA
+}};
+platid_t platid_mask_MACH_HP_JORNADA_8XX = {{
+       PLATID_WILD,
+       PLATID_MACH_HP_JORNADA_8XX
+}};
+platid_t platid_mask_MACH_HP_JORNADA_820 = {{
+       PLATID_CPU_ARM_STRONGARM_SA1100,
+       PLATID_MACH_HP_JORNADA_820
+}};
+platid_t platid_mask_MACH_HP_JORNADA_820JP = {{
+       PLATID_CPU_ARM_STRONGARM_SA1100,
+       PLATID_MACH_HP_JORNADA_820JP
+}};
+#endif /* hpcarm */
diff -r e6ce10baa5f8 -r 3063e4588118 sys/arch/hpc/hpc/platid_name.c
--- a/sys/arch/hpc/hpc/platid_name.c    Fri Feb 09 17:50:44 2001 +0000
+++ b/sys/arch/hpc/hpc/platid_name.c    Fri Feb 09 18:34:01 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: platid_name.c,v 1.1 2001/02/04 05:19:14 takemura Exp $ */
+/*     $NetBSD: platid_name.c,v 1.2 2001/02/09 18:34:02 uch Exp $      */
 
 /*-
  * Copyright (c) 1999-2001
@@ -79,6 +79,16 @@
        { &platid_mask_CPU_SH_4_7750,
         TEXT("SH 4 7750") },
 #endif /* hpcsh */
+#ifdef hpcarm
+       { &platid_mask_CPU_ARM,
+        TEXT("ARM") },
+       { &platid_mask_CPU_ARM_STRONGARM,
+        TEXT("ARM STRONGARM") },
+       { &platid_mask_CPU_ARM_STRONGARM_SA1100,
+        TEXT("ARM STRONGARM SA1100") },
+       { &platid_mask_CPU_ARM_STRONGARM_SA1110,
+        TEXT("ARM STRONGARM SA1110") },
+#endif /* hpcarm */
 #ifdef hpcmips
        { &platid_mask_MACH_NEC,
         TEXT("NEC") },
@@ -287,9 +297,9 @@
        { &platid_mask_MACH_HP_LX,
         TEXT("HP LX") },
        { &platid_mask_MACH_HP_LX_620,
-        TEXT(" HP620LX") },
+        TEXT("HP620LX") },
        { &platid_mask_MACH_HP_LX_620JP,
-        TEXT(" HP620LX (Japanese)") },
+        TEXT("HP620LX (Japanese)") },
        { &platid_mask_MACH_HP_JORNADA,
         TEXT("HP Jornada") },
        { &platid_mask_MACH_HP_JORNADA_6XX,
@@ -297,11 +307,17 @@
        { &platid_mask_MACH_HP_JORNADA_680,
         TEXT("HP Jornada 680") },
        { &platid_mask_MACH_HP_JORNADA_680JP,
-        TEXT("HP Jornada680 (Japanese)") },
+        TEXT("HP Jornada 680 (Japanese)") },
        { &platid_mask_MACH_HP_JORNADA_690,
         TEXT("HP Jornada 690") },
        { &platid_mask_MACH_HP_JORNADA_690JP,
-        TEXT("HP Jornada690 (Japanese)") },
+        TEXT("HP Jornada 690 (Japanese)") },
+       { &platid_mask_MACH_HITACHI,
+        TEXT("HITACHI") },
+       { &platid_mask_MACH_HITACHI_PERSONA,
+        TEXT("HITACHI PERSONA") },
+       { &platid_mask_MACH_HITACHI_PERSONA_HPW230JC,
+        TEXT("HITACHI PERSONA HPW230JC") },
        { &platid_mask_MACH_LGE,
         TEXT("LGE") },
        { &platid_mask_MACH_LGE_PHENOM,
@@ -309,5 +325,17 @@
        { &platid_mask_MACH_LGE_PHENOM_H220C,
         TEXT("LGE H-220C") },
 #endif /* hpcsh */
+#ifdef hpcarm
+       { &platid_mask_MACH_HP,
+        TEXT("HP") },
+       { &platid_mask_MACH_HP_JORNADA,
+        TEXT("HP Jornada") },
+       { &platid_mask_MACH_HP_JORNADA_8XX,
+        TEXT("HP Jornada 8XX") },
+       { &platid_mask_MACH_HP_JORNADA_820,
+        TEXT("HP Jornada 820") },
+       { &platid_mask_MACH_HP_JORNADA_820JP,
+        TEXT("HP Jornada 820 (Japanese)") },
+#endif /* hpcarm */
 };
 int platid_name_table_size = sizeof(platid_name_table)/sizeof(*platid_name_table);
diff -r e6ce10baa5f8 -r 3063e4588118 sys/arch/hpc/include/platid_generated.h
--- a/sys/arch/hpc/include/platid_generated.h   Fri Feb 09 17:50:44 2001 +0000
+++ b/sys/arch/hpc/include/platid_generated.h   Fri Feb 09 18:34:01 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: platid_generated.h,v 1.1 2001/02/04 05:19:15 takemura Exp $    */
+/*     $NetBSD: platid_generated.h,v 1.2 2001/02/09 18:34:03 uch Exp $ */
 
 /*-
  * Copyright (c) 1999-2001
@@ -110,6 +110,23 @@
   ((PLATID_CPU_SH_4_7750_NUM << PLATID_CPU_MODEL_SHIFT)| \
     PLATID_CPU_SH_4)
 #endif /* hpcsh */
+#ifdef hpcarm
+#define PLATID_CPU_ARM_NUM     3
+#define PLATID_CPU_ARM \
+  ((PLATID_CPU_ARM_NUM << PLATID_CPU_ARCH_SHIFT))
+#define PLATID_CPU_ARM_STRONGARM_NUM   1
+#define PLATID_CPU_ARM_STRONGARM       \
+  ((PLATID_CPU_ARM_STRONGARM_NUM << PLATID_CPU_SERIES_SHIFT)| \
+    PLATID_CPU_ARM)
+#define PLATID_CPU_ARM_STRONGARM_SA1100_NUM    1
+#define PLATID_CPU_ARM_STRONGARM_SA1100        \
+  ((PLATID_CPU_ARM_STRONGARM_SA1100_NUM << PLATID_CPU_MODEL_SHIFT)| \
+    PLATID_CPU_ARM_STRONGARM)
+#define PLATID_CPU_ARM_STRONGARM_SA1110_NUM    2
+#define PLATID_CPU_ARM_STRONGARM_SA1110        \
+  ((PLATID_CPU_ARM_STRONGARM_SA1110_NUM << PLATID_CPU_MODEL_SHIFT)| \
+    PLATID_CPU_ARM_STRONGARM)
+#endif /* hpcarm */
 #ifdef hpcmips
 #define PLATID_MACH_NEC_NUM    1
 #define PLATID_MACH_NEC        \
@@ -542,7 +559,18 @@
 #define PLATID_MACH_HP_JORNADA_690JP   \
   ((PLATID_MACH_HP_JORNADA_690JP_NUM << PLATID_SUBMODEL_SHIFT)| \
     PLATID_MACH_HP_JORNADA_6XX)
-#define PLATID_MACH_LGE_NUM    12
+#define PLATID_MACH_HITACHI_NUM        12
+#define PLATID_MACH_HITACHI    \
+  ((PLATID_MACH_HITACHI_NUM << PLATID_VENDOR_SHIFT))
+#define PLATID_MACH_HITACHI_PERSONA_NUM        1
+#define PLATID_MACH_HITACHI_PERSONA    \
+  ((PLATID_MACH_HITACHI_PERSONA_NUM << PLATID_SERIES_SHIFT)| \
+    PLATID_MACH_HITACHI)
+#define PLATID_MACH_HITACHI_PERSONA_HPW230JC_NUM       1
+#define PLATID_MACH_HITACHI_PERSONA_HPW230JC   \
+  ((PLATID_MACH_HITACHI_PERSONA_HPW230JC_NUM << PLATID_MODEL_SHIFT)| \
+    PLATID_MACH_HITACHI_PERSONA)
+#define PLATID_MACH_LGE_NUM    13
 #define PLATID_MACH_LGE        \
   ((PLATID_MACH_LGE_NUM << PLATID_VENDOR_SHIFT))
 #define PLATID_MACH_LGE_PHENOM_NUM     1
@@ -554,3 +582,24 @@
   ((PLATID_MACH_LGE_PHENOM_H220C_NUM << PLATID_MODEL_SHIFT)| \
     PLATID_MACH_LGE_PHENOM)
 #endif /* hpcsh */
+#ifdef hpcarm
+#define PLATID_MACH_HP_NUM     14
+#define PLATID_MACH_HP \
+  ((PLATID_MACH_HP_NUM << PLATID_VENDOR_SHIFT))
+#define PLATID_MACH_HP_JORNADA_NUM     1
+#define PLATID_MACH_HP_JORNADA \
+  ((PLATID_MACH_HP_JORNADA_NUM << PLATID_SERIES_SHIFT)| \
+    PLATID_MACH_HP)
+#define PLATID_MACH_HP_JORNADA_8XX_NUM 1
+#define PLATID_MACH_HP_JORNADA_8XX     \
+  ((PLATID_MACH_HP_JORNADA_8XX_NUM << PLATID_MODEL_SHIFT)| \
+    PLATID_MACH_HP_JORNADA)
+#define PLATID_MACH_HP_JORNADA_820_NUM 1
+#define PLATID_MACH_HP_JORNADA_820     \
+  ((PLATID_MACH_HP_JORNADA_820_NUM << PLATID_SUBMODEL_SHIFT)| \



Home | Main Index | Thread Index | Old Index