Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/powerpc/oea Drop into ddb, when requested by ofwboo...
details: https://anonhg.NetBSD.org/src/rev/b5803c81c6b4
branches: trunk
changeset: 767960:b5803c81c6b4
user: phx <phx%NetBSD.org@localhost>
date: Thu Aug 04 20:02:48 2011 +0000
description:
Drop into ddb, when requested by ofwboot (-d option).
diffstat:
sys/arch/powerpc/oea/ofwoea_machdep.c | 9 +++++++--
1 files changed, 7 insertions(+), 2 deletions(-)
diffs (30 lines):
diff -r a7efa21fd87e -r b5803c81c6b4 sys/arch/powerpc/oea/ofwoea_machdep.c
--- a/sys/arch/powerpc/oea/ofwoea_machdep.c Thu Aug 04 19:30:11 2011 +0000
+++ b/sys/arch/powerpc/oea/ofwoea_machdep.c Thu Aug 04 20:02:48 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ofwoea_machdep.c,v 1.25 2011/07/27 22:04:23 macallan Exp $ */
+/* $NetBSD: ofwoea_machdep.c,v 1.26 2011/08/04 20:02:48 phx Exp $ */
/*-
* Copyright (c) 2007 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ofwoea_machdep.c,v 1.25 2011/07/27 22:04:23 macallan Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ofwoea_machdep.c,v 1.26 2011/08/04 20:02:48 phx Exp $");
#include "opt_ppcarch.h"
#include "opt_compat_netbsd.h"
@@ -252,6 +252,11 @@
/* CPU clock stuff */
set_timebase();
+
+#ifdef DDB
+ if (boothowto & RB_KDB)
+ Debugger();
+#endif
}
void
Home |
Main Index |
Thread Index |
Old Index