CVSROOT: /cvs
Module name: src
Changes by: [email protected] 2010/01/09 13:33:16
Modified files:
distrib/sets/lists/base: md.sgi
distrib/sets/lists/comp: md.sgi
sys/arch/loongson/dev: mainbus.c
sys/arch/loongson/include: autoconf.h
sys/arch/loongson/loongson: machdep.c
sys/arch/mips64/include: cpu.h
sys/arch/mips64/mips64: clock.c cpu.c db_machdep.c pmap.c
sys/arch/sgi/include: autoconf.h mnode.h
sys/arch/sgi/sgi: ip27_machdep.c ip30_machdep.c ip32_machdep.c
machdep.c mainbus.c sginode.c
Added files:
sys/arch/mips64/include: autoconf.h
Log message:
Define struct cpu_hwinfo, to hold hardware specific information about each
processor (instead of sys_config.cpu[]), and pass it in the attach_args
when attaching cpu devices.
This allows per-cpu information to be gathered late in the bootstrap process,
and not be limited by an arbitrary MAX_CPUS limit; this will suit IP27 and
IP35 systems better.
While there, use this information to make sure delay() uses the speed
information from the cpu it is invoked on.