Subject: CVS commit: syssrc
To: None <source-changes@netbsd.org>
From: Jason R Thorpe <thorpej@netbsd.org>
List: source-changes
Date: 05/30/2000 22:28:31
Module Name:	syssrc
Committed By:	thorpej
Date:		Wed May 31 05:28:31 UTC 2000

Modified Files:
	syssrc/sys/arch/sparc/include: cpu.h
	syssrc/sys/arch/sparc/sparc: cpu.c cpuvar.h genassym.cf locore.s pmap.c

Log Message:
- In the MULTIPROCESSOR case, initialize p_cpu before a process is
  marked SONPROC.
- Fix a bug where all cpu_info structures except for the boot CPUs
  would exist at both a CPU-local VA (CPUINFO_VA) and a gloal VA;
  The boot CPU's existed only a CPUINFO_VA.
- Add a self-reference pointer to the cpu_info that references the
  global address in the MULTIPROCESSOR case.  Just allow it to reference
  the `local' VA in the single-processor case, as CPUINFO_VA is global
  enough when there's only one processor to care about.  Change curcpu()
  to return the global address.


To generate a diff of this commit:
cvs rdiff -r1.36 -r1.37 syssrc/sys/arch/sparc/include/cpu.h
cvs rdiff -r1.98 -r1.99 syssrc/sys/arch/sparc/sparc/cpu.c
cvs rdiff -r1.25 -r1.26 syssrc/sys/arch/sparc/sparc/cpuvar.h
cvs rdiff -r1.28 -r1.29 syssrc/sys/arch/sparc/sparc/genassym.cf
cvs rdiff -r1.130 -r1.131 syssrc/sys/arch/sparc/sparc/locore.s
cvs rdiff -r1.163 -r1.164 syssrc/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.