From owner-cvs-all Thu Apr 4 15:39:20 2002 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 3D55337B419; Thu, 4 Apr 2002 15:39:11 -0800 (PST) Received: (from tmm@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g34NdBA84327; Thu, 4 Apr 2002 15:39:11 -0800 (PST) (envelope-from tmm) Message-Id: <200204042339.g34NdBA84327@freefall.freebsd.org> From: Thomas Moestl Date: Thu, 4 Apr 2002 15:39:10 -0800 (PST) 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 X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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