Source-Changes archive

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

CVS commit: [netbsd-7] src/sys/arch/sparc64



Module Name:    src
Committed By:   martin
Date:           Sat Dec 13 19:29:28 UTC 2014

Modified Files:
        src/sys/arch/sparc64/include [netbsd-7]: psl.h
        src/sys/arch/sparc64/sparc64 [netbsd-7]: cpu.c

Log Message:
Pull up following revision(s) (requested by nakayama in ticket #318):
        sys/arch/sparc64/include/psl.h: revision 1.54
        sys/arch/sparc64/include/psl.h: revision 1.55
        sys/arch/sparc64/sparc64/cpu.c: revision 1.121
Make getver() into a constant function since Version Register (%ver)
is read only and its value is constant.
This change reduces multipule %ver reads to one in the functions
which uses a number of CPU_IS_* macros.
Use GETVER_CPU_* macros.


To generate a diff of this commit:
cvs rdiff -u -r1.53 -r1.53.4.1 src/sys/arch/sparc64/include/psl.h
cvs rdiff -u -r1.116 -r1.116.2.1 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