aboutsummaryrefslogtreecommitdiff
path: root/sys/sparc64/sparc64/machdep.c
diff options
context:
space:
mode:
authorHidetoshi Shimokawa <simokawa@FreeBSD.org>2003-11-13 07:41:55 +0000
committerHidetoshi Shimokawa <simokawa@FreeBSD.org>2003-11-13 07:41:55 +0000
commit3055726d16ebf07158cc1cba9c878e141703de78 (patch)
tree9c1fffec1c3eadfcbdb7c399d4b240d1d7247075 /sys/sparc64/sparc64/machdep.c
parent86224a574605e8f680186c2bff63b3bcf0f18528 (diff)
downloadsrc-3055726d16ebf07158cc1cba9c878e141703de78.tar.gz
src-3055726d16ebf07158cc1cba9c878e141703de78.zip
Respect RB_KDB flag.
Notes
Notes: svn path=/head/; revision=122604
Diffstat (limited to 'sys/sparc64/sparc64/machdep.c')
-rw-r--r--sys/sparc64/sparc64/machdep.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/sys/sparc64/sparc64/machdep.c b/sys/sparc64/sparc64/machdep.c
index f92634ab2020..671bc6128ea6 100644
--- a/sys/sparc64/sparc64/machdep.c
+++ b/sys/sparc64/sparc64/machdep.c
@@ -386,6 +386,11 @@ sparc64_init(caddr_t mdp, u_long o1, u_long o2, u_long o3, ofw_vec_t *vec)
intr_init2();
OF_getprop(root, "name", sparc64_model, sizeof(sparc64_model) - 1);
+
+#ifdef DDB
+ if (boothowto & RB_KDB)
+ Debugger("Boot flags requested debugger");
+#endif
}
void