summaryrefslogtreecommitdiffstats
path: root/sys/kern/subr_rtc.c
Commit message (Collapse)AuthorAgeFilesLines
* Split the global timezone structure into two integer fields tophk2003-02-031-2/+2
| | | | | | | | | | prevent the compiler from optimizing assignments into byte-copy operations which might make access to the individual fields non-atomic. Use the individual fields throughout, and don't bother locking them with Giant: it is no longer needed. Inspired by: tjr
* Use the CPU_* OID constants instead of OID_AUTO for the clock-relatedtmm2002-08-071-3/+6
| | | | sysctls for compatability with old applications.
* Add a generic implementation of inittodr() and resettodr(), as well astmm2002-04-041-0/+316
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.
OpenPOWER on IntegriCloud