Date: Wed, 08 Oct 2003 15:56:48 +0900 From: Hidetoshi Shimokawa <simokawa@sat.t.u-tokyo.ac.jp> To: freebsd-sparc@freebsd.org Subject: RB_KDB Message-ID: <ybsr81okyj3.wl@ett.sat.t.u-tokyo.ac.jp>
next in thread | raw e-mail | index | archive | help
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@sat.t.u-tokyo.ac.jp PGP public key: http://www.sat.t.u-tokyo.ac.jp/~simokawa/pgp.html
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?ybsr81okyj3.wl>