Received: by mail.netbsd.org (Postfix, from userid 0) id 1A51963B180; Wed, 27 May 2009 02:19:54 +0000 (UTC) Received: from cvs.netbsd.org (cvs.NetBSD.org [IPv6:2001:4f8:3:7:2e0:81ff:fe30:95bd]) by mail.netbsd.org (Postfix) with ESMTP id C3DF163B258 for ; Wed, 27 May 2009 02:19:50 +0000 (UTC) Received: by cvs.netbsd.org (Postfix, from userid 500) id 7FFC5175D0; Wed, 27 May 2009 02:19:50 +0000 (UTC) MIME-Version: 1.0 Content-Disposition: inline Content-Transfer-Encoding: binary Content-Type: text/plain Date: Wed, 27 May 2009 02:19:50 +0000 From: matthew green Subject: CVS commit: src/sys/arch/sparc/sparc To: source-changes@NetBSD.org X-Mailer: log_accum Message-Id: <20090527021950.7FFC5175D0@cvs.netbsd.org> Sender: source-changes-owner@NetBSD.org List-Id: source-changes Precedence: list Reply-To: source-changes-d@NetBSD.org 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.