summaryrefslogtreecommitdiffstats
path: root/sys/sparc64
diff options
context:
space:
mode:
authorsimokawa <simokawa@FreeBSD.org>2003-11-13 07:41:55 +0000
committersimokawa <simokawa@FreeBSD.org>2003-11-13 07:41:55 +0000
commitc4eb05898401612f7a408bb8686c31362cdeddec (patch)
tree9c1fffec1c3eadfcbdb7c399d4b240d1d7247075 /sys/sparc64
parent2753226bea71305ff348f53fe58aaa70dfeb1ebd (diff)
downloadFreeBSD-src-c4eb05898401612f7a408bb8686c31362cdeddec.zip
FreeBSD-src-c4eb05898401612f7a408bb8686c31362cdeddec.tar.gz
Respect RB_KDB flag.
Diffstat (limited to 'sys/sparc64')
-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 f92634a..671bc61 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
OpenPOWER on IntegriCloud