1 2007-01-14 Gary Thomas <gary@mlbassoc.com>
3 * src/wallclock.cxx: Use a mutex for exclusion during get/set
4 operations as the DSR lock may not be appropriate for systems
5 that need to use interrupts to accomplish these functions,
6 (e.g. I2C clock devices).
8 2003-09-23 Dan Jakubiec <firstname.lastname@systech.com>
10 * src/emulate.cxx (get_hw_seconds): Modified the ticks-to-seconds
11 conversion in the wallclock emulator's get_hw_seconds() function.
12 The previous implementation would easily overflow for any
13 reasonable date/tick-resolution combinations.
15 2003-09-19 Gary Thomas <gary@mlbassoc.com>
17 * tests/wallclock.cxx: Allow test to complete, even if it looses sync.
18 This is useful to determine how much drift is present.
20 2003-03-25 Michael Checky <Michael_Checky@Thermoking.com>
22 * include/wallclock/wallclock.inl: Added parens to TO_BCD() and TO_DEC()
23 macros so macro argument is interpreted correctly.
25 2001-07-30 Jesper Skov <jskov@redhat.com>
27 * include/wallclock/wallclock.inl (_simple_mktime): Fix assertion
30 2001-07-27 Jesper Skov <jskov@redhat.com>
32 * include/wallclock/wallclock.inl (_simple_mktime): Added some assertions.
33 (_simple_mktime): Adjust assertions to correct and more sensible
35 (_simple_mktime): A few more assertion tweaks.
37 2001-06-21 Jonathan Larmour <jlarmour@redhat.com>
39 * tests/wallclock2.cxx: No need to check for CYGINT_LIBC_STARTUP_CONTEXT
40 as it is required by CYGPKG_LIBC_STARTUP.
42 2001-04-06 Jonathan Larmour <jlarmour@redhat.com>
44 * include/wallclock/wallclock.inl (_simple_mkdate): Fix small
45 operator precedence bug.
47 2001-04-05 Nick Garnett <nickg@cygnus.co.uk>
49 * tests/wallclock.cxx: Don't run this test in any simulated
50 environment. It just takes far too long and is always timed out by
51 the testing infrastructure.
53 2000-11-22 Jesper Skov <jskov@redhat.com>
55 * src/wallclock.cxx: User driver API instead of scheduler lock.
57 * cdl/wallclock.cdl: Emulation requires the kernel, as do the tests.
59 2000-11-09 Jesper Skov <jskov@redhat.com>
61 * tests/wallclock2.cxx: Include string header.
63 2000-10-20 Jonathan Larmour <jlarmour@redhat.com>
65 * tests/wallclock2.cxx: Play better with main() startup configury
67 * tests/wallclock.cxx: Ensure default priority constructors
70 2000-07-24 Jonathan Larmour <jlarmour@redhat.co.uk>
72 * tests/wallclock2.cxx: Depend on CYGPKG_LIBC_TIME not CYGPKG_LIBC
74 2000-05-30 Jesper Skov <jskov@redhat.com>
76 * include/wallclock/wallclock.inl (_simple_mktime): Replaced
77 expression with algorithm.
79 * tests/wallclock2.cxx: Test wallclock's conversion functions for
82 2000-05-26 Jesper Skov <jskov@redhat.com>
84 * include/wallclock/wallclock.inl:
85 (_simple_mkdate): Rewritten.
88 * include/wallclock.hxx: low-level driver may need init call also
89 in set-get mode. Split helper functions out in new .inl header.
91 * cdl/wallclock.cdl: Added set-get/init-get option.
93 * tests/wallclock2.cxx: Allow HW calls to take one second.
94 * tests/wallclock.cxx: Don't set clock.
96 2000-04-19 Jesper Skov <jskov@cygnus.co.uk>
98 * src/wallclock.cxx: Construct after kernel RTC since the
99 emulation implementation may have to use the RTC.
101 2000-04-13 Jesper Skov <jskov@redhat.com>
103 * tests/wallclock.cxx: Use TEST_NA if N/A.
104 Split in two separate parts (accuracy & info).
106 2000-04-12 Jesper Skov <jskov@redhat.com>
108 * cdl/wallclock.cdl: Don't let interfaces define anything.
110 2000-04-06 Jonathan Larmour <jlarmour@redhat.co.uk>
112 * tests/wallclock2.cxx: Test correct libc feature CDL
114 2000-04-05 John Dallaway <jld@cygnus.co.uk>
118 Implement wallclock implementations as radio buttons.
120 2000-04-05 Jesper Skov <jskov@redhat.com>
122 * tests/wallclock.cxx:
123 Increase precision of test.
127 * tests/wallclock.cxx:
128 * tests/wallclock2.cxx:
130 * Moved common code, emulation device and tests to io/wallclock.
132 2000-04-04 Jesper Skov <jskov@redhat.com>
134 * tests/wallclock2.cxx: Include testcase.h before conditional NA.
136 2000-03-29 Jesper Skov <jskov@redhat.com>
138 * tests/wallclock2.cxx:
139 * include/wallclock.hxx:
143 Reworked WallClock API. It should now be simpler to add new
144 wallclock drivers. Added a simple test to print out the current
145 wallclock value so a human can verify battery backup works.
147 2000-03-17 Jesper Skov <jskov@redhat.com>
151 Added wallclock driver for SH3 RTC module.
153 2000-01-31 Simon FitzMaurice <sdf@cygnus.co.uk>
156 Adjust help URLs in line with new doc layout.
158 2000-01-28 Simon FitzMaurice <sdf@cygnus.co.uk>
161 Adjust help URLs in line with new doc layout.
163 2000-01-19 Hugo Tyson <hmt@cygnus.co.uk>
165 * cdl/*.cdl: Add descriptions to a number of options &c which were
166 lacking same, also tidied up other typos as noticed en passant.
168 1999-11-03 John Dallaway <jld@cygnus.co.uk>
170 * cdl/wallclock.cdl: Define build options.
172 1999-07-14 Jesper Skov <jskov@cygnus.co.uk>
174 * src/emulate.cxx: Include pkgconf/kernel.h.
176 1999-04-20 Jonathan Larmour <jlarmour@cygnus.co.uk>
178 * tests/wallclock.cxx (cyg_start): Output message to show the test
180 (wallclock_thread): Add call to CYG_TEST_STILL_ALIVE, so the user
181 can see that the test is still running.
184 1999-04-12 John Dallaway <jld@cygnus.co.uk>
186 * include/pkgconf/wallclock.h: Add cdl_package doc attribute.
188 1999-04-07 Jesper Skov <jskov@cygnus.co.uk>
190 * tests/wallclock.cxx (cyg_start):
191 Changed to use the new Cyg_Thread constructor.
193 1999-03-22 Hugo Tyson <hmt@cygnus.co.uk>
195 * tests/wallclock.cxx:
196 Use CYGNUM_HAL_STACK_SIZE_TYPICAL for the stack size instead of
197 CYGNUM_HAL_MINIMUM_STACK_SIZE.
199 1999-03-12 Hugo Tyson <hmt@cygnus.co.uk>
201 * tests/wallclock.cxx:
202 Deal with CYGNUM_HAL_MINIMUM_STACK_SIZE requirement.
205 1999-03-05 Jonathan Larmour <jlarmour@cygnus.co.uk>
207 * include/wallclock.hxx:
208 Remove dependency on cyg/kernel/ktypes.h
212 Include cyg/kernel/ktypes.h since it isn't included in wallclock.hxx
215 1999-03-04 Gary Thomas <gthomas@cygnus.co.uk>
217 * include/pkgconf/wallclock.h: Make package stand-alone (no "DEVICES").
219 1999-02-02 Jesper Skov <jskov@cygnus.co.uk>
221 * tests/wallclock.cxx (LOOPS_SIM): Only do two loops on
222 SIM. MN10300 sim takes 1min15secs to do one loop.
224 1999-01-26 Jesper Skov <jskov@cygnus.co.uk>
226 * tests/wallclock.cxx: Removed MIPS specific hackery. Now
227 dependent on cyg_test_is_simulator state.
229 1999-01-21 Jesper Skov <jskov@cygnus.co.uk>
231 * tests/wallclock.cxx (LOOPS_HW): Reduce run-time to 20 seconds.
233 1999-01-19 Nick Garnett <nickg@cygnus.co.uk>
235 * tests/wallclock.cxx: Added test of cyg_test_is_simulator to
236 reduce time on simulated hardware. PR 18715.
238 1998-12-17 Jesper Skov <jskov@cygnus.co.uk>
240 * tests/wallclock.cxx: Do NOP test if kernel RTC disabled.
242 1998-10-23 Jesper Skov <jskov@cygnus.co.uk>
244 * tests/wallclock.cxx: Reduce test time on TX39 SIM.
246 Tue Oct 20 15:54:09 1998 Jonathan Larmour <jlarmour@cygnus.co.uk>
249 Remove unnecessary override of PKGCONF_CXXFLAGS
251 1998-09-26 Bart Veer <bartv@cygnus.co.uk>
253 * include/pkgconf/wallclock.h:
254 PR17501: When using the emulation there is a requirement on the
255 kernel clock. This has been added to the configuration data.
256 If real hardware were used then this dependency would disappear,
257 but currently there is no easy way to express this, and there are
258 no hardware implementations.
260 1998-09-12 Bart Veer <bartv@cygnus.co.uk>
262 * include/pkgconf/wallclock.h:
263 Added missing descriptions (PR 17184)
265 1998-09-02 Bart Veer <bartv@cygnus.co.uk>
267 * include/pkgconf/wallclock.h:
268 Added minimal configuration data.
270 Fri Aug 28 09:40:19 1998 Jonathan Larmour <jlarmour@cygnus.co.uk>
272 * tests/wallclock.cxx:
273 Rename int main(argc, argv) to void cyg_start( void ) under the
274 new entry point system. Therefore also remove return code.
276 Tue Aug 18 16:49:20 1998 Jonathan Larmour <jlarmour@cygnus.co.uk>
278 * tests/wallclock.cxx:
279 Move inclusion of thread.inl before sched.hxx to prevent inline
282 1998-07-31 Nick Garnett <nickg@cygnus.co.uk>
284 * include/pkgconf/wallclock.h:
285 Added this file to contain wallclock confiuration parameters.
288 Now uses pkgconf/wallclock.h for configuration.
290 Wed Jul 22 21:04:15 1998 Jonathan Larmour <jlarmour@cygnus.co.uk>
293 Remove unnecessary include of <cyg/devs/table.h> and remove an
294 unused variable (result) from get_current_time()
296 //####ECOSGPLCOPYRIGHTBEGIN####
297 // -------------------------------------------
298 // This file is part of eCos, the Embedded Configurable Operating System.
299 // Copyright (C) 1998, 1999, 2000, 2001, 2002 Red Hat, Inc.
301 // eCos is free software; you can redistribute it and/or modify it under
302 // the terms of the GNU General Public License as published by the Free
303 // Software Foundation; either version 2 or (at your option) any later version.
305 // eCos is distributed in the hope that it will be useful, but WITHOUT ANY
306 // WARRANTY; without even the implied warranty of MERCHANTABILITY or
307 // FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
310 // You should have received a copy of the GNU General Public License along
311 // with eCos; if not, write to the Free Software Foundation, Inc.,
312 // 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
314 // As a special exception, if other files instantiate templates or use macros
315 // or inline functions from this file, or you compile this file and link it
316 // with other works to produce a work based on this file, this file does not
317 // by itself cause the resulting work to be covered by the GNU General Public
318 // License. However the source code for this file must still be made available
319 // in accordance with section (3) of the GNU General Public License.
321 // This exception does not invalidate any other reasons why a work based on
322 // this file might be covered by the GNU General Public License.
324 // Alternative licenses for eCos may be arranged by contacting Red Hat, Inc.
325 // at http://sources.redhat.com/ecos/ecos-license/
326 // -------------------------------------------
327 //####ECOSGPLCOPYRIGHTEND####