Fix build of INSTALL kernel which doesn't have DDB
This commit is contained in:
parent
cd269e3b78
commit
78e5423f52
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: machdep.c,v 1.252 2020/09/03 07:05:30 simonb Exp $ */
|
||||
/* $NetBSD: machdep.c,v 1.253 2020/09/04 06:12:16 skrll Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1988 University of Utah.
|
||||
@ -39,7 +39,7 @@
|
||||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.252 2020/09/03 07:05:30 simonb Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.253 2020/09/04 06:12:16 skrll Exp $");
|
||||
|
||||
#include "opt_ddb.h"
|
||||
#include "opt_modular.h"
|
||||
@ -211,8 +211,10 @@ mach_init(int argc, int32_t *argv32, int code, intptr_t cv, u_int bim, char *bip
|
||||
callv = &callvec;
|
||||
}
|
||||
|
||||
#ifdef DDB
|
||||
/* Make DDB "machine reset" call emulate pushing the HALT button. */
|
||||
cpu_reset_address = prom_haltbutton;
|
||||
#endif
|
||||
|
||||
/* Use PROM console output until we initialize a console driver. */
|
||||
cn_tab = &promcd;
|
||||
|
Loading…
Reference in New Issue
Block a user