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:           Mon May 18 01:36:11 UTC 2009

Modified Files:
        src/sys/arch/sparc/sparc: cpu.c cpuvar.h db_interface.c locore.s pmap.c

Log Message:
- retire union cpu_info_pg
- allocate space for each cpu_info{} in pmap_bootstrap
- remap cpu0's space into the PA currently in CPUINFO_VA
- cpus[] becomes an array of pointers to cpu_info{}, easy to traverse
- only call kernel lock for IPL_VM interrupts (?  as implemented on
  x86 and sparc64)
- revert a minor part of locore.s:1.241
- in cpu_hatch(), set %sp to near the middle of the interrupt stack.
  we only need a %sp until we get to run an MI thread (own idlelwp or
  real code)

we still waste one page of space, but this gets SMP much closer to
actually working again.


To generate a diff of this commit:
cvs rdiff -u -r1.213 -r1.214 src/sys/arch/sparc/sparc/cpu.c
cvs rdiff -u -r1.76 -r1.77 src/sys/arch/sparc/sparc/cpuvar.h
cvs rdiff -u -r1.83 -r1.84 src/sys/arch/sparc/sparc/db_interface.c
cvs rdiff -u -r1.244 -r1.245 src/sys/arch/sparc/sparc/locore.s
cvs rdiff -u -r1.326 -r1.327 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