Source-Changes archive

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

CVS commit: syssrc/sys/arch/sgimips



Module Name:    syssrc
Committed By:   rafal
Date:           Sun Nov 11 17:21:41 UTC 2001

Modified Files:
        syssrc/sys/arch/sgimips/include: sysconf.h
        syssrc/sys/arch/sgimips/sgimips: ip22.c ip32.c machdep.c

Log Message:
Make microtime(9) do interpolation to get better-than-hz resolution, if
the platform supplies a clkread function that does something other than
return 0 (which is the default unless overridden by the platorm code).
Supply such a function for the IP22; even if it isn't perfect, it goes
a long way to making ntp usable.

While I'm at it, move the ticks-per-hz variable out of the struct platform
since it's really private to the per-platform interrupt/clock code.

XXX: No clkread function supplied for IP32, since it has other problems --
like a hardcoded ticks-per-hz, but the same code as on the IP22 could be
used.


To generate a diff of this commit:
cvs rdiff -r1.2 -r1.3 syssrc/sys/arch/sgimips/include/sysconf.h
cvs rdiff -r1.5 -r1.6 syssrc/sys/arch/sgimips/sgimips/ip22.c \
    syssrc/sys/arch/sgimips/sgimips/ip32.c
cvs rdiff -r1.28 -r1.29 syssrc/sys/arch/sgimips/sgimips/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