Module Name: src
Committed By: skrll
Date: Fri Sep 4 06:12:16 UTC 2020
Modified Files:
src/sys/arch/pmax/pmax: machdep.c
Log Message:
Fix build of INSTALL kernel which doesn't have DDB
To generate a diff of this commit:
cvs rdiff -u -r1.252 -r1.253 src/sys/arch/pmax/pmax/machdep.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/arch/pmax/pmax/machdep.c
diff -u src/sys/arch/pmax/pmax/machdep.c:1.252 src/sys/arch/pmax/pmax/machdep.c:1.253
--- src/sys/arch/pmax/pmax/machdep.c:1.252 Thu Sep 3 07:05:30 2020
+++ src/sys/arch/pmax/pmax/machdep.c Fri Sep 4 06:12:16 2020
@@ -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
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;