From b4d582b776049174fb200f7826ff20675b6c91a9 Mon Sep 17 00:00:00 2001 From: shin Date: Sun, 9 Jan 2000 07:59:51 +0000 Subject: [PATCH] md_root.c: #include "opt_mdsize.h" machdep.c: add 'ifdef' to compile without 'options DDB' --- sys/arch/hpcmips/dev/md_root.c | 4 +++- sys/arch/hpcmips/hpcmips/machdep.c | 6 ++++-- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/sys/arch/hpcmips/dev/md_root.c b/sys/arch/hpcmips/dev/md_root.c index 6ad418dfdfdf..b3aa67e50176 100644 --- a/sys/arch/hpcmips/dev/md_root.c +++ b/sys/arch/hpcmips/dev/md_root.c @@ -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 +#include "opt_mdsize.h" + extern int boothowto; #ifndef MINIROOTSIZE diff --git a/sys/arch/hpcmips/hpcmips/machdep.c b/sys/arch/hpcmips/hpcmips/machdep.c index ecd226d9c32b..959d2bc8129f 100644 --- a/sys/arch/hpcmips/hpcmips/machdep.c +++ b/sys/arch/hpcmips/hpcmips/machdep.c @@ -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 /* 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 @@ mach_init(argc, argv, bi) /* Initialize console. */ (*platform.cons_init)(); +#ifdef DDB if (boothowto & RB_KDB) Debugger(); +#endif /* * Find out how much memory is available and clear memory.