Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/hpcmips/conf * make kloader optional.



details:   https://anonhg.NetBSD.org/src/rev/599b886ded22
branches:  trunk
changeset: 526193:599b886ded22
user:      shin <shin%NetBSD.org@localhost>
date:      Sat Apr 27 12:36:47 2002 +0000

description:
* make kloader optional.
* default value of kernel path is KLOADER_KERNEL_PATH.
* options KLOADER_KERNEL_PATH can override kernel path.
* when bootstr is passed (RB_STRING), use it as kernel path.

diffstat:

 sys/arch/hpcmips/conf/GENERIC       |   6 +++---
 sys/arch/hpcmips/conf/RAMDISK       |   4 +++-
 sys/arch/hpcmips/conf/files.hpcmips |  11 ++++++-----
 3 files changed, 12 insertions(+), 9 deletions(-)

diffs (70 lines):

diff -r bd6913f9814e -r 599b886ded22 sys/arch/hpcmips/conf/GENERIC
--- a/sys/arch/hpcmips/conf/GENERIC     Sat Apr 27 12:21:30 2002 +0000
+++ b/sys/arch/hpcmips/conf/GENERIC     Sat Apr 27 12:36:47 2002 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: GENERIC,v 1.119 2002/04/25 15:06:27 atatat Exp $
+# $NetBSD: GENERIC,v 1.120 2002/04/27 12:36:47 shin Exp $
 #
 # GENERIC machine description file
 # 
@@ -24,7 +24,7 @@
 
 options        INCLUDE_CONFIG_FILE     # embed config file in kernel binary
 
-#ident                 "GENERIC-$Revision: 1.119 $"
+#ident                 "GENERIC-$Revision: 1.120 $"
 
 maxusers       16
 
@@ -34,7 +34,7 @@
 options        VR4122                  # NEC VR4122
 options        VR4131                  # NEC VR4131
 options        TX392X                  # Toshiba TX3922
-options        KLOADER_KERNEL_PATH="\"/netbsd\""
+options        KLOADER
 
 # Standard system options
 options        DDB                     # in-kernel debugger
diff -r bd6913f9814e -r 599b886ded22 sys/arch/hpcmips/conf/RAMDISK
--- a/sys/arch/hpcmips/conf/RAMDISK     Sat Apr 27 12:21:30 2002 +0000
+++ b/sys/arch/hpcmips/conf/RAMDISK     Sat Apr 27 12:36:47 2002 +0000
@@ -1,11 +1,13 @@
 #
 # kernel config file for memory(RAM) disk
 #
-#      $NetBSD: RAMDISK,v 1.16 2002/04/02 05:30:42 lukem Exp $
+#      $NetBSD: RAMDISK,v 1.17 2002/04/27 12:36:47 shin Exp $
 #
 
 include                "arch/hpcmips/conf/GENERIC"
 
+options        KLOADER_KERNEL_PATH="\"/mnt/netbsd\""
+
 pseudo-device  md              1       # memory disk
 pseudo-device  sl              2       # Serial Line IP
 
diff -r bd6913f9814e -r 599b886ded22 sys/arch/hpcmips/conf/files.hpcmips
--- a/sys/arch/hpcmips/conf/files.hpcmips       Sat Apr 27 12:21:30 2002 +0000
+++ b/sys/arch/hpcmips/conf/files.hpcmips       Sat Apr 27 12:36:47 2002 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: files.hpcmips,v 1.82 2002/04/22 09:41:20 augustss Exp $
+#      $NetBSD: files.hpcmips,v 1.83 2002/04/27 12:36:47 shin Exp $
 
 # maxpartitions must be first item in files.${ARCH}.
 maxpartitions 8
@@ -58,10 +58,11 @@
 file   arch/hpcmips/hpcmips/machdep.c
 file   arch/hpcmips/hpcmips/mainbus.c
 
-file   arch/hpc/hpc/kloader.c
-file   arch/hpcmips/hpcmips/kloader_machdep.c
-file   arch/hpcmips/hpcmips/kloader_vr41.S     vr41xx
-file   arch/hpcmips/hpcmips/kloader_tx39.S     tx39xx
+file   arch/hpc/hpc/kloader.c                  kloader
+file   arch/hpcmips/hpcmips/kloader_machdep.c  kloader
+file   arch/hpcmips/hpcmips/kloader_vr41.S     vr41xx & kloader
+file   arch/hpcmips/hpcmips/kloader_tx39.S     tx39xx & kloader
+defflag        opt_kloader.h                   KLOADER
 defflag        debug_kloader.h                 KLOADER_DEBUG
 defparam opt_kloader_kernel_path.h     KLOADER_KERNEL_PATH
 



Home | Main Index | Thread Index | Old Index