CVSROOT: /cvs
Module name: src
Changes by: [email protected] 2009/02/20 13:40:01
Modified files:
sys/arch/m88k/conf: files.m88k
sys/arch/m88k/include: atomic.h
sys/arch/m88k/m88k: m88k_machdep.c
Added files:
sys/arch/m88k/m88k: atomic.S
Log message:
atomic_{set,clear}bits_int were not safe enough on 88110 systems, as they
can be interrupted by NMI; move the SMP version of these routines from
inlines to a separate file (kernel text shrinks 20KB...).
Since the implementation for 88110 becomes really hairy, the pre-main() code
is responsible for copying the appropriate code over for kernels configured
for both 88100 and 88110 cpus, to avoid having to choose the atomicity
strategy at runtime. Hairy, I said.
This gets GENERIC.MP run much further on 197DP. Not enough to reach multiuser
mode, but boots up to starting sshd and then panics.