Source-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: src/sys/arch
Module Name: src
Committed By: dsl
Date: Sat Mar 12 16:29:59 UTC 2005
Modified Files:
src/sys/arch/sparc/sparc: svr4_machdep.c
src/sys/arch/sparc64/sparc64: svr4_32_machdep.c svr4_machdep.c
Log Message:
Fix convertion of seconds to nanoseconds.
Add the usec to the secs before subtracting the usec offset - otherwise
I suspect the value can do horribly wrong!
Change all T_SVR4_GETHRESTIME to return sec + nanoseconds (I've not sure
this is correct, but I doubt the 32bit emulation in a 64bit kernel should
act differently to a 32bit kernel!)
Untested - I don't even have a sparc compile setup at the moment.
To generate a diff of this commit:
cvs rdiff -r1.54 -r1.55 src/sys/arch/sparc/sparc/svr4_machdep.c
cvs rdiff -r1.18 -r1.19 src/sys/arch/sparc64/sparc64/svr4_32_machdep.c
cvs rdiff -r1.36 -r1.37 src/sys/arch/sparc64/sparc64/svr4_machdep.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