RB_KDB

Hidetoshi Shimokawa simokawa at sat.t.u-tokyo.ac.jp
Tue Oct 7 23:56:55 PDT 2003


Hi,

I noticed that sparc64 doesn't respect RB_KDB(boot -d).
Inserting Debugger() just after kdb_init()(like i386) or
pmap_bootstrap() causes 'Fast Data Access MMU Miss'.
Debugger() at the end of sparc64_init() seems o.k.

Where is the right place?

==== //depot/user/simokawa/firewire/sys/sparc64/sparc64/machdep.c#9 - /home/sat/simokawa/p4/freebsd/firewire/sys/sparc64/sparc64/machdep.c ====
@@ -386,6 +386,11 @@
 	tick_init(clock);
 
 	OF_getprop(root, "name", sparc64_model, sizeof(sparc64_model) - 1);
+
+#ifdef DDB
+	if (boothowto & RB_KDB)
+		Debugger("Boot flags requested debugger");
+#endif
 }
 
 void


/\ Hidetoshi Shimokawa
\/  simokawa at sat.t.u-tokyo.ac.jp
PGP public key: http://www.sat.t.u-tokyo.ac.jp/~simokawa/pgp.html


More information about the freebsd-sparc64 mailing list