Subject: Re: loginit() problem
To: KIYOHARA Takashi <kiyohara@kk.iij4u.or.jp>
From: Andrew Doran <ad@netbsd.org>
List: tech-kern
Date: 11/27/2007 16:57:45
Hi,
On Tue, Nov 27, 2007 at 08:45:28PM +0900, KIYOHARA Takashi wrote:
> loginit() has problem. ibm4xx machines calls loginit() before to
> initialize softintr.
>
> http://mail-index.netbsd.org/port-powerpc/2007/11/26/0000.html
>
>
> when softintr should be initialized and when
> src/sys/kern/subr_log.c:loginit() should be called because the problem
> isn't powerpc specific. (e.g. m68k?)
I think it affects m68k also.
> Shall we do first initialize softintr after call loginit()?
I'm currently working on replacing the soft interrupt code. The problem will
be gone in a few days time because soft interrupts will be available after
the first call to mi_cpu_attach(), in main().
Thanks,
Andrew