📄 changelog
字号:
to returned value.1999-06-21 Jesper Skov <jskov@cygnus.co.uk> PR 20209 * tests/dhrystone.c: Don't run test on sims or synthetic target. Only run test when compiled with optimization.1999-06-18 Jesper Skov <jskov@cygnus.co.uk> * tests/dhrystone.c: Added unsupported header.1999-06-10 Hugo Tyson <hmt@cygnus.co.uk> * src/debug/dbg_gdb.cxx (dbg_threadinfo): Report counted sleep correctly; both COUNTSLEEP and SLEEPING are set.1999-06-01 Hugo Tyson <hmt@masala.cygnus.co.uk> * src/debug/dbg_gdb.cxx (dbg_threadinfo): Make the thread state string a little more sensible when read as plain english.1999-05-31 Jesper Skov <jskov@cygnus.co.uk> * tests/dhrystone.c: * tests/PKGconf.mak (TESTS): Added dhrystone test. Updated to 2.1 from ftp.nosc.mil 1999-05-27 Nick Garnett <nickg@cygnus.co.uk> * src/intr/intr.cxx (Cyg_Interrupt::chain_isr): Calls HAL_DEFAULT_ISR if it is defined and no chained ISRs have reported that they have handled the interrupt. * src/debug/dbg_gdb.cxx (dbg_make_threadref): Fixed this routine so that it copes with a NULL thread object.1999-05-27 Jesper Skov <jskov@cygnus.co.uk> * tests/stress_threads.c: Output stackmon status occasionally. Output (simple) run time.1999-05-27 Jesper Skov <jskov@cygnus.co.uk> * tests/kcache1.c: Added handling of unified caches.1999-05-26 Jesper Skov <jskov@cygnus.co.uk> * include/test/stackmon.h: Fixed some typos and thinkos. * tests/tm_basic.cxx: Include new stackmon header. * src/common/kapi.cxx: * include/kapi.h: Added kapi support for stackmon requirements. * include/stackmon.hxx: [deleted] * include/test/stackmon.h: [added] Made stackmon safe to use from both C and C++.1999-05-25 Jesper Skov <jskov@cygnus.co.uk> * tests/stress_threads.c (setup_death_alarm): Only compile when DEATH_TIME_LIMIT is defined.1999-05-25 Jonathan Larmour <jlarmour@cygnus.co.uk> * tests/except1.cxx: * tests/intr0.cxx (intr0_main): * tests/kexcept1.c: * tests/kintr0.c (kintr0_main): Change all mentions of CYG_HAL_TX39[_JMR3904] to CYG_HAL_MIPS_TX39[_JMR3904] * tests/kcache1.c: Use HAL_DCACHE_SYNC if possible1999-05-20 Hugo Tyson <hmt@cygnus.co.uk> * tests/tm_basic.cxx (run_all_tests): Added some more stack stats output using stackmon.hxx; also fixed a BUG associated with the definition of stacks in testaux.hxx (within tests dir) that was making the main stack usage bogus. * include/stackmon.hxx: new file, to ease printing stuff about stack usage, particularly of interrupt stacks and the idle thread. It's not HAL specific, and it can apply to tests outside of the kernel, which is why it's in a public include-place. It just contains inline functions which define empty if there's no handle on the symbols available, so should be safe enough.1999-05-18 Jesper Skov <jskov@cygnus.co.uk> * tests/stress_threads.c (main_program): Changed behavior of cyg_thread_delete caller.1999-05-18 Hugo Tyson <hmt@cygnus.co.uk> * include/kapi.h (cyg_thread_delete): is now a boolean function to indicate success. Failure is when the thread needs to run in order to become killed. * src/common/kapi.cxx (cyg_thread_delete): Try killing the thread if necessary before deleting; only run the destructor if it was killed, and tell the caller so. (cyg_thread_kill): Back to the simpler version with no priority diddling; it's up to the called to determine that it _has_ died. * src/common/thread.cxx (kill): Only perform the state-changes implied by kill if the thread has not already been killed; otherwise two kill()'s will remove a thread unconditionally, whether it's in the middle of a wait that needs tidying up or not. In other words, ensure idempotency. 1999-05-17 Hugo Tyson <hmt@masala.cygnus.co.uk> * src/common/kapi.cxx (cyg_thread_kill): Up the priority of the killee to make it terminate *now* if we have priorities and they are not unique, otherwise asserts are likely with the bitmap scheduler. Likewise in thread delete. Condition out the bodies of the priority ops if the scheduler does not support priorities.1999-05-16 Gary Thomas <gthomas@cygnus.co.uk> * src/intr/intr.cxx (call_pending_DSRs): * include/intr.hxx: Change mechanism for defining HAL function to run DSRs. This was a "weak" symbol with override, but is now a macro in <cyg/hal/hal_intr.h>.1999-05-13 Nick Garnett <nickg@cygnus.co.uk> The following changes were all made in a branch and are now being merged: 1999-05-06 Nick Garnett <nickg@cygnus.co.uk> * src/debug/dbg-thread-demux.c: Use dbg-thread-syscall.h from HAL rather than local version. Made dbg_thread_syscall_rmt_1() generic to all MIPS targets. * src/debug/dbg-thread-syscall.h: Removed. Replaced by identical file in hal/common. 1999-04-21 Nick Garnett <nickg@cygnus.co.uk> * include/pkgconf/kernel.h: Added CYGDBG_KERNEL_INSTRUMENT_BUFFER_WRAP option. Changed CYGNUM_KERNEL_COUNTERS_RTC_PERIOD to the correct value for VR4300. * include/instrmnt.h: Added CYG_INSTRUMENT_EVENT_THREAD_ENTER event. * src/instrmnt/meminst.cxx (cyg_instrument): Added implementation of CYGDBG_KERNEL_INSTRUMENT_BUFFER_WRAP option. * src/common/thread.cxx: Added extra instrumentation point on thread entry.1999-05-10 Jesper Skov <jskov@cygnus.co.uk> * tests/stress_threads.c (main_program): Added workaround for a few PRs.1999-05-07 Jesper Skov <jskov@cygnus.co.uk> * src/common/kapi.cxx (cyg_scheduler_unlock, cyg_scheduler_lock): Make these simple calls to the scheduler.1999-05-07 Jesper Skov <jskov@cygnus.co.uk> * tests/stress_threads.c (setup_death_alarm): Reduce run time on synthetic target.1999-05-06 Jesper Skov <jskov@cygnus.co.uk> * tests/stress_threads.c: Reversed priorities of agents.1999-05-06 Jesper Skov <jskov@cygnus.co.uk> PRs 20040, (20027), 19991 * tests/stress_threads.c: Added main_thread handling resource deallocation and printing.1999-04-27 Jonathan Larmour <jlarmour@cygnus.co.uk> * tests/stress_threads.c: If there aren't enough priorities, output an N/A, rather than stopping compilation with a #error1999-04-28 Jesper Skov <jskov@cygnus.co.uk> PR 19850 * tests/stress_threads.c: Don't print text from alarm handler.1999-04-28 Jesper Skov <jskov@cygnus.co.uk> PR 19945 workaround * tests/kexcept1.c: * tests/except1.cxx: Made NA to PowerPC SIM.1999-04-27 Gary Thomas <gthomas@cygnus.co.uk> * tests/tm_basic.cxx: Use/test 'cyg_thread_delete()' function. Add ability to compute statistics with first datum removed which can show up cache effects. Show thread stack usage. Fix merge screwup :-(1999-04-26 Hugo Tyson <hmt@cygnus.co.uk> * include/kapi.h: Add missing function cyg_thread_delete(); otherwise there is no way in the C API to re-use thread memory safely. It just calls the destructor of the Cyg_Thread class. * src/common/kapi.cxx (cyg_thread_delete): Implement it.1999-04-26 Hugo Tyson <hmt@cygnus.co.uk> * tests/stress_threads.c: Commit a better version for Mark since I happen to have it here; having addressed the main concern of my approval process. It runs better in sims so long as the constructor execution isn't messed with, nor timeslicing nor priority inheritance.1999-04-23 Mark Galassi <rosalia@cygnus.com> * tests/stress_threads.c (setup_death_alarm): shortened the simulator time by another factor of 10, hoping that it will not slow down nightly testing for simulator platforms too much. (perform_stressful_tasks): added writing of a bit pattern to the malloc()-ed spaces. Also reduced stack requirements for threads.1999-04-23 Hugo Tyson <hmt@masala.cygnus.co.uk> * src/common/timer.cxx (Cyg_Timer::activate): we must also disable the alarm when resetting it so as to remove it from its queue, so that the enable afterwards places it on the right queue instead of assuming that, being enabled, it's already there. (if not enabling, the behaviour is unchanged and correct) This was detected by uITRON tests[cx]4, with some random perms including enable CYGIMP_KERNEL_COUNTERS_MULTI_LIST, value CYGNUM_KERNEL_COUNTERS_MULTI_LIST_SIZE {8}. The PR is 19475. 1999-04-21 Hugo Tyson <hmt@cygnus.co.uk> * tests/bin_sem1.cxx (bin_sem1_main): Doh! Use priorities 4 and 5 for the two threads so that they are unique (with a bitmap scheduler, the threads had prios 0 and 1 resp, which causes an assert in the attempt to set thread 0's prio to 1, "prios not unique"). PR 19904.1999-04-20 Jonathan Larmour <jlarmour@cygnus.co.uk> * tests/kcache2.c: Reduce iterations for time_ilock(), time_dlock(), and test_dzero() if a simulated environment is detected Fix for PR 198531999-04-19 Jonathan Larmour <jlarmour@cygnus.co.uk> * tests/kill.cxx: Make delay ticks greater than 1 to prevent scheduling problems if the clock rolls over immediately Fix for PR 195161999-04-20 Mark Galassi <rosalia@cygnus.com> * tests/stress_threads.c: applied Hugo's patch to fix stack sizes. 1999-04-19 Hugo Tyson <hmt@cygnus.co.uk> * tests/bin_sem1.cxx (bin_sem1_main): Add priorities to the threads so that they run sequentially like the tester expected. Otherwise simple timing, and shorter timeslicing, causes failure to be reported; likewise if the kernel happens not to run entry0 first! (another checkin) (bin_sem1_main): Add conditional use of set_priority on CYGIMP_THREAD_PRIORITY as it should be.1999-04-14 Jesper Skov <jskov@cygnus.co.uk> * src/debug/dbg_gdb.cxx: Fixed compiler warnings, cleaned up stub requirements (removed FIX ME).1999-04-14 Gary Thomas <gthomas@cygnus.co.uk> * include/intr.hxx: * src/intr/intr.cxx (call_pending_DSRs_inner): Rework calling of DSRs to allow calls from HAL code. This will allow for proper use of a separate interrupt stack.1999-04-14 Mark Galassi <rosalia@cygnus.com> * tests/PKGconf.mak: added an ifndef for the AEB-1 board so that stress_threads is only built conditionally. * tests/stress_threads.c: added more config smarts suggested by Jesper for his configurations.1999-04-13 Jesper Skov <jskov@cygnus.co.uk> PR 19822 * src/debug/dbg_gdb.cxx: Current thread's registers live in registers, not _registers.1999-04-13 Mark Galassi <rosalia@cygnus.com> * tests/stress_threads.c: simple stressing of thread creation/deletion with some memory-intensive and alarm-based tasks. This version is set so that it dies after DEATH_TIME_LIMIT seconds, currently set to 120. #undef-ing DEATH_TIME_LIMIT makes the test run forever. This is currently not working with the bitmap scheduler, probably for some simple reason, but I have not yet broken it down to see why.1999-04-12 Jonathan Larmour <jlarmour@cygnus.co.uk> * tests/except1.cxx: * tests/kexcept1.cxx: Remove now unnecessary tx39-specific setting of CYGNUM_HAL_EXCEPTION_DATA_UNALIGNED_ACCESS VSR Part of cleanup for PR 197311999-04-09 Hugo Tyson <hmt@cygnus.co.uk> Generally: thread->to_queue_head() moves a thread to the head of whatever queue it is on, if relevant. This is so that a thread can change priority and then put itself at the front of its new run queue instead of the end; otherwise it yields too, which may be undesirable. Particularly for internal use of priorities in the uITRON compatibility layer. * include/thread.hxx (class Cyg_Thread): to_queue_head(): new function. Define Cyg_Thread::rotate_queue() for all schedulers. Public inheritance of Cyg_ThreadQueue_Implementation. * include/thread.inl (class Cyg_Thread): to_queue_head(): new function. Define Cyg_Thread::rotate_queue() for all schedulers. * include/mlqueue.hxx (class Cyg_SchedThread_Implementation): to_queue_head(), ...ThreadQueue...::to_head(): new functions. * src/sched/mlqueue.cxx (class Cyg_SchedThread_Implementation): to_queue_head(), ...ThreadQueue...::to_head(): new functions. * include/bitmap.hxx (class Cyg_SchedThread_Implementation): Add empty placeholders for rotate_queue() and to_queue_head() to maintain commonality of interface.1999-04-08 Jesper Skov <jskov@cygnus.co.uk> PR 19667 * kernel/current/src/common/thread.cxx: Removed obsolete Cyg_Thread constructor. * kernel/current/tests/testaux.hxx: * kernel/current/tests/thread0.cxx: * kernel/current/tests/thread1.cxx: Changed to use the new Cyg_Thread constructor.1999-04-08 Jesper Skov <jskov@cygnus.co.uk> * src/common/kapi.cxx: Minor indentation fixes.1999-04-07 Jesper Skov <jskov@cygnus.co.uk> PR 19743 * include/mfiximpl.inl (Cyg_Mempool_Fixed_Implementation): Moved argument assertions before the first use of the arguments.1999-04-07 Hugo Tyson <hmt@cygnus.co.uk> * tests/kexcept1.c (except0_main): * tests/except1.cxx (except0_main): Use macro HAL_VSR_SET_TO_ECOS_HANDLER() if defined, to reset likely exception handler VSRs to eCos' default handlers - the target side equivalent to CYG_TEST_GDBCMD("handle SIGBUS nostop"); The VSR may not be the eCos standard one in some implementations of cooperation with CygMon.1999-03-31 Nick Garnett <nickg@cygnus.co.uk> * include/pkgconf/kernel.h (CYGNUM_KERNEL_COUNTERS_RTC_PERIOD): Fixed value of this option for TX39 66MHz to correct number.1999-03-25 Gary Thomas <gthomas@cygnus.co.uk> * tests/tm_basic.cxx: More adjustments to get clock latency correct. Some fine tuning of messages and layout to fit well within 80 columns.1999-03-24 Nick Garnett <nickg@cygnus.co.uk> * include/pkgconf/kernel.h: Fixed an ifdef error.1999-03-24 Gary Thomas <gthomas@cygnus.co.uk> * tests/tm_basic.cxx (NTEST_THREADS): Reduce # threads so test can build on smaller machines. Also, only adjust timings by single "overhead" value instead of the more generous 2*overhead. * src/common/clock.cxx: Clock latency measurement defaults to 'off'.1999-03-23 Nick Garnett <nickg@cygnus.co.uk> * tests/kcache2.c: Reduced number of loops in time_ilock(). On the MN10300 and TX39 this caused the test to timeout in the testing farm.1999-03-23 Gary Thomas <gthomas@cygnus.co.uk> * tests/tm_basic.cxx: * src/common/clock.cxx: Add 'measure_clock_latency' boolean which is used to turn clock latency measurements on/off.1999-03-23 Nick Garnett <nickg@cygnus.co.uk>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -