# # ChangeLog for uspace/drv/time in mainline # # Generated by Trac 1.6 # 2025-10-09T20:58:52Z Thu, 23 Aug 2012 22:02:48 GMT Maurizio Lombardi [276e44a] * uspace/drv/time/cmos-rtc/cmos-rtc.c (modified) rtc: fix format string error Thu, 23 Aug 2012 14:28:14 GMT Maurizio Lombardi [ae827d0] * uspace/app/date/date.c (modified) * uspace/drv/time/cmos-rtc/cmos-rtc.c (modified) rtc: make the driver - port IO / memory mapped IO - neutral. Thu, 23 Aug 2012 11:50:07 GMT Maurizio Lombardi [9673fd3] * uspace/drv/time/cmos-rtc/cmos-rtc.c (modified) rtc: add support to offline/online operations Wed, 22 Aug 2012 18:53:13 GMT Maurizio Lombardi [664fc031] * uspace/drv/time/cmos-rtc/cmos-rtc.c (modified) * uspace/lib/c/generic/time.c (modified) * uspace/lib/c/include/sys/time.h (modified) * uspace/lib/posix/time.c (modified) rename the new time functions to the time_* naming scheme Mon, 20 Aug 2012 22:37:25 GMT Maurizio Lombardi [971f50e7] * uspace/drv/time/cmos-rtc/cmos-rtc.c (modified) rtc: use ioport8_t* instead of uint32_t* as the type of the io_addr ... Mon, 20 Aug 2012 22:24:43 GMT Maurizio Lombardi [762083b] * uspace/drv/time/cmos-rtc/cmos-rtc.c (modified) set the boottime to zero in rtc_dev_initialize(), remove a double ... Mon, 20 Aug 2012 21:41:29 GMT Maurizio Lombardi [c9abf50] * uspace/drv/time/cmos-rtc/cmos-rtc.c (modified) cstyle Mon, 20 Aug 2012 21:38:24 GMT Maurizio Lombardi [60af6fc2] * uspace/drv/time/cmos-rtc/cmos-rtc.c (modified) rtc: move boottime into the rtc structure Mon, 20 Aug 2012 20:46:43 GMT Maurizio Lombardi [6f445a67] * uspace/drv/time/cmos-rtc/cmos-rtc.c (modified) Fix the rtc driver to support changes made by rev ... Thu, 16 Aug 2012 21:35:20 GMT Maurizio Lombardi [83298e8] * uspace/drv/time/cmos-rtc/cmos-rtc.c (modified) rtc: make use of the getuptime() function Wed, 15 Aug 2012 17:52:09 GMT Maurizio Lombardi [f7ea5400] * uspace/drv/time/cmos-rtc/cmos-rtc.c (modified) * uspace/lib/c/generic/time.c (modified) * uspace/lib/c/include/sys/time.h (modified) * uspace/lib/posix/time.c (modified) * uspace/lib/posix/time.h (modified) Replace the gmtime(), asctime() localtime() and ctime() with a new ... Mon, 13 Aug 2012 13:57:15 GMT Maurizio Lombardi [43e660c] * uspace/drv/time/cmos-rtc/cmos-rtc.c (modified) rtc: the client_connected bool field is not needed Sun, 12 Aug 2012 18:24:56 GMT Maurizio Lombardi [ea5cc5b] * uspace/drv/time/cmos-rtc/cmos-rtc.c (modified) * uspace/lib/c/include/ipc/clock_ctl.h (modified) remove the CLOCK_GET_BOOTTIME operation Tue, 22 May 2012 23:57:04 GMT Maurizio Lombardi [0a0e6e7] * uspace/drv/time/cmos-rtc/cmos-rtc.c (modified) rtc: add some comments Tue, 22 May 2012 21:57:47 GMT Maurizio Lombardi [8fde078] * uspace/drv/time/cmos-rtc/cmos-rtc.c (modified) * uspace/lib/c/include/ipc/clock_ctl.h (modified) rtc: add support to the CLOCK_GET_BOOTTIME request Wed, 25 Apr 2012 15:38:42 GMT Maurizio Lombardi [af7e3d3] * uspace/drv/time/cmos-rtc/cmos-rtc.c (modified) rtc: add some comments, cstyle Wed, 25 Apr 2012 11:31:10 GMT Maurizio Lombardi [fa18523] * uspace/app/date/date.c (modified) * uspace/drv/time/cmos-rtc/cmos-rtc.c (modified) rtc: move tm_sanity check() from the rtc driver to the date ... Wed, 25 Apr 2012 11:11:46 GMT Maurizio Lombardi [6a3808e] * uspace/drv/time/cmos-rtc/cmos-regs.h (modified) * uspace/drv/time/cmos-rtc/cmos-rtc.c (modified) rtc: rename the registers bit-masks to make the code more readable Wed, 18 Apr 2012 20:31:12 GMT Maurizio Lombardi [a44b58c] * uspace/drv/time/cmos-rtc/cmos-rtc.c (modified) rtc: improved tm structure sanity check Wed, 18 Apr 2012 00:17:52 GMT Maurizio Lombardi [e5fbe06] * uspace/drv/time/cmos-rtc/cmos-rtc.c (modified) rtc: Check the rtc epoch in rtc_tm_sanity_check() Tue, 17 Apr 2012 21:06:26 GMT Maurizio Lombardi [f004318] * uspace/drv/time/cmos-rtc/cmos-rtc.c (modified) rtc: some minor fixes - Fix a comment - return the sanity check ... Sun, 15 Apr 2012 23:32:23 GMT Maurizio Lombardi [074324f1] * uspace/drv/time/cmos-rtc/cmos-rtc.c (modified) rtc: Check the epoch of the rtc and fix the tm structure if needed. Sun, 15 Apr 2012 22:52:19 GMT Maurizio Lombardi [709476f4] * uspace/drv/time/cmos-rtc/cmos-rtc.c (modified) rtc: fix bug when setting the "month" rtc register Sun, 15 Apr 2012 19:44:36 GMT Maurizio Lombardi [f6af126] * uspace/drv/time/cmos-rtc/cmos-rtc.c (modified) rtc: force the rtc to operate in 24h mode (it should be active by ... Sun, 15 Apr 2012 15:24:03 GMT Maurizio Lombardi [80d3f846] * uspace/drv/time/cmos-rtc/cmos-rtc.c (modified) rtc: check for leap years Sat, 14 Apr 2012 18:08:21 GMT Maurizio Lombardi [a8a0d43] * uspace/drv/time/cmos-rtc/cmos-regs.h (modified) * uspace/drv/time/cmos-rtc/cmos-rtc.c (modified) rtc: inhibit updates, write the cmos registers and then restore ... Sat, 14 Apr 2012 16:45:13 GMT Maurizio Lombardi [cf72943] * uspace/drv/time/cmos-rtc/cmos-regs.h (modified) * uspace/drv/time/cmos-rtc/cmos-rtc.c (modified) rtc: fix RTC_MASK_UPDATE and add some comments Sat, 14 Apr 2012 14:51:41 GMT Maurizio Lombardi [1170ea3c] * uspace/drv/time/cmos-rtc/cmos-rtc.c (modified) Initial implementation of rtc_time_set() - Add ... Fri, 13 Apr 2012 20:23:29 GMT Maurizio Lombardi [95060d5b] * uspace/drv/time/cmos-rtc/cmos-regs.h (modified) * uspace/drv/time/cmos-rtc/cmos-rtc.c (modified) rtc: introduce support to 12h mode of operation Thu, 12 Apr 2012 15:54:57 GMT Maurizio Lombardi [bb8f69d] * uspace/drv/time/cmos-rtc/cmos-rtc.c (modified) rtc: add support to the dev_remove driver operation Thu, 05 Apr 2012 19:37:32 GMT Maurizio Lombardi [f61a326] * uspace/drv/time/cmos-rtc/cmos-rtc.c (modified) rtc: Fix cmos battery status reading Thu, 05 Apr 2012 18:46:20 GMT Maurizio Lombardi [2a4c22d] * uspace/drv/time/cmos-rtc/cmos-rtc.c (modified) rtc: revert revision 1492, it's completely broken. Wed, 04 Apr 2012 20:22:20 GMT Maurizio Lombardi [d8a4e79] * uspace/drv/time/cmos-rtc/cmos-regs.h (modified) * uspace/drv/time/cmos-rtc/cmos-rtc.c (modified) * uspace/lib/c/include/ipc/clock_ctl.h (added) rtc: Add an option to the default handler to get the status of the ... Wed, 04 Apr 2012 19:48:57 GMT Maurizio Lombardi [f87ea202] * uspace/drv/time/cmos-rtc/cmos-rtc.c (modified) rtc: it is sufficient to just read the second to understand if the ... Tue, 03 Apr 2012 19:07:05 GMT Maurizio Lombardi [fc7d28e] * uspace/drv/time/cmos-rtc/cmos-rtc.c (modified) rtc: driver improvements - Fix bcd mode detection - Check if the ... Tue, 03 Apr 2012 15:12:44 GMT Maurizio Lombardi [eccdc9e2] * uspace/drv/time/cmos-rtc/cmos-rtc.c (modified) rtc: fixme, bcd_mode is not correctly detected Tue, 03 Apr 2012 15:01:03 GMT Maurizio Lombardi [aeef318] * uspace/drv/time/cmos-rtc/cmos-rtc.c (modified) rtc: Fix the previous commit Tue, 03 Apr 2012 11:39:20 GMT Maurizio Lombardi [05ed9d7] * uspace/drv/time/cmos-rtc/cmos-rtc.c (modified) rtc: count the months starting from 0, not from 1 Tue, 03 Apr 2012 10:23:48 GMT Maurizio Lombardi [db8d552] * uspace/drv/time/cmos-rtc/cmos-rtc.c (modified) rtc: read the time from the rtc: - Perform the read in the ... Tue, 03 Apr 2012 10:21:43 GMT Maurizio Lombardi [d9c11eed] * uspace/drv/time/cmos-rtc/cmos-regs.h (modified) rtc: add the "status B" register address to the list of CMOS ... Tue, 03 Apr 2012 09:37:56 GMT Maurizio Lombardi [3b79ba5] * uspace/drv/time/cmos-rtc/cmos-rtc.c (modified) rtc: add a function to read a generic register from the CMOS memory Tue, 03 Apr 2012 09:15:30 GMT Maurizio Lombardi [f30ee571] * uspace/drv/time/cmos-rtc/cmos-rtc.c (modified) rtc: add the rtc_update_in_progress() function Tue, 03 Apr 2012 09:14:37 GMT Maurizio Lombardi [010341d] * uspace/drv/time/cmos-rtc/cmos-regs.h (added) rtc: add the cmos registers addresses. Tue, 03 Apr 2012 08:22:35 GMT Maurizio Lombardi [2a5171db] * uspace/drv/time/cmos-rtc/cmos-rtc.c (modified) rtc: add the rtc_close() callback. Tue, 03 Apr 2012 08:10:43 GMT Maurizio Lombardi [923b2eba] * uspace/drv/time/cmos-rtc/cmos-rtc.c (modified) rtc: add the rtc_open() callback Tue, 03 Apr 2012 07:51:15 GMT Maurizio Lombardi [8d2963d] * uspace/drv/time/cmos-rtc/cmos-rtc.c (modified) * uspace/lib/c/include/sys/time.h (modified) * uspace/lib/drv/include/ops/clock.h (modified) rtc: replace time_t with the new tm structure Sun, 01 Apr 2012 21:02:17 GMT Maurizio Lombardi [28ca043f] * uspace/drv/time/cmos-rtc/cmos-rtc.c (modified) RTC: raise an error if the I/O range assigned to the device is too small. Sun, 01 Apr 2012 20:19:01 GMT Maurizio Lombardi [4b44de57] * uspace/drv/time/cmos-rtc/cmos-rtc.c (modified) RTC: invoke the cleanup function in case of errors Sun, 01 Apr 2012 19:32:06 GMT Maurizio Lombardi [0883de8] * uspace/drv/time/cmos-rtc/cmos-rtc.c (modified) RTC: add the driver to the "clock" category; add a function to enable ... Sat, 31 Mar 2012 11:37:04 GMT Maurizio Lombardi [c47f1b6] * uspace/drv/time/cmos-rtc/cmos-rtc.c (modified) RTC: read the I/O address assigned to the device. Sat, 31 Mar 2012 09:56:45 GMT Maurizio Lombardi [5ef13847] * boot/arch/amd64/Makefile.inc (modified) * uspace/Makefile (modified) * uspace/drv/time/cmos-rtc/Makefile (added) * uspace/drv/time/cmos-rtc/cmos-rtc.c (moved) * uspace/drv/time/cmos-rtc/cmos-rtc.ma (added) RTC: move the rtc driver under drv/time/cmos-rtc Fri, 30 Mar 2012 20:35:50 GMT Maurizio Lombardi [b3db669] * uspace/drv/time/rtc.c (modified) RTC: Initial implementation of the rtc_dev_initialize() function Fri, 30 Mar 2012 13:44:15 GMT Maurizio Lombardi [0b8a3e7] * uspace/drv/time/rtc.c (modified) RTC: Add some comments on top of rtc_time_get() and rtc_time_set() ... Fri, 30 Mar 2012 13:24:02 GMT Maurizio Lombardi [6b329749] * uspace/drv/time/rtc.c (modified) RTC: add a fibril mutex to synchronize the access to the real time ... Fri, 30 Mar 2012 12:53:31 GMT Maurizio Lombardi [a31ca11f] * uspace/drv/time/rtc.c (modified) RTC: add the rtc_dev_add() skeleton. Fri, 30 Mar 2012 08:56:22 GMT Maurizio Lombardi [4863bb52] * uspace/drv/time/rtc.c (modified) RTC: the rtc driver implements the CLOCK_DEV_IFACE interface. Fri, 30 Mar 2012 08:21:19 GMT Maurizio Lombardi [a2e4889] * uspace/Makefile (modified) * uspace/drv/time/rtc.c (modified) RTC: link the rtc driver to the uspace Makefile and fix some typos Thu, 29 Mar 2012 21:20:32 GMT Maurizio Lombardi [1e19a15] * uspace/drv/time/rtc.c (added) RTC: first commit, rtc driver skeleton.