1 |
786 |
skrzyp |
2009-02-19 Jonathan Larmour
|
2 |
|
|
|
3 |
|
|
* include/wallclock/wallclock.inl: _simple_mkdate is used by RedBoot
|
4 |
|
|
and possibly others, so don't make specific to SET_GET mode.
|
5 |
|
|
(Suggested by Rene Nielsen).
|
6 |
|
|
|
7 |
|
|
2009-02-04 Bart Veer
|
8 |
|
|
|
9 |
|
|
* src/wallclock.cxx: switch to CYG_INIT_DEV_WALLCLOCK init
|
10 |
|
|
priority.
|
11 |
|
|
|
12 |
|
|
2008-09-09 Gary Thomas
|
13 |
|
|
|
14 |
|
|
* include/wallclock/wallclock.inl (_simple_mktime): Use signed
|
15 |
|
|
integers for loops (more correct if input data is invalid and
|
16 |
|
|
asserts aren't on)
|
17 |
|
|
|
18 |
|
|
2007-01-14 Gary Thomas
|
19 |
|
|
|
20 |
|
|
* src/wallclock.cxx: Use a mutex for exclusion during get/set
|
21 |
|
|
operations as the DSR lock may not be appropriate for systems
|
22 |
|
|
that need to use interrupts to accomplish these functions,
|
23 |
|
|
(e.g. I2C clock devices).
|
24 |
|
|
|
25 |
|
|
2003-09-23 Dan Jakubiec
|
26 |
|
|
|
27 |
|
|
* src/emulate.cxx (get_hw_seconds): Modified the ticks-to-seconds
|
28 |
|
|
conversion in the wallclock emulator's get_hw_seconds() function.
|
29 |
|
|
The previous implementation would easily overflow for any
|
30 |
|
|
reasonable date/tick-resolution combinations.
|
31 |
|
|
|
32 |
|
|
2003-09-19 Gary Thomas
|
33 |
|
|
|
34 |
|
|
* tests/wallclock.cxx: Allow test to complete, even if it looses sync.
|
35 |
|
|
This is useful to determine how much drift is present.
|
36 |
|
|
|
37 |
|
|
2003-03-25 Michael Checky
|
38 |
|
|
|
39 |
|
|
* include/wallclock/wallclock.inl: Added parens to TO_BCD() and TO_DEC()
|
40 |
|
|
macros so macro argument is interpreted correctly.
|
41 |
|
|
|
42 |
|
|
2001-07-30 Jesper Skov
|
43 |
|
|
|
44 |
|
|
* include/wallclock/wallclock.inl (_simple_mktime): Fix assertion
|
45 |
|
|
for leap seconds.
|
46 |
|
|
|
47 |
|
|
2001-07-27 Jesper Skov
|
48 |
|
|
|
49 |
|
|
* include/wallclock/wallclock.inl (_simple_mktime): Added some assertions.
|
50 |
|
|
(_simple_mktime): Adjust assertions to correct and more sensible
|
51 |
|
|
values.
|
52 |
|
|
(_simple_mktime): A few more assertion tweaks.
|
53 |
|
|
|
54 |
|
|
2001-06-21 Jonathan Larmour
|
55 |
|
|
|
56 |
|
|
* tests/wallclock2.cxx: No need to check for CYGINT_LIBC_STARTUP_CONTEXT
|
57 |
|
|
as it is required by CYGPKG_LIBC_STARTUP.
|
58 |
|
|
|
59 |
|
|
2001-04-06 Jonathan Larmour
|
60 |
|
|
|
61 |
|
|
* include/wallclock/wallclock.inl (_simple_mkdate): Fix small
|
62 |
|
|
operator precedence bug.
|
63 |
|
|
|
64 |
|
|
2001-04-05 Nick Garnett
|
65 |
|
|
|
66 |
|
|
* tests/wallclock.cxx: Don't run this test in any simulated
|
67 |
|
|
environment. It just takes far too long and is always timed out by
|
68 |
|
|
the testing infrastructure.
|
69 |
|
|
|
70 |
|
|
2000-11-22 Jesper Skov
|
71 |
|
|
|
72 |
|
|
* src/wallclock.cxx: User driver API instead of scheduler lock.
|
73 |
|
|
|
74 |
|
|
* cdl/wallclock.cdl: Emulation requires the kernel, as do the tests.
|
75 |
|
|
|
76 |
|
|
2000-11-09 Jesper Skov
|
77 |
|
|
|
78 |
|
|
* tests/wallclock2.cxx: Include string header.
|
79 |
|
|
|
80 |
|
|
2000-10-20 Jonathan Larmour
|
81 |
|
|
|
82 |
|
|
* tests/wallclock2.cxx: Play better with main() startup configury
|
83 |
|
|
|
84 |
|
|
* tests/wallclock.cxx: Ensure default priority constructors
|
85 |
|
|
are called.
|
86 |
|
|
|
87 |
|
|
2000-07-24 Jonathan Larmour
|
88 |
|
|
|
89 |
|
|
* tests/wallclock2.cxx: Depend on CYGPKG_LIBC_TIME not CYGPKG_LIBC
|
90 |
|
|
|
91 |
|
|
2000-05-30 Jesper Skov
|
92 |
|
|
|
93 |
|
|
* include/wallclock/wallclock.inl (_simple_mktime): Replaced
|
94 |
|
|
expression with algorithm.
|
95 |
|
|
|
96 |
|
|
* tests/wallclock2.cxx: Test wallclock's conversion functions for
|
97 |
|
|
Y2K safety.
|
98 |
|
|
|
99 |
|
|
2000-05-26 Jesper Skov
|
100 |
|
|
|
101 |
|
|
* include/wallclock/wallclock.inl:
|
102 |
|
|
(_simple_mkdate): Rewritten.
|
103 |
|
|
|
104 |
|
|
* src/wallclock.cxx:
|
105 |
|
|
* include/wallclock.hxx: low-level driver may need init call also
|
106 |
|
|
in set-get mode. Split helper functions out in new .inl header.
|
107 |
|
|
|
108 |
|
|
* cdl/wallclock.cdl: Added set-get/init-get option.
|
109 |
|
|
|
110 |
|
|
* tests/wallclock2.cxx: Allow HW calls to take one second.
|
111 |
|
|
* tests/wallclock.cxx: Don't set clock.
|
112 |
|
|
|
113 |
|
|
2000-04-19 Jesper Skov
|
114 |
|
|
|
115 |
|
|
* src/wallclock.cxx: Construct after kernel RTC since the
|
116 |
|
|
emulation implementation may have to use the RTC.
|
117 |
|
|
|
118 |
|
|
2000-04-13 Jesper Skov
|
119 |
|
|
|
120 |
|
|
* tests/wallclock.cxx: Use TEST_NA if N/A.
|
121 |
|
|
Split in two separate parts (accuracy & info).
|
122 |
|
|
|
123 |
|
|
2000-04-12 Jesper Skov
|
124 |
|
|
|
125 |
|
|
* cdl/wallclock.cdl: Don't let interfaces define anything.
|
126 |
|
|
|
127 |
|
|
2000-04-06 Jonathan Larmour
|
128 |
|
|
|
129 |
|
|
* tests/wallclock2.cxx: Test correct libc feature CDL
|
130 |
|
|
|
131 |
|
|
2000-04-05 John Dallaway
|
132 |
|
|
|
133 |
|
|
* cdl/wallclock.cdl:
|
134 |
|
|
|
135 |
|
|
Implement wallclock implementations as radio buttons.
|
136 |
|
|
|
137 |
|
|
2000-04-05 Jesper Skov
|
138 |
|
|
|
139 |
|
|
* tests/wallclock.cxx:
|
140 |
|
|
Increase precision of test.
|
141 |
|
|
|
142 |
|
|
* src/wallclock.cxx:
|
143 |
|
|
* src/emulate.cxx:
|
144 |
|
|
* tests/wallclock.cxx:
|
145 |
|
|
* tests/wallclock2.cxx:
|
146 |
|
|
|
147 |
|
|
* Moved common code, emulation device and tests to io/wallclock.
|
148 |
|
|
|
149 |
|
|
2000-04-04 Jesper Skov
|
150 |
|
|
|
151 |
|
|
* tests/wallclock2.cxx: Include testcase.h before conditional NA.
|
152 |
|
|
|
153 |
|
|
2000-03-29 Jesper Skov
|
154 |
|
|
|
155 |
|
|
* tests/wallclock2.cxx:
|
156 |
|
|
* include/wallclock.hxx:
|
157 |
|
|
* src/sh3.cxx:
|
158 |
|
|
* src/wallclock.cxx:
|
159 |
|
|
* cdl/wallclock.cdl:
|
160 |
|
|
Reworked WallClock API. It should now be simpler to add new
|
161 |
|
|
wallclock drivers. Added a simple test to print out the current
|
162 |
|
|
wallclock value so a human can verify battery backup works.
|
163 |
|
|
|
164 |
|
|
2000-03-17 Jesper Skov
|
165 |
|
|
|
166 |
|
|
* cdl/wallclock.cdl:
|
167 |
|
|
* src/sh3.cxx:
|
168 |
|
|
Added wallclock driver for SH3 RTC module.
|
169 |
|
|
|
170 |
|
|
2000-01-31 Simon FitzMaurice
|
171 |
|
|
* cdl/wallclock.cdl:
|
172 |
|
|
|
173 |
|
|
Adjust help URLs in line with new doc layout.
|
174 |
|
|
|
175 |
|
|
2000-01-28 Simon FitzMaurice
|
176 |
|
|
* cdl/wallclock.cdl:
|
177 |
|
|
|
178 |
|
|
Adjust help URLs in line with new doc layout.
|
179 |
|
|
|
180 |
|
|
2000-01-19 Hugo Tyson
|
181 |
|
|
|
182 |
|
|
* cdl/*.cdl: Add descriptions to a number of options &c which were
|
183 |
|
|
lacking same, also tidied up other typos as noticed en passant.
|
184 |
|
|
|
185 |
|
|
1999-11-03 John Dallaway
|
186 |
|
|
|
187 |
|
|
* cdl/wallclock.cdl: Define build options.
|
188 |
|
|
|
189 |
|
|
1999-07-14 Jesper Skov
|
190 |
|
|
|
191 |
|
|
* src/emulate.cxx: Include pkgconf/kernel.h.
|
192 |
|
|
|
193 |
|
|
1999-04-20 Jonathan Larmour
|
194 |
|
|
|
195 |
|
|
* tests/wallclock.cxx (cyg_start): Output message to show the test
|
196 |
|
|
has started
|
197 |
|
|
(wallclock_thread): Add call to CYG_TEST_STILL_ALIVE, so the user
|
198 |
|
|
can see that the test is still running.
|
199 |
|
|
Fix for PR 19870
|
200 |
|
|
|
201 |
|
|
1999-04-12 John Dallaway
|
202 |
|
|
|
203 |
|
|
* include/pkgconf/wallclock.h: Add cdl_package doc attribute.
|
204 |
|
|
|
205 |
|
|
1999-04-07 Jesper Skov
|
206 |
|
|
PR 19667
|
207 |
|
|
* tests/wallclock.cxx (cyg_start):
|
208 |
|
|
Changed to use the new Cyg_Thread constructor.
|
209 |
|
|
|
210 |
|
|
1999-03-22 Hugo Tyson
|
211 |
|
|
|
212 |
|
|
* tests/wallclock.cxx:
|
213 |
|
|
Use CYGNUM_HAL_STACK_SIZE_TYPICAL for the stack size instead of
|
214 |
|
|
CYGNUM_HAL_MINIMUM_STACK_SIZE.
|
215 |
|
|
|
216 |
|
|
1999-03-12 Hugo Tyson
|
217 |
|
|
|
218 |
|
|
* tests/wallclock.cxx:
|
219 |
|
|
Deal with CYGNUM_HAL_MINIMUM_STACK_SIZE requirement.
|
220 |
|
|
|
221 |
|
|
|
222 |
|
|
1999-03-05 Jonathan Larmour
|
223 |
|
|
|
224 |
|
|
* include/wallclock.hxx:
|
225 |
|
|
Remove dependency on cyg/kernel/ktypes.h
|
226 |
|
|
Tidy
|
227 |
|
|
|
228 |
|
|
* src/emulate.cxx:
|
229 |
|
|
Include cyg/kernel/ktypes.h since it isn't included in wallclock.hxx
|
230 |
|
|
any more
|
231 |
|
|
|
232 |
|
|
1999-03-04 Gary Thomas
|
233 |
|
|
|
234 |
|
|
* include/pkgconf/wallclock.h: Make package stand-alone (no "DEVICES").
|
235 |
|
|
|
236 |
|
|
1999-02-02 Jesper Skov
|
237 |
|
|
PR 18970
|
238 |
|
|
* tests/wallclock.cxx (LOOPS_SIM): Only do two loops on
|
239 |
|
|
SIM. MN10300 sim takes 1min15secs to do one loop.
|
240 |
|
|
|
241 |
|
|
1999-01-26 Jesper Skov
|
242 |
|
|
(PR 18305)
|
243 |
|
|
* tests/wallclock.cxx: Removed MIPS specific hackery. Now
|
244 |
|
|
dependent on cyg_test_is_simulator state.
|
245 |
|
|
|
246 |
|
|
1999-01-21 Jesper Skov
|
247 |
|
|
PR 18847
|
248 |
|
|
* tests/wallclock.cxx (LOOPS_HW): Reduce run-time to 20 seconds.
|
249 |
|
|
|
250 |
|
|
1999-01-19 Nick Garnett
|
251 |
|
|
|
252 |
|
|
* tests/wallclock.cxx: Added test of cyg_test_is_simulator to
|
253 |
|
|
reduce time on simulated hardware. PR 18715.
|
254 |
|
|
|
255 |
|
|
1998-12-17 Jesper Skov
|
256 |
|
|
|
257 |
|
|
* tests/wallclock.cxx: Do NOP test if kernel RTC disabled.
|
258 |
|
|
|
259 |
|
|
1998-10-23 Jesper Skov
|
260 |
|
|
|
261 |
|
|
* tests/wallclock.cxx: Reduce test time on TX39 SIM.
|
262 |
|
|
|
263 |
|
|
Tue Oct 20 15:54:09 1998 Jonathan Larmour
|
264 |
|
|
|
265 |
|
|
* src/PKGconf.mak:
|
266 |
|
|
Remove unnecessary override of PKGCONF_CXXFLAGS
|
267 |
|
|
|
268 |
|
|
1998-09-26 Bart Veer
|
269 |
|
|
|
270 |
|
|
* include/pkgconf/wallclock.h:
|
271 |
|
|
PR17501: When using the emulation there is a requirement on the
|
272 |
|
|
kernel clock. This has been added to the configuration data.
|
273 |
|
|
If real hardware were used then this dependency would disappear,
|
274 |
|
|
but currently there is no easy way to express this, and there are
|
275 |
|
|
no hardware implementations.
|
276 |
|
|
|
277 |
|
|
1998-09-12 Bart Veer
|
278 |
|
|
|
279 |
|
|
* include/pkgconf/wallclock.h:
|
280 |
|
|
Added missing descriptions (PR 17184)
|
281 |
|
|
|
282 |
|
|
1998-09-02 Bart Veer
|
283 |
|
|
|
284 |
|
|
* include/pkgconf/wallclock.h:
|
285 |
|
|
Added minimal configuration data.
|
286 |
|
|
|
287 |
|
|
Fri Aug 28 09:40:19 1998 Jonathan Larmour
|
288 |
|
|
|
289 |
|
|
* tests/wallclock.cxx:
|
290 |
|
|
Rename int main(argc, argv) to void cyg_start( void ) under the
|
291 |
|
|
new entry point system. Therefore also remove return code.
|
292 |
|
|
|
293 |
|
|
Tue Aug 18 16:49:20 1998 Jonathan Larmour
|
294 |
|
|
|
295 |
|
|
* tests/wallclock.cxx:
|
296 |
|
|
Move inclusion of thread.inl before sched.hxx to prevent inline
|
297 |
|
|
warnings
|
298 |
|
|
|
299 |
|
|
1998-07-31 Nick Garnett
|
300 |
|
|
|
301 |
|
|
* include/pkgconf/wallclock.h:
|
302 |
|
|
Added this file to contain wallclock confiuration parameters.
|
303 |
|
|
|
304 |
|
|
* src/emulate.cxx:
|
305 |
|
|
Now uses pkgconf/wallclock.h for configuration.
|
306 |
|
|
|
307 |
|
|
Wed Jul 22 21:04:15 1998 Jonathan Larmour
|
308 |
|
|
|
309 |
|
|
* src/emulate.cxx:
|
310 |
|
|
Remove unnecessary include of and remove an
|
311 |
|
|
unused variable (result) from get_current_time()
|
312 |
|
|
|
313 |
|
|
// ####GPLCOPYRIGHTBEGIN####
|
314 |
|
|
// -------------------------------------------
|
315 |
|
|
// This file is part of eCos, the Embedded Configurable Operating System.
|
316 |
|
|
// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2009 Free Software Foundation, Inc.
|
317 |
|
|
//
|
318 |
|
|
// This program is free software; you can redistribute it and/or modify
|
319 |
|
|
// it under the terms of the GNU General Public License as published by
|
320 |
|
|
// the Free Software Foundation; either version 2 or (at your option) any
|
321 |
|
|
// later version.
|
322 |
|
|
//
|
323 |
|
|
// This program is distributed in the hope that it will be useful, but
|
324 |
|
|
// WITHOUT ANY WARRANTY; without even the implied warranty of
|
325 |
|
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
326 |
|
|
// General Public License for more details.
|
327 |
|
|
//
|
328 |
|
|
// You should have received a copy of the GNU General Public License
|
329 |
|
|
// along with this program; if not, write to the
|
330 |
|
|
// Free Software Foundation, Inc., 51 Franklin Street,
|
331 |
|
|
// Fifth Floor, Boston, MA 02110-1301, USA.
|
332 |
|
|
// -------------------------------------------
|
333 |
|
|
// ####GPLCOPYRIGHTEND####
|
334 |
|
|
|
335 |
|
|
|