2001-07-30 Jesper Skov
|
2001-07-30 Jesper Skov
|
|
|
* include/wallclock/wallclock.inl (_simple_mktime): Fix assertion
|
* include/wallclock/wallclock.inl (_simple_mktime): Fix assertion
|
for leap seconds.
|
for leap seconds.
|
|
|
2001-07-27 Jesper Skov
|
2001-07-27 Jesper Skov
|
|
|
* include/wallclock/wallclock.inl (_simple_mktime): Added some assertions.
|
* include/wallclock/wallclock.inl (_simple_mktime): Added some assertions.
|
(_simple_mktime): Adjust assertions to correct and more sensible
|
(_simple_mktime): Adjust assertions to correct and more sensible
|
values.
|
values.
|
(_simple_mktime): A few more assertion tweaks.
|
(_simple_mktime): A few more assertion tweaks.
|
|
|
2001-06-21 Jonathan Larmour
|
2001-06-21 Jonathan Larmour
|
|
|
* tests/wallclock2.cxx: No need to check for CYGINT_LIBC_STARTUP_CONTEXT
|
* tests/wallclock2.cxx: No need to check for CYGINT_LIBC_STARTUP_CONTEXT
|
as it is required by CYGPKG_LIBC_STARTUP.
|
as it is required by CYGPKG_LIBC_STARTUP.
|
|
|
2001-04-06 Jonathan Larmour
|
2001-04-06 Jonathan Larmour
|
|
|
* include/wallclock/wallclock.inl (_simple_mkdate): Fix small
|
* include/wallclock/wallclock.inl (_simple_mkdate): Fix small
|
operator precedence bug.
|
operator precedence bug.
|
|
|
2001-04-05 Nick Garnett
|
2001-04-05 Nick Garnett
|
|
|
* tests/wallclock.cxx: Don't run this test in any simulated
|
* tests/wallclock.cxx: Don't run this test in any simulated
|
environment. It just takes far too long and is always timed out by
|
environment. It just takes far too long and is always timed out by
|
the testing infrastructure.
|
the testing infrastructure.
|
|
|
2000-11-22 Jesper Skov
|
2000-11-22 Jesper Skov
|
|
|
* src/wallclock.cxx: User driver API instead of scheduler lock.
|
* src/wallclock.cxx: User driver API instead of scheduler lock.
|
|
|
* cdl/wallclock.cdl: Emulation requires the kernel, as do the tests.
|
* cdl/wallclock.cdl: Emulation requires the kernel, as do the tests.
|
|
|
2000-11-09 Jesper Skov
|
2000-11-09 Jesper Skov
|
|
|
* tests/wallclock2.cxx: Include string header.
|
* tests/wallclock2.cxx: Include string header.
|
|
|
2000-10-20 Jonathan Larmour
|
2000-10-20 Jonathan Larmour
|
|
|
* tests/wallclock2.cxx: Play better with main() startup configury
|
* tests/wallclock2.cxx: Play better with main() startup configury
|
|
|
* tests/wallclock.cxx: Ensure default priority constructors
|
* tests/wallclock.cxx: Ensure default priority constructors
|
are called.
|
are called.
|
|
|
2000-07-24 Jonathan Larmour
|
2000-07-24 Jonathan Larmour
|
|
|
* tests/wallclock2.cxx: Depend on CYGPKG_LIBC_TIME not CYGPKG_LIBC
|
* tests/wallclock2.cxx: Depend on CYGPKG_LIBC_TIME not CYGPKG_LIBC
|
|
|
2000-05-30 Jesper Skov
|
2000-05-30 Jesper Skov
|
|
|
* include/wallclock/wallclock.inl (_simple_mktime): Replaced
|
* include/wallclock/wallclock.inl (_simple_mktime): Replaced
|
expression with algorithm.
|
expression with algorithm.
|
|
|
* tests/wallclock2.cxx: Test wallclock's conversion functions for
|
* tests/wallclock2.cxx: Test wallclock's conversion functions for
|
Y2K safety.
|
Y2K safety.
|
|
|
2000-05-26 Jesper Skov
|
2000-05-26 Jesper Skov
|
|
|
* include/wallclock/wallclock.inl:
|
* include/wallclock/wallclock.inl:
|
(_simple_mkdate): Rewritten.
|
(_simple_mkdate): Rewritten.
|
|
|
* src/wallclock.cxx:
|
* src/wallclock.cxx:
|
* include/wallclock.hxx: low-level driver may need init call also
|
* include/wallclock.hxx: low-level driver may need init call also
|
in set-get mode. Split helper functions out in new .inl header.
|
in set-get mode. Split helper functions out in new .inl header.
|
|
|
* cdl/wallclock.cdl: Added set-get/init-get option.
|
* cdl/wallclock.cdl: Added set-get/init-get option.
|
|
|
* tests/wallclock2.cxx: Allow HW calls to take one second.
|
* tests/wallclock2.cxx: Allow HW calls to take one second.
|
* tests/wallclock.cxx: Don't set clock.
|
* tests/wallclock.cxx: Don't set clock.
|
|
|
2000-04-19 Jesper Skov
|
2000-04-19 Jesper Skov
|
|
|
* src/wallclock.cxx: Construct after kernel RTC since the
|
* src/wallclock.cxx: Construct after kernel RTC since the
|
emulation implementation may have to use the RTC.
|
emulation implementation may have to use the RTC.
|
|
|
2000-04-13 Jesper Skov
|
2000-04-13 Jesper Skov
|
|
|
* tests/wallclock.cxx: Use TEST_NA if N/A.
|
* tests/wallclock.cxx: Use TEST_NA if N/A.
|
Split in two separate parts (accuracy & info).
|
Split in two separate parts (accuracy & info).
|
|
|
2000-04-12 Jesper Skov
|
2000-04-12 Jesper Skov
|
|
|
* cdl/wallclock.cdl: Don't let interfaces define anything.
|
* cdl/wallclock.cdl: Don't let interfaces define anything.
|
|
|
2000-04-06 Jonathan Larmour
|
2000-04-06 Jonathan Larmour
|
|
|
* tests/wallclock2.cxx: Test correct libc feature CDL
|
* tests/wallclock2.cxx: Test correct libc feature CDL
|
|
|
2000-04-05 John Dallaway
|
2000-04-05 John Dallaway
|
|
|
* cdl/wallclock.cdl:
|
* cdl/wallclock.cdl:
|
|
|
Implement wallclock implementations as radio buttons.
|
Implement wallclock implementations as radio buttons.
|
|
|
2000-04-05 Jesper Skov
|
2000-04-05 Jesper Skov
|
|
|
* tests/wallclock.cxx:
|
* tests/wallclock.cxx:
|
Increase precision of test.
|
Increase precision of test.
|
|
|
* src/wallclock.cxx:
|
* src/wallclock.cxx:
|
* src/emulate.cxx:
|
* src/emulate.cxx:
|
* tests/wallclock.cxx:
|
* tests/wallclock.cxx:
|
* tests/wallclock2.cxx:
|
* tests/wallclock2.cxx:
|
|
|
* Moved common code, emulation device and tests to io/wallclock.
|
* Moved common code, emulation device and tests to io/wallclock.
|
|
|
2000-04-04 Jesper Skov
|
2000-04-04 Jesper Skov
|
|
|
* tests/wallclock2.cxx: Include testcase.h before conditional NA.
|
* tests/wallclock2.cxx: Include testcase.h before conditional NA.
|
|
|
2000-03-29 Jesper Skov
|
2000-03-29 Jesper Skov
|
|
|
* tests/wallclock2.cxx:
|
* tests/wallclock2.cxx:
|
* include/wallclock.hxx:
|
* include/wallclock.hxx:
|
* src/sh3.cxx:
|
* src/sh3.cxx:
|
* src/wallclock.cxx:
|
* src/wallclock.cxx:
|
* cdl/wallclock.cdl:
|
* cdl/wallclock.cdl:
|
Reworked WallClock API. It should now be simpler to add new
|
Reworked WallClock API. It should now be simpler to add new
|
wallclock drivers. Added a simple test to print out the current
|
wallclock drivers. Added a simple test to print out the current
|
wallclock value so a human can verify battery backup works.
|
wallclock value so a human can verify battery backup works.
|
|
|
2000-03-17 Jesper Skov
|
2000-03-17 Jesper Skov
|
|
|
* cdl/wallclock.cdl:
|
* cdl/wallclock.cdl:
|
* src/sh3.cxx:
|
* src/sh3.cxx:
|
Added wallclock driver for SH3 RTC module.
|
Added wallclock driver for SH3 RTC module.
|
|
|
2000-01-31 Simon FitzMaurice
|
2000-01-31 Simon FitzMaurice
|
* cdl/wallclock.cdl:
|
* cdl/wallclock.cdl:
|
|
|
Adjust help URLs in line with new doc layout.
|
Adjust help URLs in line with new doc layout.
|
|
|
2000-01-28 Simon FitzMaurice
|
2000-01-28 Simon FitzMaurice
|
* cdl/wallclock.cdl:
|
* cdl/wallclock.cdl:
|
|
|
Adjust help URLs in line with new doc layout.
|
Adjust help URLs in line with new doc layout.
|
|
|
2000-01-19 Hugo Tyson
|
2000-01-19 Hugo Tyson
|
|
|
* cdl/*.cdl: Add descriptions to a number of options &c which were
|
* cdl/*.cdl: Add descriptions to a number of options &c which were
|
lacking same, also tidied up other typos as noticed en passant.
|
lacking same, also tidied up other typos as noticed en passant.
|
|
|
1999-11-03 John Dallaway
|
1999-11-03 John Dallaway
|
|
|
* cdl/wallclock.cdl: Define build options.
|
* cdl/wallclock.cdl: Define build options.
|
|
|
1999-07-14 Jesper Skov
|
1999-07-14 Jesper Skov
|
|
|
* src/emulate.cxx: Include pkgconf/kernel.h.
|
* src/emulate.cxx: Include pkgconf/kernel.h.
|
|
|
1999-04-20 Jonathan Larmour
|
1999-04-20 Jonathan Larmour
|
|
|
* tests/wallclock.cxx (cyg_start): Output message to show the test
|
* tests/wallclock.cxx (cyg_start): Output message to show the test
|
has started
|
has started
|
(wallclock_thread): Add call to CYG_TEST_STILL_ALIVE, so the user
|
(wallclock_thread): Add call to CYG_TEST_STILL_ALIVE, so the user
|
can see that the test is still running.
|
can see that the test is still running.
|
Fix for PR 19870
|
Fix for PR 19870
|
|
|
1999-04-12 John Dallaway
|
1999-04-12 John Dallaway
|
|
|
* include/pkgconf/wallclock.h: Add cdl_package doc attribute.
|
* include/pkgconf/wallclock.h: Add cdl_package doc attribute.
|
|
|
1999-04-07 Jesper Skov
|
1999-04-07 Jesper Skov
|
PR 19667
|
PR 19667
|
* tests/wallclock.cxx (cyg_start):
|
* tests/wallclock.cxx (cyg_start):
|
Changed to use the new Cyg_Thread constructor.
|
Changed to use the new Cyg_Thread constructor.
|
|
|
1999-03-22 Hugo Tyson
|
1999-03-22 Hugo Tyson
|
|
|
* tests/wallclock.cxx:
|
* tests/wallclock.cxx:
|
Use CYGNUM_HAL_STACK_SIZE_TYPICAL for the stack size instead of
|
Use CYGNUM_HAL_STACK_SIZE_TYPICAL for the stack size instead of
|
CYGNUM_HAL_MINIMUM_STACK_SIZE.
|
CYGNUM_HAL_MINIMUM_STACK_SIZE.
|
|
|
1999-03-12 Hugo Tyson
|
1999-03-12 Hugo Tyson
|
|
|
* tests/wallclock.cxx:
|
* tests/wallclock.cxx:
|
Deal with CYGNUM_HAL_MINIMUM_STACK_SIZE requirement.
|
Deal with CYGNUM_HAL_MINIMUM_STACK_SIZE requirement.
|
|
|
|
|
1999-03-05 Jonathan Larmour
|
1999-03-05 Jonathan Larmour
|
|
|
* include/wallclock.hxx:
|
* include/wallclock.hxx:
|
Remove dependency on cyg/kernel/ktypes.h
|
Remove dependency on cyg/kernel/ktypes.h
|
Tidy
|
Tidy
|
|
|
* src/emulate.cxx:
|
* src/emulate.cxx:
|
Include cyg/kernel/ktypes.h since it isn't included in wallclock.hxx
|
Include cyg/kernel/ktypes.h since it isn't included in wallclock.hxx
|
any more
|
any more
|
|
|
1999-03-04 Gary Thomas
|
1999-03-04 Gary Thomas
|
|
|
* include/pkgconf/wallclock.h: Make package stand-alone (no "DEVICES").
|
* include/pkgconf/wallclock.h: Make package stand-alone (no "DEVICES").
|
|
|
1999-02-02 Jesper Skov
|
1999-02-02 Jesper Skov
|
PR 18970
|
PR 18970
|
* tests/wallclock.cxx (LOOPS_SIM): Only do two loops on
|
* tests/wallclock.cxx (LOOPS_SIM): Only do two loops on
|
SIM. MN10300 sim takes 1min15secs to do one loop.
|
SIM. MN10300 sim takes 1min15secs to do one loop.
|
|
|
1999-01-26 Jesper Skov
|
1999-01-26 Jesper Skov
|
(PR 18305)
|
(PR 18305)
|
* tests/wallclock.cxx: Removed MIPS specific hackery. Now
|
* tests/wallclock.cxx: Removed MIPS specific hackery. Now
|
dependent on cyg_test_is_simulator state.
|
dependent on cyg_test_is_simulator state.
|
|
|
1999-01-21 Jesper Skov
|
1999-01-21 Jesper Skov
|
PR 18847
|
PR 18847
|
* tests/wallclock.cxx (LOOPS_HW): Reduce run-time to 20 seconds.
|
* tests/wallclock.cxx (LOOPS_HW): Reduce run-time to 20 seconds.
|
|
|
1999-01-19 Nick Garnett
|
1999-01-19 Nick Garnett
|
|
|
* tests/wallclock.cxx: Added test of cyg_test_is_simulator to
|
* tests/wallclock.cxx: Added test of cyg_test_is_simulator to
|
reduce time on simulated hardware. PR 18715.
|
reduce time on simulated hardware. PR 18715.
|
|
|
1998-12-17 Jesper Skov
|
1998-12-17 Jesper Skov
|
|
|
* tests/wallclock.cxx: Do NOP test if kernel RTC disabled.
|
* tests/wallclock.cxx: Do NOP test if kernel RTC disabled.
|
|
|
1998-10-23 Jesper Skov
|
1998-10-23 Jesper Skov
|
|
|
* tests/wallclock.cxx: Reduce test time on TX39 SIM.
|
* tests/wallclock.cxx: Reduce test time on TX39 SIM.
|
|
|
Tue Oct 20 15:54:09 1998 Jonathan Larmour
|
Tue Oct 20 15:54:09 1998 Jonathan Larmour
|
|
|
* src/PKGconf.mak:
|
* src/PKGconf.mak:
|
Remove unnecessary override of PKGCONF_CXXFLAGS
|
Remove unnecessary override of PKGCONF_CXXFLAGS
|
|
|
1998-09-26 Bart Veer
|
1998-09-26 Bart Veer
|
|
|
* include/pkgconf/wallclock.h:
|
* include/pkgconf/wallclock.h:
|
PR17501: When using the emulation there is a requirement on the
|
PR17501: When using the emulation there is a requirement on the
|
kernel clock. This has been added to the configuration data.
|
kernel clock. This has been added to the configuration data.
|
If real hardware were used then this dependency would disappear,
|
If real hardware were used then this dependency would disappear,
|
but currently there is no easy way to express this, and there are
|
but currently there is no easy way to express this, and there are
|
no hardware implementations.
|
no hardware implementations.
|
|
|
1998-09-12 Bart Veer
|
1998-09-12 Bart Veer
|
|
|
* include/pkgconf/wallclock.h:
|
* include/pkgconf/wallclock.h:
|
Added missing descriptions (PR 17184)
|
Added missing descriptions (PR 17184)
|
|
|
1998-09-02 Bart Veer
|
1998-09-02 Bart Veer
|
|
|
* include/pkgconf/wallclock.h:
|
* include/pkgconf/wallclock.h:
|
Added minimal configuration data.
|
Added minimal configuration data.
|
|
|
Fri Aug 28 09:40:19 1998 Jonathan Larmour
|
Fri Aug 28 09:40:19 1998 Jonathan Larmour
|
|
|
* tests/wallclock.cxx:
|
* tests/wallclock.cxx:
|
Rename int main(argc, argv) to void cyg_start( void ) under the
|
Rename int main(argc, argv) to void cyg_start( void ) under the
|
new entry point system. Therefore also remove return code.
|
new entry point system. Therefore also remove return code.
|
|
|
Tue Aug 18 16:49:20 1998 Jonathan Larmour
|
Tue Aug 18 16:49:20 1998 Jonathan Larmour
|
|
|
* tests/wallclock.cxx:
|
* tests/wallclock.cxx:
|
Move inclusion of thread.inl before sched.hxx to prevent inline
|
Move inclusion of thread.inl before sched.hxx to prevent inline
|
warnings
|
warnings
|
|
|
1998-07-31 Nick Garnett
|
1998-07-31 Nick Garnett
|
|
|
* include/pkgconf/wallclock.h:
|
* include/pkgconf/wallclock.h:
|
Added this file to contain wallclock confiuration parameters.
|
Added this file to contain wallclock confiuration parameters.
|
|
|
* src/emulate.cxx:
|
* src/emulate.cxx:
|
Now uses pkgconf/wallclock.h for configuration.
|
Now uses pkgconf/wallclock.h for configuration.
|
|
|
Wed Jul 22 21:04:15 1998 Jonathan Larmour
|
Wed Jul 22 21:04:15 1998 Jonathan Larmour
|
|
|
* src/emulate.cxx:
|
* src/emulate.cxx:
|
Remove unnecessary include of and remove an
|
Remove unnecessary include of and remove an
|
unused variable (result) from get_current_time()
|
unused variable (result) from get_current_time()
|
|
|
//####ECOSGPLCOPYRIGHTBEGIN####
|
//####ECOSGPLCOPYRIGHTBEGIN####
|
// -------------------------------------------
|
// -------------------------------------------
|
// This file is part of eCos, the Embedded Configurable Operating System.
|
// This file is part of eCos, the Embedded Configurable Operating System.
|
// Copyright (C) 1998, 1999, 2000, 2001, 2002 Red Hat, Inc.
|
// Copyright (C) 1998, 1999, 2000, 2001, 2002 Red Hat, Inc.
|
//
|
//
|
// eCos is free software; you can redistribute it and/or modify it under
|
// eCos is free software; you can redistribute it and/or modify it under
|
// the terms of the GNU General Public License as published by the Free
|
// the terms of the GNU General Public License as published by the Free
|
// Software Foundation; either version 2 or (at your option) any later version.
|
// Software Foundation; either version 2 or (at your option) any later version.
|
//
|
//
|
// eCos is distributed in the hope that it will be useful, but WITHOUT ANY
|
// eCos is distributed in the hope that it will be useful, but WITHOUT ANY
|
// WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
// WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
// FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
// FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
// for more details.
|
// for more details.
|
//
|
//
|
// You should have received a copy of the GNU General Public License along
|
// You should have received a copy of the GNU General Public License along
|
// with eCos; if not, write to the Free Software Foundation, Inc.,
|
// with eCos; if not, write to the Free Software Foundation, Inc.,
|
// 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
|
// 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
|
//
|
//
|
// As a special exception, if other files instantiate templates or use macros
|
// As a special exception, if other files instantiate templates or use macros
|
// or inline functions from this file, or you compile this file and link it
|
// or inline functions from this file, or you compile this file and link it
|
// with other works to produce a work based on this file, this file does not
|
// with other works to produce a work based on this file, this file does not
|
// by itself cause the resulting work to be covered by the GNU General Public
|
// by itself cause the resulting work to be covered by the GNU General Public
|
// License. However the source code for this file must still be made available
|
// License. However the source code for this file must still be made available
|
// in accordance with section (3) of the GNU General Public License.
|
// in accordance with section (3) of the GNU General Public License.
|
//
|
//
|
// This exception does not invalidate any other reasons why a work based on
|
// This exception does not invalidate any other reasons why a work based on
|
// this file might be covered by the GNU General Public License.
|
// this file might be covered by the GNU General Public License.
|
//
|
//
|
// Alternative licenses for eCos may be arranged by contacting Red Hat, Inc.
|
// Alternative licenses for eCos may be arranged by contacting Red Hat, Inc.
|
// at http://sources.redhat.com/ecos/ecos-license/
|
// at http://sources.redhat.com/ecos/ecos-license/
|
// -------------------------------------------
|
// -------------------------------------------
|
//####ECOSGPLCOPYRIGHTEND####
|
//####ECOSGPLCOPYRIGHTEND####
|
|
|
|
|
|
|