Subject: Re: CPU specific idle routine
To: None <port-mips@netbsd.org>
From: Toru Nishimura <nisimura@itc.aist-nara.ac.jp>
List: port-mips
Date: 01/17/2000 09:28:57
> I found that our MIPS compatible CPU VR has unique instruction - 'STANDBY'.
> And other CPU which designed for PDA have their  own instruction similarly.
> (Please see #ifdef VR41_STANDBY_IDLE in arch/mips/mips/locore.S)
>
> Thereby I want to select idle routine on booting dynamically.
>
> I 've made a patch. Please review and comment.

I recommend you to invent 'cpusw[]' or some to encapsulate any CPU
implmenetation specific functional differences, and to select proper
one at the begining of kernel execution.  I can not stand for seeing
any #ifdef BooFooWoo any more.

Tohru Nishimura