+2007-08-23 Hans Rosenfeld <rosenfeld@grumpf.hope-2000.org>
+
+ * tests/intr0.cxx, tests/kintr0.c: As suggested by Bart Veer,
+ priorities of the interrupts created by intr0 and kintr0 can now
+ be overridden by the HAL through HAL_INTR_TEST_PRIO_x constants.
+
+2007-07-02 Gary Thomas <gary@mlbassoc.com>
+
+ * src/debug/dbg_gdb.cxx:
+ * src/common/thread.cxx (Cyg_IdleThread): Add (char *) casts
+ to make GCC/4.2.x happy.
+
+2007-06-11 Nick Garnett <nickg@ecoscentric.com>
+
+ * tests/klock.c (entry0, entry1): Modify mbox part of test to
+ reflect use of plain mbox implementation. The precise ordering of
+ events is slightly different.
+
+2007-01-07 Andrew Lunn <andrew.lunn@ascom.ch>
+
+ * src/sync/mbox.cxx (Cyg_Mbox::get): Fix compiler warning with gcc
+ version 4.1.2.
+
+2006-12-08 Nick Garnett <nickg@ecoscentric.com>
+
+ * src/sched/mlqueue.cxx (add_thread, yield):
+ * src/sched/sched.cxx (unlock_inner, thread_entry):
+ * include/mlqueue.hxx (class Cyg_SchedThread_Implementation):
+ * include/kapidata.h (CYG_SCHEDTHREAD_TIMESLICE_MEMBER):
+ * include/bitmap.hxx (class Cyg_SchedThread_Implementation):
+ Reimplement timeslicing code. There is now a timeslice_count field
+ in each thread which is moved to and from the per-CPU counter
+ during thread dispatch. This approach has been taken to minimize
+ the changes needed to SMP code. Scheduler specific thread
+ functions handle counter save, restore and reset. These functions
+ are defined (as empty inlines) even when timeslicing is disabled,
+ or in non-timeslicing schedulers, to avoid adding ifdefs to the
+ code (this change actually removes some).
+
+ * tests/timeslice2.c:
+ * cdl/kernel.cdl: Added timeslice2 test to test behaviour of
+ timeslicing while being preempted.
+
+2006-10-12 Nick Garnett <nickg@ecoscentric.com>
+
+ * cdl/synch.cdl: Added CYGIMP_MBOX_USE_MBOXT_PLAIN option. This is
+ tested in various places but was not actually defined. It now is
+ and defaults to 1 so that the plain version of mail boxes is
+ selected.
+
+ * include/mboxt.inl:
+ * include/mboxt2.inl: Moved various CYG_ASSERTCLASS() calls to be
+ within scheduler locked regions. Race conditions could have caused
+ them to fail before.
+
+ * tests/mbox1.cxx:
+ * tests/kmbox1.cxx: Updated tests to work with mboxt
+ implementation. This requires thread 1 to run at lower priority
+ than thread 0.
+
+2006-08-21 Jonathan Larmour <jifl@eCosCentric.com>
+
+ * doc/kernel.sgml: Use reinterpret_cast, not static cast
+ Thanks to Tony Garland for the report in bug 1000299.
+
+2006-05-19 Andrew Lunn <andrew.lunn@ascom.ch>
+
+ * host/instr/dump_instr.c: Use CYG_NELEM from infra.
+ * src/instrmnt/meminst.cxx: Use CYG_NELEM from infra.
+
+2006-05-09 Andrew Lunn <andrew.lunn@ascom.ch>
+
+ * tests/stress_threads.c: Add string.h to avoid compiler warning.
+
+2006-04-11 Sergei Organov <osv@javad.com>
+
+ * doc/kernel.sgml: Fix typo
+
+2006-04-10 Sergei Organov <osv@javad.com>
+
+ Implement FIFO variant of scheduling of DSRs and make it the
+ default. This is reworked patch originally suggested by Stefan
+ Sommerfeld <sommerfeld@mikrom.com>.
+
+ * cdl/interrupts.cdl (CYGIMP_KERNEL_INTERRUPTS_DSRS_LIST): make it
+ cdl_component.
+ * cdl/interrupts.cdl (CYGSEM_KERNEL_INTERRUPTS_DSRS_LIST_FIFO):
+ new option for CYGIMP_KERNEL_INTERRUPTS_DSRS_LIST.
+ * include/intr.hxx (class Cyg_Interrupt): new static variable
+ dsr_list_tail.
+ * src/intr/intr.cxx (call_pending_DSRs_inner): add
+ CYGSEM_KERNEL_INTERRUPTS_DSRS_LIST_FIFO variant.
+ (post_dsr): likewise.
+ * tests/intr0.cxx: fix comments to match actual option names.
+ * tests/kintr0.c: likewise.
+
+2006-03-27 Marco Cruz <marco@daruma.com.br>
+
+ * include/thread.hxx: removed extra qualifier of
+ Cyg_Thread::reinitialize() to permit compile on gcc 4.1.0
+ * include/sched.hxx: removed extra qualifier of
+ Cyg_Scheduler::thread_entry to permit compile on gcc 4.1.0
+
+2006-02-14 Andrew Lunn <andrew.lunn@ascom.ch>
+
+ * tests/timeslice.c (STACK_SIZE): Reduce the stack size so it will
+ compile on targets wit h only small amounts of RAM.
+ * tests/fptest.c: Calculate the size of ftp2_values array to fit
+ the amount of RAM in small systems.
+ * tests/clocktruth.cxx: Fix the header.
+
+2006-01-19 Nick Garnett <nickg@ecoscentric.com>
+
+ * src/sched/sched.cxx (thread_entry): Fixed a bug which could
+ cause a thread to be started with a non-zero scheduler lock. The
+ previous code only decremented it by 1 so if the previous thread
+ was executing with the lock > 1 the thread ended up with a
+ non-zero lock. This is fixed by decrementing the lock in a loop
+ until it reaches zero.
+
+ * src/common/thread.cxx (idle_thread_main): Added an assert for a
+ non-zero scheduler lock.
+
+2006-01-10 Nick Garnett <nickg@ecoscentric.com>
+
+ * src/sched/sched.cxx:
+ * include/sched.hxx (class Cyg_Scheduler): Added thread_entry()
+ member function. This handles thread startup housekeeping. Zeroing
+ the scheduler lock is handled by calling unlock() so that DSRs may
+ be run.
+
+ * src/common/thread.cxx (thread_entry): Refactored code to call
+ Cyg_Scheduler::thread_entry() instead of doing all the work here.
+
+2005-11-23 Sergei Organov <osv@javad.com>
+
+ * doc/kernel.sgml: Fix description of CYG_ISR_CALL_DSR and
+ CYG_ISR_HANDLED. Fix example isr_function() accordingly.
+
+2005-10-23 Andrew Lunn <andrew.lunn@ascom.ch>
+
+ * include/flag.hxx: We need thread.inl for the empty() function
+ implementation which the compiler wants to inline.
+
2005-08-03 Andrew Lunn <andrew.lunn@ascom.ch>
* tests/ksem1.c: Type fix to fix a compiler warning.