Subject: dangerous for initialize of MIPS timer
To: None <port-mips@netbsd.org, port-cobalt@netbsd.org>
From: KIYOHARA Takashi <kiyohara@kk.iij4u.or.jp>
List: port-cobalt
Date: 09/24/2006 09:26:30
Hi! all,


I think serious dangerous for initialization of MIPS timer.  My Cobalt
Qube panic() in hardclock().  It reason for hardclock() is called before
softclock is initialized. 

sys/arch/MACHINE/MACHINE/autoconf.c::cpu_configure() call _splnone().
_splnone() set to enable all interrupt.  However softclock_si not
initialized yet.  That is after initialize in sys/kern/kern_clock.c::
initclock().  

Thanks,
--
kiyohara