summaryrefslogtreecommitdiff
path: root/sys/kern/kern_todr.c
AgeCommit message (Expand)Author
2021-04-03Print the "preposterous TOD clock time" message only if the RTC issimonb
2020-01-03- In todr_gettime(), in the todr_gettime_ymdhms, pre-zero the clock_ymdhmsthorpej
2020-01-01Now that we know if we're shutting down, enable locking in resettodr().thorpej
2020-01-01First steps towards properly serializing access to the TOD clock.thorpej
2020-01-01Fix some issues around todr_wenable():thorpej
2020-01-01todr_gettime() and todr_settime() are not referenced outside of kern_todr.c,thorpej
2020-01-01Remove superfluous splclock()/splx() pair around tc_setclock().thorpej
2019-07-07The whole 'tv' structure gets added to the RND pool, so clear it first,maxv
2015-04-13<sys/rnd.h> -> <sys/rndsource.h> in kern_todr.c.riastradh
2015-01-11defflag TODR_DEBUGjmcneill
2014-11-17PR/49207: Kamil Rytarowski: Add sys/clock.h with generic time macroschristos
2014-10-12fix compilation with TODR_DEBUGjmcneill
2013-08-29Mix in boot time (wherever we may find it). Helps avoid predictable outputtls
2011-02-08Remove clause 3 (UCB advertising clause) from the University of Utahrmind
2010-01-02Update default TOD value to 2010/01/01 12:00:00.tsutsui
2009-12-12Remove `volatile' qualifier from argument types oftsutsui
2009-12-12Use bool where appropriate.tsutsui
2009-12-12Don't use int to get delta of time_t values.tsutsui
2009-03-21Fix 'boot -z' bogons.ad
2009-02-14remove 2038 commentchristos
2008-01-20Now that __HAVE_TIMECOUNTER and __HAVE_GENERIC_TODR are invariants,joerg
2007-12-22reduce #ifdef __HAVE_TIMECOUNTER.yamt
2007-11-29Pull in sys/intr.had
2006-09-24Minor KNF, replace some spaces with tabs.peter
2006-09-20Tweak some debug messages.tsutsui
2006-09-16Pass the filesystem time to clock drivers in the todr_chip_handle, so thatgdamore
2006-09-12Comment nit (remove first person), from simon@.gdamore
2006-09-12Centralize rtc_offset handling for ports that __HAVE_GENERIC_TODR and usegdamore
2006-09-12Remove attempt to incorrectly support fictional double leap seconds.gdamore
2006-09-12Fix to compile on platforms without __HAVE_GENERIC_TODR. Sorry aboutgdamore
2006-09-12Add some optional debug (enabled with TODR_DEBUG) to see what your RTCgdamore
2006-09-11Don't bother checking wday, that breaks some clock chips. Thank to Kurt Schr...gdamore
2006-09-10Allow for leap seconds.gdamore
2006-09-10dsrtc_settime already takes a volatile struct timeval *, also qualifygavan
2006-09-10- add more sanity checks (from playstation2/clock.c)tsutsui
2006-09-07Run tc_setclock at splclock(). Suggested by kardel@.gdamore
2006-09-07Now compiles on systems without __HAVE_GENERIC_TODRdogcow
2006-09-07Eliminate the 2038 year check, because clock_ymdhms_to_sec already performsgdamore
2006-09-07Add a few consistency checks for ymdhms. Taken from the mc146818 code.gdamore
2006-09-07Make timeval argument to todr_settime volatile to keep non-timecounteruwe
2006-09-07Mark sizeof(tvp->tv_sec) check CONSTCOND.uwe
2006-09-07Add support for new todr entry points for drivers- todr_gettime_ymdhms andgdamore
2006-09-05Before calling todr_gettime, fill in tv.tv_sec. At least one port (vax)matt
2006-09-03Update the base time (used when no filesystem or rtc time exists) to 12pm,gdamore
2006-09-03Don't warn about RTC losing/gaining days if the filesystem time is bogus.gdamore
2006-09-03Incorporate changes from x86/i386 as follows:gdamore
2006-09-02Add MI implementation of inittodr, todr_attach, and resettodr.gdamore