📄 changelog
字号:
* tests/tm_basic.cxx (run_all_tests): Changed initial delay from 100 ticks to 2. This is adequate for the purpose of letting the clock get going, while 100 ticks was too long on simulators.1999-03-23 Hugo Tyson <hmt@cygnus.co.uk> * tests/kcache1.c: * tests/kcache2.c: * tests/kclock1.c: * tests/kexcept1.c: * tests/kflag1.c: * tests/kmbox1.c: * tests/kmemfix1.c: * tests/kmemvar1.c: * tests/kmutex1.c: * tests/ksched1.c: * tests/ksem1.c: * tests/kthread0.c: * tests/thread0.cxx: Use CYGNUM_HAL_STACK_SIZE_TYPICAL instead of "4096" and include hal_arch.h where necessary to get it.1999-03-22 Hugo Tyson <hmt@cygnus.co.uk> * include/thread.inl (attach_stack): Fix typo in assert; missing comma.1999-03-22 Jonathan Larmour <jlarmour@cygnus.co.uk> * src/debug/dbg-thread-syscall.h: Update copyright1999-03-22 Hugo Tyson <hmt@cygnus.co.uk> * include/thread.inl: * src/common/thread.cxx: * tests/kthread1.c: * tests/testaux.hxx: * tests/thread1.cxx: * tests/thread_gdb.c: * tests/tm_basic.cxx: Use CYGNUM_HAL_STACK_SIZE_TYPICAL for the stack size instead of CYGNUM_HAL_MINIMUM_STACK_SIZE. Except for stack checking and the idle thread stack which uses CYGNUM_HAL_STACK_SIZE_MINIMUM.1999-03-19 Nick Garnett <nickg@cygnus.co.uk> * tests/kcache1.c: * tests/kcache2.c: Made all CYG_INTERRUPT_STATE variables register variables. The value of this variable has to survive cache invalidation and does not in some testing permutations that are unoptimized. Fixes PR 19165. * include/kapi.h: Type of cyg_tick_count_t changed to cyg_uint64. Response to PR 19320.1999-03-19 Gary Thomas <gthomas@cygnus.co.uk> * tests/tm_basic.cxx: Much better analysis of clock interrupt times. Print average deviation instead of variance. Also print "confidence" numbers which are a measure of "how likely" a particular number would be relative to the mean and min of the sample set.1999-03-17 Gary Thomas <gthomas@cygnus.co.uk> * tests/tm_basic.cxx: Improve messages and layout. Better message for 'hardware clock tick' value. * src/common/clock.cxx: Be more careful about clock latency delta values that are used/kept - some hardware can yield incorrect values. * tests/testaux.hxx: Use HAL recommended stack size for default.1999-03-16 Nick Garnett <nickg@cygnus.co.uk> * src/common/thread.cxx: Removed MIPS specific definition of idle_thread_stack[]. This is so it gets the benefit of the redefinition of CYGNUM_KERNEL_THREADS_IDLE_STACK_SIZE. This definition has also been made static, since the MIPS compiler would otherwise put it in the .data section. * include/intr.hxx (class Cyg_Interrupt): Changed implementation of Cyg_Interrupt::interrupts_enabled() to test the value of disable_counter, rather than the hardware.1999-03-15 Nick Garnett <nickg@cygnus.co.uk> * tests/kcache1.c: * tests/kcache2.c: Added interrupt disables around cache operations. If these take too long, an inopportune interrupt can disrupt the cache contents, or result in the interrupt seeing an inconsistent world.1999-03-15 Gary Thomas <gthomas@cygnus.co.uk> * tests/tm_basic.cxx: Improved and cleaned up messages overall.1999-03-15 Jesper Skov <jskov@cygnus.co.uk> PR 19504 * tests/tm_basic.cxx: Kill created threads after mutex, mbox and semaphore tests.1999-03-12 Hugo Tyson <hmt@cygnus.co.uk> * src/debug/dbg-thread-demux.c: Only try handling the SPARClite-SLEB vector correctly if CYG_HAL_USE_ROM_MONITOR_CYGMON ie. we are talking with CygMon. Otherwise the code is wrong, but also not used. No matter. 1999-03-12 Hugo Tyson <hmt@cygnus.co.uk> * tests/kthread1.c: * tests/thread1.cxx: * tests/thread_gdb.c: Deal with CYGNUM_HAL_MINIMUM_STACK_SIZE requirement.1999-03-12 Gary Thomas <gthomas@cygnus.co.uk> * include/thread.inl (attach_stack): Add check/assert for minimum stack size (HAL defined)1999-03-11 Hugo Tyson <hmt@cygnus.co.uk> * src/debug/dbg-thread-demux.c (patch_dbg_syscalls): Use the correct vector table slot for SPARClite-SLEB; it's not 15 on here, it's BSP_VEC_MT_DEBUG from the hal's hal_cygm.h1999-03-11 Nick Garnett <nickg@cygnus.co.uk> * tests/testaux.hxx: Move definition of inline placement operator new outside of ifdef for NTHREADS so that it can be used by other code. * tests/intr0.cxx: * tests/thread1.cxx: Make use of placement operator new rather than dynamic one in intr0. Removed duplicate definition from thread1.1999-03-11 Jesper Skov <jskov@cygnus.co.uk> PR 19472 * tests/kill.cxx: Increased delays for the synthetic target.1999-03-11 Jesper Skov <jskov@cygnus.co.uk> PR 19468 * tests/intr0.cxx (intr0_main): * tests/kintr0.c (kintr0_main): Only attach interrupt handlers to vectors not in use. 1999-03-10 Jesper Skov <jskov@cygnus.co.uk> PR 19368 * src/sched/sched.cxx (start): Change the dependency for referencing the RTC to make its inclusion independent of scheduler choice.1999-03-10 Jesper Skov <jskov@cygnus.co.uk> PR 17357 * src/intr/intr.cxx (attach): Assert that interrupt vector attach will succeed.1999-03-10 Nick Garnett <nickg@cygnus.co.uk> * include/pkgconf/kernel.h: Changed names used to control clock frequency on TX39 target.1999-03-08 Gary Thomas <gthomas@cygnus.co.uk> * src/sync/mutex.cxx: Allow 'Cyg_Condition_Variable::wait()' to be entered with the scheduler locked (and thsu exit in the same state). This will allow for fully thread-safe use of 'Cyg_Condition_Variable::wait()'.1999-02-26 Jonathan Larmour <jlarmour@cygnus.co.uk> * tests/except1.cxx (except0_main): * tests/kexcept1.c (except0_main): Move CYG_TEST_GDBCMD back to being before CYG_TEST_INIT1999-02-26 Jesper Skov <jskov@cygnus.co.uk> PR 19283 * src/common/kapi.cxx: Changed cyg_exception_call_handler definition to be consistent with declaration. * include/kapi.h: Change cyg_code_t to signed type. * tests/except1.cxx (except0_main): * tests/kexcept1.c (except0_main): Init diag before making first output.1999-02-26 Jesper Skov <jskov@cygnus.co.uk> PR 19284 * tests/mutex2.cxx (mutex2_main): Set priorities in a different order.1999-02-25 Nick Garnett <nickg@cygnus.co.uk> * include/sched.hxx (class Cyg_Scheduler_Base): Added CYGBLD_ATTRIB_ASM_ALIAS(cyg_scheduler_sched_lock) to declaration of sched_lock member. This makes it have the given name in the object and assembler files. This in turn eliminates the need to have a C++ mangled name in the HAL. * src/intr/intr.cxx: Cyg_Interrupt::detach() was not translating the vector to a table index correctly in the chained case. Fixed.1999-02-24 Nick Garnett <nickg@cygnus.co.uk> * include/intr.hxx: * src/intr/intr.cxx: Added an interrupt disable counter to Cyg_Interrupt::disable_interrupts() and Cyg_Interrupt::enable_interrupts().1999-02-23 Nick Garnett <nickg@cygnus.co.uk> * include/pkgconf/kernel.h: Added support for 66MHz part. * include/instrmnt.h: Added CYG_INSTRUMENT_EVENT_MUTEX_RELEASE and CYG_INSTRUMENT_EVENT_MUTEX_RELEASED. This should have been part of the 1999-02-22 checkin.1999-02-23 Jonathan Larmour <jlarmour@cygnus.co.uk> * tests/clock0.cxx, tests/clock1.cxx, tests/except1.cxx, tests/kcache1.c, tests/kcache2.c, tests/kclock0.c, tests/kclock1.c, tests/kexcept1.c, tests/kflag0.c, tests/kflag1.c, tests/kill.cxx, tests/kintr0.c, tests/kmbox1.c, tests/kmemfix1.c, tests/kmemvar1.c, tests/kmutex0.c, tests/kmutex1.c, tests/ksched1.c, tests/ksem0.c, tests/ksem1.c, tests/kthread0.c, tests/kthread1.c, tests/thread1.cxx: Use CYG_TEST_NA() rather than CYG_TEST_PASS_FINISH() for tests that are not applicable for this configuration1999-02-22 Nick Garnett <nickg@cygnus.co.uk> * include/kapi.h: * include/mutex.hxx: * src/sync/mutex.cxx: * src/common/kapi.cxx: * tests/mutex2.cxx: * tests/PKGconf.mak: Added Kernel API support for thread release, which allows a thread to be broken out of any wait. Also added support for releasing all threads waiting to lock a mutex, both at C++ and Kernel API levels. Added a test program, mutex2, to test this fuctionality out. 1999-02-20 Jonathan Larmour <jlarmour@cygnus.co.uk> * include/except.hxx: * include/kapidata.h Rename CYG_EXCEPTION_COUNT -> CYGNUM_HAL_EXCEPTION_COUNT in line with HAL changes Rename deliver_exception() -> cyg_hal_deliver_exception() QA improvements * src/common/clock.cxx: Rename CYG_VECTOR_RTC -> CYGNUM_HAL_INTERRUPT_RTC in line with HAL changes * src/common/except.cxx: Rename CYG_EXCEPTION_* -> CYGNUM_HAL_EXCEPTION_* in line with HAL changes Allow for CYGNUM_HAL_EXCEPTION_MIN != 0 Rename deliver_exception() -> cyg_hal_deliver_exception() Add more tracing, and fix some existing QA improvements * src/intr/intr.cxx: Rename CYG_ISR_* -> CYGNUM_HAL_ISR_* in line with HAL changes Add more tracing, and fix some existing QA improvements * src/sched/bitmap.cxx: * src/sched/mlqueue.cxx: * src/sync/mutex.cxx: Add more tracing and fix some existing QA improvements * tests/except1.cxx: * tests/kexcept1.c Rename CYG_EXCEPTION_* -> CYGNUM_HAL_EXCEPTION_* in line with HAL changes QA improvements Use new CYG_TEST_GDBCMD to tell GDB not to stop Remove special simulator case as it should now work * tests/intr0.cxx: * tests/kintr0.c: Rename CYG_ISR/VSR_* -> CYGNUM_HAL_ISR/VSR_* in line with HAL changes QA improvements 1999-02-16 Jonathan Larmour <jlarmour@cygnus.co.uk> * tests/kexcept1.c (except0_main): Tell GDB to not stop on SIGBUS or SIGSEGV since we know we're going to cause an exception1999-02-12 Hugo Tyson <hmt@cygnus.co.uk> * src/common/thread.cxx (idle_thread_stack): Override CYGNUM_KERNEL_THREADS_IDLE_STACK_SIZE if CYGNUM_HAL_MINIMUM_STACK_SIZE demands it. * include/pkgconf/kernel.h (CYGNUM_KERNEL_THREADS_IDLE_STACK_SIZE): Document that this option can be overridden by HALs demands.1999-02-11 Jesper Skov <jskov@cygnus.co.uk> * src/debug/dbg-thread-syscall.h: * src/debug/dbg-thread-demux.c: Added handling of dbg_scheduler_func calls.1999-02-11 Nick Garnett <nickg@cygnus.co.uk> * include/kapi.h: * src/common/kapi.cxx: Added API support for per-thread data. * include/kapi.h: * src/common/kapi.cxx: * tests/ksem1.c: * tests/tm_basic.cxx: Changed arguments to Kernel C API semaphore functions to take cyg_count32 rather than cyg_ucount32. This makes them consistent with the underlying implementation and allows for negative counts in the future. Changed some tests to match. Fixes PR 17877.1999-02-08 Jesper Skov <jskov@cygnus.co.uk> * tests/kexcept1.c (entry0): * tests/except1.cxx (entry0): Don't call cause_exception on SIMs.1999-02-05 Jesper Skov <jskov@cygnus.co.uk> * src/common/clock.cxx (isr): Ignore a latency of 0 when finding min_clock_latency.1999-02-04 Jesper Skov <jskov@cygnus.co.uk> PR 19075 * include/instrmnt.h: Slightly overdid the use of CYG_UNUSED_PARAM macros.1999-02-04 Jesper Skov <jskov@cygnus.co.uk> * src/intr/intr.cxx: Make instrumentation macros always use the parameters to avoid compiler warnings.1999-02-03 Jesper Skov <jskov@cygnus.co.uk> PR 18075 * tests/memfix1.cxx: * tests/kmemfix1.c: Make timing less sensitive. 1999-02-02 Jesper Skov <jskov@cygnus.co.uk> * tests/bin_sem2.cxx: Fixed compiler warning.1999-02-02 Jesper Skov <jskov@cygnus.co.uk> PR 18971 * tests/bin_sem2.cxx (bin_sem2_main): Reduce run time in SIM.1999-02-01 Nick Garnett <nickg@cygnus.co.uk> * tests/kcache2.c: Added calls to HAL_DCACHE_SYNC() before all relevant calls to HAL_DCACHE_DISABLE(). This should have been done on 1999-01-25 where is was only done to one instance.1999-02-01 Gary Thomas <gthomas@cygnus.co.uk> * tests/tm_basic.cxx: Adjust stack sizes for platforms with limited memory.1999-01-28 Nick Garnett <nickg@cygnus.co.uk> * src/intr/intr.cxx: When using chained interrupts, interrupt_end() is passed NULL as the intr argument. If instrumentation is also enabled, the CYG_INSTRUMENT_INTR() calls will try to indirect through zero. Added ifdefs to avoid this. Also test intr for NULL before trying to post the DSR. Fixes PR 18771.1999-01-28 Jesper Skov <jskov@cygnus.co.uk> * tests/tm_basic.cxx: Fixed strings.1999-01-26 Hugo Tyson <hmt@cygnus.co.uk> * tests/kcache1.c (time0): Waste much less time if running in a simulator. Do only 40 loops instead of 4000. In consequence the nasty meddling with MAX_STRIDE depending on HAL_xxx_SIM package definitions can go.1999-01-26 Jesper Skov <jskov@cygnus.co.uk> PR 18902 * src/debug/dbg-thread-demux.c: Oops. Undid my change of 1999-01-21.1999-01-25 Jonathan Larmour <jlarmour@cygnus.co.uk> * src/common/except.cxx: Make global exception initialisation object be constructed at INTERRUPT priority1999-01-25 Jesper Skov <jskov@cygnus.co.uk> PR 18002 * tests/thread_gdb.c: Ensure that there are enough priorities.1999-01-25 Jesper Skov <jskov@cygnus.co.uk> PR 18875
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -