Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src/sys/arch/sparc64



Module Name:    src
Committed By:   mrg
Date:           Sat Oct 21 23:49:29 UTC 2006

Modified Files:
        src/sys/arch/sparc64/dev: pci_machdep.c
        src/sys/arch/sparc64/sparc64: cache.h cpu.c

Log Message:
remove "struct cacheline" and the "cacheline" variable.  (it was only set
in cpu_attach(), overwritten by multiple cpus, and only one member of the
12 or more were ever used again.)  add an ecache_min_line_size to replace
this functionality.

clean up some non-SMP friendly code from cpu_attach():
        - only reset the fpu state on the boot cpu
        - don't bother printing "FPU version 0" always
        - don't call getver() and ignore the result
        - print the UPA id on the first cpu0: line

only print mp_tramp address #ifdef DEBUG.

reset the fpu state in cpu_hatch(), like cpu_attach() does for the boot cpu.

cpu_attach() is now free of SMP-unfriendly code.


To generate a diff of this commit:
cvs rdiff -r1.52 -r1.53 src/sys/arch/sparc64/dev/pci_machdep.c
cvs rdiff -r1.9 -r1.10 src/sys/arch/sparc64/sparc64/cache.h
cvs rdiff -r1.55 -r1.56 src/sys/arch/sparc64/sparc64/cpu.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