Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/hpcmips md_root.c: #include "opt_mdsize.h"



details:   https://anonhg.NetBSD.org/src/rev/f3ff8994f0bc
branches:  trunk
changeset: 480315:f3ff8994f0bc
user:      shin <shin%NetBSD.org@localhost>
date:      Sun Jan 09 07:59:51 2000 +0000

description:
md_root.c:      #include "opt_mdsize.h"
machdep.c:      add 'ifdef' to compile without 'options DDB'

diffstat:

 sys/arch/hpcmips/dev/md_root.c     |  4 +++-
 sys/arch/hpcmips/hpcmips/machdep.c |  6 ++++--
 2 files changed, 7 insertions(+), 3 deletions(-)

diffs (47 lines):

diff -r d31382c3cead -r f3ff8994f0bc sys/arch/hpcmips/dev/md_root.c
--- a/sys/arch/hpcmips/dev/md_root.c    Sun Jan 09 07:57:43 2000 +0000
+++ b/sys/arch/hpcmips/dev/md_root.c    Sun Jan 09 07:59:51 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: md_root.c,v 1.1.1.1 1999/09/16 12:23:19 takemura Exp $ */
+/*     $NetBSD: md_root.c,v 1.2 2000/01/09 07:59:51 shin Exp $ */
 
 /*-
  * Copyright (c) 1996 The NetBSD Foundation, Inc.
@@ -47,6 +47,8 @@
 
 #include <dev/md.h>
 
+#include "opt_mdsize.h"
+
 extern int boothowto;
 
 #ifndef MINIROOTSIZE
diff -r d31382c3cead -r f3ff8994f0bc sys/arch/hpcmips/hpcmips/machdep.c
--- a/sys/arch/hpcmips/hpcmips/machdep.c        Sun Jan 09 07:57:43 2000 +0000
+++ b/sys/arch/hpcmips/hpcmips/machdep.c        Sun Jan 09 07:59:51 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: machdep.c,v 1.13 2000/01/01 02:22:36 shin Exp $        */
+/*     $NetBSD: machdep.c,v 1.14 2000/01/09 07:59:51 shin Exp $        */
 
 /*
  * Copyright (c) 1988 University of Utah.
@@ -43,7 +43,7 @@
 
 #include <sys/cdefs.h>                 /* RCS ID & Copyright macro defns */
 
-__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.13 2000/01/01 02:22:36 shin Exp $");
+__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.14 2000/01/09 07:59:51 shin Exp $");
 
 /* from: Utah Hdr: machdep.c 1.63 91/04/24 */
 #include "opt_vr41x1.h"
@@ -382,8 +382,10 @@
        /* Initialize console. */
        (*platform.cons_init)();
 
+#ifdef DDB
        if (boothowto & RB_KDB)
                Debugger();
+#endif
 
        /*
         * Find out how much memory is available and clear memory.



Home | Main Index | Thread Index | Old Index