md_root.c: #include "opt_mdsize.h"

machdep.c:	add 'ifdef' to compile without 'options DDB'
This commit is contained in:
shin 2000-01-09 07:59:51 +00:00
parent 2c751cff39
commit b4d582b776
2 changed files with 7 additions and 3 deletions

View File

@ -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

View File

@ -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 @@ 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.