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