📄 changelog
字号:
2000-03-20 John Dallaway <jld@cygnus.co.uk> * cdl/uitron.cdl: Adjust documentation URLs.2000-03-13 Jesper Skov <jskov@redhat.com> * tests/testintr.cxx: Don't try to disable clock on PowerPC.2000-03-03 Hugo Tyson <hmt@cygnus.co.uk> * tests/testintr.cxx (task1): Only test ena_int() and dis_int() for E_PAR if CYGSEM_UITRON_BAD_PARAMS_RETURN_ERRORS.2000-02-28 Hugo Tyson <hmt@cygnus.co.uk> * include/uit_func.h: add ena_int() and dis_int(). * include/uit_func.inl (dis_int): New function added. (ena_int): New function added. * tests/testintr.cxx (task1): Add a test of ena_int() and dis_int(); easiest done here because we have an interrupt number - for the clock - in our hands here already for the rest of the test.2000-02-02 Jesper Skov <jskov@redhat.com> * tests/testintr.cxx: Don't output DELAYLOCKSCHED quite so often on synthetic target.2000-01-31 Hugo Tyson <hmt@cygnus.co.uk> * tests/testintr.cxx (CHECK_TID): Test that get_tid() returns 0 in ISR context ie. non-task portion. * include/uit_func.inl (get_tid): Check the sched lock for non-task portions, ie. ISR/DSR will have the scheduler locked.2000-01-31 Simon FitzMaurice <sdf@cygnus.co.uk> * compat/uitron/current/cdl/uitron.cdl Adjust help URLs in line with new doc layout.2000-01-28 Simon FitzMaurice <sdf@cygnus.co.uk> * compat/uitron/current/cdl/uitron.cdl Adjust help URLs in line with new doc layout.2000-01-28 Jonathan Larmour <jlarmour@redhat.co.uk> * tests/testintr.cxx (DELAYLOCKSCHED): When in long testing loops, occasionally output a message to show the test is still alive2000-01-26 Hugo Tyson <hmt@cygnus.co.uk> * include/pkgconf/uitron.h: Add new option CYGSEM_UITRON_TIME_IS_MILLISECONDS to control just what it says. * include/uit_func.inl (CYG_UITRON_TIME_UIT_TO_SYS32): et al; new macros optionally to convert to/from milliSeconds if option CYGSEM_UITRON_TIME_IS_MILLISECONDS is set. * src/uit_func.cxx: Initialize Cyg_Clock::converter type objects if the time unit is set to milliSeconds. * cdl/uitron.cdl: Add new option CYGSEM_UITRON_TIME_IS_MILLISECONDS to control just what it says. Add an include of the kernel config file to the generated pkgconf/uitron.h: tests at the very least need it! This is a correct thing to do because the kernel config defines a lot of the semantics of the uITRON layer, as well as being needed for backward compatibility. Also add uit_ifnc.cxx to the files that need compiling. Due to the previous screwup, no testing has been applied to the uITRON system under CDL, because it thought the kernel was absent, so this had not been detected. Doh.2000-01-25 Jesper Skov <jskov@cygnus.co.uk> * tests/testintr.cxx (cyg_start): externC addded.2000-01-19 Hugo Tyson <hmt@cygnus.co.uk> * cdl/*.cdl: Add descriptions to a number of options &c which were lacking same, also tidied up other typos as noticed en passant.1999-11-09 Jonathan Larmour <jlarmour@cygnus.co.uk> * src/uit_objs.cxx: Make the stack size failsafe be tested against the minimum stack size, not the typical one.1999-11-03 John Dallaway <jld@cygnus.co.uk> * cdl/uitron.cdl: Define tests.1999-10-07 John Dallaway <jld@cygnus.co.uk> * cdl/uitron.cdl: Specify radio buttons using CDL interfaces.1999-09-06 Jonathan Larmour <jlarmour@cygnus.co.uk> * include/uit_objs.hxx (CYG_UITRON_OBJS_INIT_PRIORITY): Revert the below change - we may still be shipping antiquated compilers to customers. Sigh.1999-09-02 Hugo Tyson <hmt@cygnus.co.uk> * include/uit_objs.hxx (CYG_UITRON_OBJS_INIT_PRIORITY): Enable using init priority on uitron objects, now that the compilers all support it fully. AFAI can tell from a quite broad experiment.1999-09-01 Hugo Tyson <hmt@cygnus.co.uk> * tests/testintr.cxx (attach_isr): Make it all work: my chosen default interrupt "level" of 0 means make no interrupts on the tx39 ;-( oh well. Made the whole test simulator-friendly ie. much shorter, made the output more friendly to me.1999-08-26 Hugo Tyson <hmt@cygnus.co.uk> * cdl/uitron.cdl (CYGNUM_UITRON_ISR_ACTION_QUEUESIZE): add a "default_value 32" - ooops.1999-08-26 Hugo Tyson <hmt@cygnus.co.uk> * cdl/uitron.cdl: Add configury for lovely new interrupt-safe functions: just "try immediate execution" [is the sched lock one?] and queue size. * include/pkgconf/uitron.h: Add configury for lovely new interrupt-safe functions: just "try immediate execution" [ie. if the sched lock is one] and queue size. * include/uit_ifnc.inl: Respond to general configury wrt the presence of semas, flags, mboxes: only define the ixxx_yyy() function if the corresponding xxx_yyy() func exists. Remove the static definitions of the configuration symbols. * src/uit_ifnc.cxx: Respond to general configury wrt the presence of semas, flags, mboxes: the functions called may not exist!1999-08-25 Hugo Tyson <hmt@cygnus.co.uk> * include/uit_ifnc.h: New file. Prototypes of interrupt-safe ixxx_yyy() style functions as a porting/backwards-compatibility aid. Prototype of a suitable DSR to mate with an ISR that uses them too. * include/uit_ifnc.inl: New file. Bodies for possible inlining of the ixxx_yyy() style functions; organized much like the standard uITRON functions. * src/uit_ifnc.cxx: New file. Implementation of the DSR provided, plus concrete instantiations of the ixxx_yyy() style functions. * tests/testintr.cxx: New file. Test for the ixxx_yyy() functions newly provided above. Rather unpleasant: it is necessary to break type-safety to get access to the kernel's interrupt object that drives the realtime clock. Perhaps a neater way will follow. * tests/PKGconf.mak (TESTS): Add new testcase testintr.cxx * src/PKGconf.mak (COMPILE): Add new source file uit_ifnc.cxx1999-08-17 John Dallaway <jld@cygnus.co.uk> * cdl/uitron.cdl: Implement radio buttons using "FIXME radio" hack in description field for now.1999-07-30 John Dallaway <jld@cygnus.co.uk> * cdl/uitron.cdl: Tidy display string capitalisation.1999-05-26 Jesper Skov <jskov@cygnus.co.uk> * tests/testcx7.cxx: Include new stackmon header.1999-05-20 Hugo Tyson <hmt@cygnus.co.uk> * tests/testcx7.cxx (task1): Add some statistics dumping about stack usage; since this is quite a long and arduous test. This just helps en passant with testing the interrupt stack work that's been happening recently. C++ only, so not for test7.1999-05-17 Hugo Tyson <hmt@masala.cygnus.co.uk> * include/uit_func.inl (ter_tsk): Only up the priority of the killee if priorities are not unique or we are not already elevated. This is to prevent asserts with the bitmap scheduler. (chg_pri): Support a level X feature, pri zero => reset to the thread's initial priority.1999-05-14 Hugo Tyson <hmt@masala.cygnus.co.uk> * include/uit_objs.hxx: object array declaration macro now contains constructor priority ordering rune; if 0'd out pending 99r1 compiler cutover.1999-04-23 Hugo Tyson <hmt@cygnus.co.uk> * tests/testcx7.cxx: T2_MALLOC definition; only make it smaller than the main consumer malloc if coaleasing is enabled, otherwise the mempool cannot allocate blocks for the consumer for next time. Fixes PR 18817 - only a random perm disable coalescence. * tests/test7.c: Ditto.1999-04-15 John Dallaway <jld@cygnus.co.uk> * include/pkgconf/uitron.h: Tidy display string capitalization.1999-04-09 Hugo Tyson <hmt@cygnus.co.uk> * include/uit_func.inl (dis_dsp): Remove bad old code which used to lock the scheduler to implement dis_dsp() and ena_dsp() - which also stopped the clock, for example. Instead change the calling thread's priority to 0 internally so that it cannot be preempted by uITRON threads at least, whose priorities are 1--N. Same applies to loc/unl_cpu(). Save the "real" priority in a static, and take notice of it everywhere relevant, such as thread and system state inquiries, changing (our own) priority, checking for dispatch enabled in sleeping calls, and so on. * src/uit_func.cxx: New variable cyg_uitron_dis_dsp_old_priority for holding the "real" priority of a thread whilst we change our priority to zero (the highest) to prevent dispatching in dis_dsp() or loc_cpu(). * include/uit_func.inl (get_tid): Return 0 for the task id if not in a uITRON thread, this is better conformance to the spec.1999-03-22 Hugo Tyson <hmt@cygnus.co.uk> * src/uit_objs.cxx: Use CYGNUM_HAL_STACK_SIZE_TYPICAL for the stack size instead of CYGNUM_HAL_MINIMUM_STACK_SIZE.1999-02-23 Jonathan Larmour <jlarmour@cygnus.co.uk> * tests/test1.c, tests/test2.c, tests/test3.c, tests/test4.c, tests/test5.c, tests/test6.c, tests/test7.c, tests/test8.c, tests/test9.c, tests/testcxx.cxx, tests/testcx2.cxx, tests/testcx3.cxx, tests/testcx4.cxx, tests/testcx5.cxx, tests/testcx6.cxx, tests/testcx7.cxx, tests/testcx8.cxx, tests/testcx9.cxx: Change all non-applicable cases to use CYG_TEST_NA rather than CYG_TEST_PASS/CYG_TEST_EXIT1999-02-22 Hugo Tyson <hmt@cygnus.co.uk> * src/uit_objs.cxx: Eeeek! Previous fix was bogus: the override was too late in the file to take effect. The declaration of the objects (including stacks) is moved to below the override CPP runes.1999-02-12 Hugo Tyson <hmt@cygnus.co.uk> * src/uit_objs.cxx (CYG_UITRON_DECL): Override CYGNUM_UITRON_STACK_SIZE if CYGNUM_HAL_MINIMUM_STACK_SIZE demands it. * include/pkgconf/uitron.h (CYGNUM_UITRON_STACK_SIZE): Document that this option can be overridden by HALs demands.1999-02-02 Jesper Skov <jskov@cygnus.co.uk> PR 18968 * tests/test2.c (task1): * tests/testcx2.cxx (task1): Reduce run time on SIM.1999-01-26 Jesper Skov <jskov@cygnus.co.uk> PR 18788 * tests/test4.c (task1): * tests/testcx4.cxx (task1): Extend timeouts when running on HW to avoid failures due to overhead of GDB interaction.1999-01-25 Jesper Skov <jskov@cygnus.co.uk> PR 18576 * include/pkgconf/uitron.h (CYGDAT_UITRON_SEMA_INITIALIZERS): Let default initializers have values that don't cause tests to fail.1998-11-25 Hugo Tyson <hmt@cygnus.co.uk> * include/uit_func.inl (del_xxx &c): Make error returns more consistent; E_NOEXS rather than E_OBJ if the object disappeared during a race.1998-11-19 Hugo Tyson <hmt@cygnus.co.uk> * src/uit_func.cxx (SET_UP_PTRS): PR 17999; work around codegen bug on tx39 with -Os. The code is better with the fix regardless, so it's got no downside. Explicitly condition whether to run a follow-on loop rather than letting the for-loop sort it out itself.1998-11-16 Hugo Tyson <hmt@cygnus.co.uk> * tests/testcx7.cxx (check_waitstate): Add a routine to check the reported waiting state of the synch object in question, and call it as necessary. This only added to the C++ version of the test for enhanced coverage, in case the enquiry call perturbs the object state; having both versions present is better. This checks a very recent fix to kernel...thread.cxx (1998-10-27).1998-10-21 Hugo Tyson <hmt@cygnus.co.uk> * src/uit_func.cxx: Provide weakly named dummies for task[1-4], which are the defaults referred to by the task array, so that the uITRON system can be initialized even when no uITRON tasks have been provided (so long as no other changes to the task init configury have been made) This does not pollute the namespace, for these are weak symbols. Changing them to cyg_uitron_task... would be possible, but it carries the false implication that those are cygnus names, when they are really entirely up to the user. * tests/test[123456789].c: * tests/testcxx.cxx: * tests/testcx[23456789].cxx: Undo the previous change: remove dummies for task[1-4] when we decide not to test anything, they will be provided with weak names regardles in src/uit_func.cxx.1998-10-20 Hugo Tyson <hmt@cygnus.co.uk> * tests/test[123456789].c: * tests/testcxx.cxx: * tests/testcx[23456789].cxx: Provide dummies for task[1-4] when we decide not to test anything, to encourage correct linking.1998-10-16 Hugo Tyson <hmt@cygnus.co.uk> * tests/testcx*.cxx (cyg_start): [all the C++ tests] changed cyg_start to externC so that it truly does override the default one; this is needed for handling the "I cannot test in this configuration" failures. Of course the C ones were C to start with. 1998-10-16 Hugo Tyson <hmt@cygnus.co.uk> * tests/test[123456789].c: * tests/testcxx.cxx: * tests/testcx[23456789].cxx: All tests are now much more self-configuring wrt turning off if there are no uITRON objects of the right type to manipulate. The huge (50-line) #if statement is arranged the way it is so that clauses checking on each feature can be pasted in and out easily. So yes, the "&& 1" at the end has a purpose. Here for the record is a table of feature versus test-used-in: tsk :: 1 2 3 4 5 6 7 8 9 sem :: 2 3 5 6 7 8 flg :: 2 5 6 7 mbx :: 2 5 6 7 mpl :: 2 5 7 9 mpf :: 2 5 7 9 alm :: 4 cyc :: 41998-10-16 Hugo Tyson <hmt@cygnus.co.uk> * tests/test9.c: * tests/testcx9.cxx: New tests, test create and delete of memory pools1998-10-15 Hugo Tyson <hmt@cygnus.co.uk> * include/pkgconf/uitron.h: Add configury for create/delete of memory pools.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -