Date: Thu, 4 Apr 2002 15:39:10 -0800 (PST) From: Thomas Moestl <tmm@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/conf files src/sys/sys clock.h src/sys/kern clock_if.m subr_clock.c Message-ID: <200204042339.g34NdBA84327@freefall.freebsd.org>
index | next in thread | raw e-mail
tmm 2002/04/04 15:39:10 PST
Modified files:
sys/conf files
Added files:
sys/sys clock.h
sys/kern clock_if.m subr_clock.c
Log:
Add a generic implementation of inittodr() and resettodr(), as well as
a set of helper routines to deal with real-time clocks. The generic
functions access the clock diver using a kobj interface. This is intended
to reduce code reduplication and make it easy to support more than one
clock model on a single architecture.
This code is currently only used on sparc64, but it is planned to convert
the code of the other architectures to it later.
Revision Changes Path
1.619 +2 -0 src/sys/conf/files
1.1 +44 -0 src/sys/kern/clock_if.m (new)
1.1 +316 -0 src/sys/kern/subr_clock.c (new)
1.1 +77 -0 src/sys/sys/clock.h (new)
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200204042339.g34NdBA84327>
