Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: build a uniprocessor kernel



IIRC, boot.cfg and/or boot -c can be used to disable processors at boot.
cpuctl, again iirc, can be used to take a processor offline.

Thu, Nov 06, 2008 at 10:36:10PM +0900, Hiroshi SAKURAI:
> Hi,
> 
> On Thu, Nov 6, 2008 at 7:30 PM, Emmanuel Dreyfus <manu%netbsd.org@localhost> 
> wrote:
> > Hello
> >
> > Ho are we supposed to build a uniprocessor kernel?
> > If I add "no options MULTIPROCESSOR", then the build will fail:
> > ../../../../kern/kern_stub.c:159:5: error: #error __HAVE_PREEMPTION
> > requires MULTIPROCESSOR
> 
> `cvs log GENERIC' says MULTIPROCESSOR is mandatory.
> 
> -----
> 
> revision 1.891
> date: 2008/04/30 15:29:11;  author: ad;  state: Exp;  lines: +2 -11
> For PR kern/38537:
> 
> - Make MULTIPROCESSOR mandatory on i386.
> 
> -----
> 
> -- 
> Hiroshi SAKURAI


Home | Main Index | Thread Index | Old Index