📄 changelog
字号:
2004-04-15 Jonathan Larmour <jifl@eCosCentric.com> * tests/fptest.c (do_test): Silence aliasing warning when breaking doubles into two ints.2004-04-11 Andrew Lunn <andrew.lunn@ascom.ch> * doc/kernel.sgml: Expanded the documentation about the use of CYG_FLAG_WAITMODE_CLR.2004-03-27 Sebastien Couret <sebastien.couret@elios-informatique.fr> * src/debug/dbg-thread-demux.c (dbg_thread_syscall_rmt): Only needed if CYGDBG_KERNEL_DEBUG_GDB_THREAD_SUPPORT is enabled.2004-03-12 Jonathan Larmour <jifl@eCosCentric.com> * include/kapi.h: Add throw specifications throughout. * src/kapi.cxx: Ditto. * include/sched.inl: Move include of thread.inl further down to allow Cyg_Scheduler inlines to be defined first. * include/thread.inl: Reorder destructors section and include sched.inl right before it to solve mutual header dependency problems.2004-03-04 Jonathan Larmour <jifl@eCosCentric.com> * doc/kernel.sgml: Document cyg_thread_delete return value.2004-02-19 Jonathan Larmour <jifl@eCosCentric.com> * tests/kmutex3.c (cyg_start): Use CYG_TEST_NA. * tests/kmutex4.c (cyg_start): Ditto. * tests/mutex2.cxx (cyg_start): Ditto. * tests/mutex3.cxx (cyg_start): Ditto. * tests/sync3.cxx (cyg_start): Ditto. * tests/thread2.cxx (cyg_start): Ditto. * tests/fptest.c (cyg_start): Use one line NA msg. * tests/smp.cxx (cyg_start): Ditto. * tests/timeslice.c (cyg_start): Ditto. * tests/tm_basic.cxx (cyg_start): Ditto.2003-12-08 Dan Jakubiec <djakubiec@yahoo.com> * src/common/kapi.cxx: Added new function cyg_thread_get_id(). This function returns the unique thread ID for a given thread handle. * include/kapi.h: Added function prototype for cyg_thread_get_id(). * doc/kernel.sgml: Added documentation for cyg_thread_get_id().2003-10-13 Nick Garnett <nickg@balti.calivar.com> * src/common/clock.cxx (Cyg_Counter::tick): Changed code to deal with manipulation of unsorted lists (see ChangeLogs passim). There are several corner cases where the current code does not work. Replaced with a more straightforward, but slightly more expensive, implementation.2003-09-22 Reinhard Jessich <Reinhard.Jessich@frequentis.com> * src/common/clock.cxx: Removed label/goto add_alarm_unlock_return to get rid of compiler error when CYGIMP_KERNEL_COUNTERS_SORT_LIST is enabled.2003-09-01 Bart Veer <bartv@ecoscentric.com> * doc/kernel.sgml: fix typo, cyg_thread vs. cyg_thread_t2003-07-18 Nick Garnett <nickg@balti.calivar.com> * cdl/counters.cdl: Removed the counters override CDL options. These are no longer very useful, since too much non-kernel code now uses the HAL options to get these values.2003-07-10 Nick Garnett <nickg@balti.calivar.com> * src/common/clock.cxx (Cyg_Counter::tick): In unsorted list case: moved saving of next node details to before re-insertion of alarms with intervals. The call to add_alarm() can make enough of a difference to the list to need to force a rescan.2003-07-06 Bart Veer <bartv@ecoscentric.com> * include/test/stackmon.h (cyg_test_size_a_stack): If stack checking is enabled, look for 0xdeadbeef rather than 0x0 to determine usage. Also reset the interrupt stack to that value.2003-07-02 Jonathan Larmour <jifl@eCosCentric.com> * doc/kernel.sgml: Document that timeouts for timed functions are absolute, not relative. Also document new semantics for cyg_semaphore_timed_wait() for timeouts in the past.2003-07-01 Nick Garnett <nickg@balti.calivar.com> * include/clock.hxx: Made Cyg_Counter::add_alarm() and Cyg_Counter::rem_alarm() private functions. They no longer lock the scheduler, so should not be called directly, only via the Cyg_Alarm functions. * include/clock.inl: Removed inline version of Cyg_Alarm::disable(). It's no longer a one-liner and is thus better as a proper function. * src/common/clock.cxx (Cyg_Counter::tick): Rewrote the unsorted list option. If the function of one alarm adds or removes other alarms, then is was possible for the list to become corrupted. The new implementation attempts to avoid this problem. (Cyg_Alarm::initialize): Added scheduler locking to protect the enabled flag. (Cyg_Alarm::enable): Ditto. (Cyg_Alarm::disable): Ditto. Moved here from clock.inl. (Cyg_Alarm::add_alarm): Removed scheduler locking, it is now always called from functions that have already locked it. Added an assertion to double-check this. (Cyg_Alarm::rem_alarm): Ditto. * cdl/kernel.cdl: * tests/kalarm0.c: Added new test to test that alarms can be added and removed in alarm functions safely. 2003-06-25 Thomas Binder <Thomas.Binder@frequentis.com> * src/common/clock.cxx (Cyg_Counter::rem_alarm): Bugfix: call Cyg_Scheduler::lock() before calculation of index into alarm_list array to avoid race condition with multi list counters.2003-06-06 David Brennan <eCos@brennanhome.com>2003-06-23 Nick Garnett <nickg@balti.calivar.com> * cdl/kernel.cdl: Added tests/bin_sem3 to list of kernel tests. * include/sema.hxx: Added declaration for wait with timeout for Cyg_Binary_Semaphore. * include/instrmnt.h: Added instrumentation point for binary semaphore timeout. * src/sync/bin_sem.cxx: Added wait with time-out function to Cyg_Binary_Semaphore class. * src/sync/cnt_sem.cxx: Modified semantics slightly to claim an available semaphore even with a timeout in the past. This is in line with the new timed wait in bin_sem.cxx. * tests/bin_sem3.cxx: Created new test for timed wait binary semaphore. 2003-05-20 Andrew Lunn <andrew.lunn@ascom.ch> * src/common/kapi.cxx (cyg_thread_get_next): Passing a *current pointer as NULL if how you start the walk of the linked list. So don't assert on NULL. Reported by Daniel Lidsten.2003-05-05 Gary Thomas <gary@mlbassoc.com> * tests/tm_basic.cxx: Support new option controlling number of times this test runs. This is useful for long-term stress and performance analysis.2003-05-03 Jonathan Larmour <jifl@eCosCentric.com> * include/mqueue.inl (Cyg_Mqueue::get): Fix invalid loop termination cheque for whether busy or not. (Cyg_Mqueue::put): Ditto.2003-03-03 Jonathan Larmour <jifl@eCosCentric.com> * tests/fptest.c: Make all variables static to avoid any risk of collisions with symbols defined elsewhere in eCos.2003-02-27 Jonathan Larmour <jifl@eCosCentric.com> * include/kapidata.h: Revert change of 2001-08-23 and instead make it conditional on the GCC version. Also add comments explaining why this file has been apparently obfuscated.2003-02-25 Nick Garnett <nickg@calivar.com> * tests/fptest.c (alarm_fn): Added CYG_TEST_PASS() call to keep configtool happy.2003-02-24 Jonathan Larmour <jifl@eCosCentric.com> * cdl/kernel.cdl: Update doc links. * cdl/synch.cdl: Ditto. * cdl/thread.cdl: Ditto.2003-02-19 Nick Garnett <nickg@calivar.com> * tests/fptest.c: Changed to run for a constant time rather than a constant number of iterations, with a shorter run time for simulated targets.2003-02-10 Gary Thomas <gary@mlbassoc.com> * include/thread.inl: Add more debug info to thread stack checking. * tests/clocktruth.cxx: * tests/clockcnv.cxx: Use <cyg/infra/diag.h> for diag_printf() prototype, rather than hard coding (because it was inconsistent).2003-02-05 Gary Thomas <gary@mlbassoc.com> * tests/kcache2.c (test_dcache_operation): New test to verify that the DATA cache syncs properly.2003-01-31 Nick Garnett <nickg@calivar.com> * cdl/kernel.cdl: * tests/fptest.c: Added this program to test interaction of FPU with multiple threads.2003-01-30 Jonathan Larmour <jifl@eCosCentric.com> * src/common/thread.cxx: Fix potential warning and overflow with CYGNUM_KERNEL_THREADS_DATA_MAX == 32.2003-01-28 Jonathan Larmour <jifl@eCosCentric.com> * src/common/kapi.cxx (cyg_thread_get_next): Be quite zealous about checking the validity of passed in threads in debug mode. (cyg_thread_get_info): Ditto. * cdl/thread.cdl: Correct max legal value for CYGNUM_KERNEL_THREADS_DATA_MAX.2003-01-22 Jonathan Larmour <jifl@eCosCentric.com> * doc/kernel.sgml: Document cyg_thread_info type.2003-01-13 Dmitriy Korovkin <dkorovkin@rambler.ru>2003-01-13 Jonathan Larmour <jifl@eCosCentric.com> * include/mqueue.hxx: Allow get/put to return time out. * include mqueue.inl: Ditto.2003-01-02 Gary Thomas <gary@mlbassoc.com> * tests/kcache2.c: New subtest for raw data cache operations.2002-12-12 Nick Garnett <nickg@ecoscentric.com> * src/common/kapi.cxx: * include/kapi.h: Added function cyg_thread_get_next(), cyg_thread_find() and cyg_thread_get_info() to allow the current set of threads to be enumerated, and per-thread information to be retrieved safely. * doc/kernel.sgml: Documented new KAPI calls. * src/common/thread.cxx: Zero unique_id in thread destructor so that a stale thread pointer can be checked for validity. * include/instrmnt.h: Added cyg_instrument_state() to report the current state of an instrumentation flag. Moved ifdef for CYGDBG_KERNEL_INSTRUMENT_MSGS out of within FLAGS ifdef. We can have messages without flags. * src/instrmnt/meminst.cxx: Added cyg_instrument_state() to report the current state of an instrumentation flag. Modified cyg_instrument_msg() in line with header and table changes. * host/instr/dump_instr.c: * host/instr/instrument.sh: * include/instrument_desc.h: Added a final NULL element to the generated table in instrument_desc.h to mark its end. Otherwise code that does not have access to the table definition cannot find its end. Also added ifdefs to allow instrument_desc.h to be used to acquire the structure definition and table pointer.2002-12-03 Gary Thomas <gthomas@ecoscentric.com> * tests/tm_basic.cxx: Add tests of 'flag' synchronizers.2002-10-28 Andrew Lunn <andrew.lunn@ascom.ch> * tests/tm_basic.cxx: Include infra/diag.h and removed the incorrect prototype for diag_printf2002-10-16 Gary Thomas <gthomas@ecoscentric.com> * include/test/stackmon.h (STACKMON_PRINTF): Use #include to get prototype for 'diag_printf()'.2002-10-01 Jonathan Larmour <jifl@eCosCentric.com> * src/common/clock.cxx (add_alarm): Tweak last change to allow alarm order for identical alarms to be the same as it used to be.2002-09-30 Jonathan Larmour <jifl@eCosCentric.com> * src/common/clock.cxx (add_alarm): Fix bug resulting in alarms not being added at all if a lower triggered alarm already exists. Reported by Christoph Csebits. Also fix bug when alarm is entered for the same time as tail. These bugs only apply for CYGIMP_KERNEL_COUNTERS_SORT_LIST enabled. * doc/kernel.sgml: document that order of callback for alarms at identical times is unspecified.2002-08-08 Nick Garnett <nickg@calivar.demon.co.uk> * src/sched/sched.cxx (unlock_inner): Removed initial assertion. This has served its purpose and with the introduction of routines such as unlock_reschedule() is prone to firing in otherwise benign circumstances.2002-08-05 Bart Veer <bartv@tymora.demon.co.uk> * cdl/kernel.cdl, include/kapidata.h, include/kapi.h: Allow configurations with the kernel but no malloc2002-06-05 Gary Thomas <gary@chez-thomas.org> * include/kapi.h: Fix prototype (to allow builds with net stack).2002-05-24 Jesper Skov <jskov@redhat.com> * cdl/kernel.cdl: Fix typo.2002-05-23 Jonathan Larmour <jlarmour@redhat.com> * include/kapi.h: Expose new cyg_thread_add_destructor and cyg_thread_rem_destructor APIs. * include/kapidata.h (struct Cyg_Destructor_Entry): Change CYG_ADDRWORD to more correct cyg_addrword_t. * include/thread.hxx (class Cyg_Thread): add_destructor and rem_destructor are onyl static when not per-thread. * include/thread.inl (add_destructor): Don't need to lock and unlock scheduler when destructors are per-thread. (rem_destructor): Ditto. * src/common/thread.cxx (exit): No need to lock scheduler when calling destructors. * doc/kernel.sgml: Document thread destructor API.2002-05-23 Nick Garnett <nickg@redhat.com> * doc/kernel.sgml: Some more edits to the kernel documentation: changed all references to message boxes to mail boxes, clarified some thing in various places, fixed a few typos.2002-05-23 Jesper Skov <jskov@redhat.com> * cdl/kernel.cdl: Cleaned up kernel tests rule. Also remove tests depending on the C API when its not present. And skip dhrystone test when debug or instrumentation is enabled. * tests/tm_basic.cxx: Fixed warning.2002-05-22 Nick Garnett <nickg@redhat.com> * doc/kernel.sgml: Fixed up SMP documentation. Rewrote condtion variable documentation to make its relationship to mutexes more apparent.2002-05-22 Jesper Skov <jskov@redhat.com> * tests/smp.cxx: Move inclusion of testaux.hxx to below NA checks.2002-05-21 Bart Veer <bartv@redhat.com> * doc/kernel.sgml: Major update to the kernel documentation.2002-05-21 Jesper Skov <jskov@redhat.com>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -