Source-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: src/sys/arch/sparc/sparc
Module Name: src
Committed By: mrg
Date: Wed May 27 02:19:50 UTC 2009
Modified Files:
src/sys/arch/sparc/sparc: cpu.c cpuvar.h intr.c pmap.c
Log Message:
- use _MAXNCPU instead of 4
- convert xpmsg_lock from a simplelock to a kmutex
- don't wait for sparc_noop IPI calls
- remove xmpsg_func's "retval" parameter and usage
- remove the IPI at high IPL message
- rework cpu_attach() a bunch, refactoring calls to getcpuinfo() and setting
of cpi, and split most of the non-boot CPU handling into a new function
- make CPU_INFO_FOREACH() work whether modular or not
- move the MP cpu_info pages earlier
- move a few things in cpu.c around to colsolidate the MP code together
- remove useless if (cpus == NULL) tests -- cpus is an array now
with these changes, and an additional change to crazyintr() to not printf(),
i can get to single user shell on my SS20 again. i can run a fwe commands
but some of them cause hangs. "ps auxw" works, but "top -b" does not.
tested in UP LOCKDEBUG/DEBUG/DIAGNOSTIC kernel as well.
MP kernel with only cpu0 configured panics starting /sbin/init.
have not yet tested on a real UP machine.
To generate a diff of this commit:
cvs rdiff -u -r1.214 -r1.215 src/sys/arch/sparc/sparc/cpu.c
cvs rdiff -u -r1.77 -r1.78 src/sys/arch/sparc/sparc/cpuvar.h
cvs rdiff -u -r1.103 -r1.104 src/sys/arch/sparc/sparc/intr.c
cvs rdiff -u -r1.328 -r1.329 src/sys/arch/sparc/sparc/pmap.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Home |
Main Index |
Thread Index |
Old Index