URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [rtos/] [ecos-2.0/] [packages/] [compat/] [uitron/] [v2_0/] [ChangeLog] - Rev 308
Go to most recent revision | Compare with Previous | Blame | View Log
2003-02-24 Jonathan Larmour <jifl@eCosCentric.com>* cdl/uitron.cdl: Update doc link.2002-05-27 Jesper Skov <jskov@redhat.com>* cdl/uitron.cdl: Don't build C tests when C++ options selected.2002-05-22 Nick Garnett <nickg@redhat.com>* doc/uitron.sgml: Fixed dangling xref.2002-02-19 Mark Salter <msalter@redhat.com>* doc/uitron.sgml: Fixed typos and such.2002-02-14 Hugo Tyson <hmt@redhat.com>* doc/uitron.sgml: General polishing... Tidied up broken emPHAsison closing parentheses of function lists. Reduced line length ofsame to fit real paper, I hope. Added LITERAL tags all overconfig option mentions.New stuff... Added a whole new section "[u]ITRON ConfigurationFAQ" based on some email answers I have given in the past insupport of customers.2002-02-13 Hugo Tyson <hmt@redhat.com>* doc/uitron.sgml: NEW FILE: Make id tags qualified withcompat-uitron- and add a couple of tags; tidy up formatting ofsome function listings; correct comment on using functions in yourown DSRs and ISRs.2002-01-24 Jesper Skov <jskov@redhat.com>* include/uit_func.inl (ena_int, dis_int): WrapHAL_MASK_INTERRUPT/HAL_UNMASK_INTERRUPT in interruptdisable/restore pairs.* tests/testintr.cxx (detach_isr, attach_isr): Change order ofmask/unmask and disable/restore.2001-04-30 Jonathan Larmour <jlarmour@redhat.com>* src/uit_objs.cxx: Workaround xscale tools preprocessor bugby avoiding determining the stack size with the preprocessor.* cdl/tasks.cdl (CYGDAT_UITRON_TASK_EXTERNS andCYGDAT_UITRON_TASK_INITIALISERS): Ditto2001-04-21 Bart Veer <bartv@redhat.com>* tests/testintr.cxx (task1):Disable one of the tests on the synthetic target, it requiresconsistent cpu timing that cannot be guaranteed.2000-11-01 Jesper Skov <jskov@redhat.com>* include/uit_func.inl: CYG_SCHED_UNIQUE_PRIORITIES changed toCYGINT_KERNEL_SCHEDULER_UNIQUE_PRIORITIES2000-09-13 Jonathan Larmour <jlarmour@redhat.com>* include/uit_objs.hxx (CYG_UITRON_OBJS_INIT_PRIORITY): Definewith correct priority now.2000-08-03 Jonathan Larmour <jlarmour@redhat.co.uk>* include/uit_func.inl (ref_mpf): Compute used blocks frombytes used / blocks size rather than now obsolete blockcount member2000-07-04 Jonathan Larmour <jlarmour@redhat.co.uk>* include/uit_func.inl: Update all memory pool related functions toreflect the new interface to memory pools, and that they come fromthe new CYGPKG_MEMALLOC package* cdl/uitron.cdl: CYGPKG_UITRON_MEMPOOLFIXED andCYGPKG_UITRON_MEMPOOLVAR require the CYGPKG_MEMALLOC package* include/uit_objs.hxx: Update includes - memory pool implementationsare now in CYGPKG_MEMALLOC2000-06-15 Gary Thomas <gthomas@redhat.com>* include/uit_ifnc.h (CYGPRI_UITRON_SET_RETCODE): Always return'HANDLED'. This fixes some confusion when interrupt chaining.2000-05-15 Hugo Tyson <hmt@cygnus.co.uk>* include/uit_ifnc.h (cyg_uitron_dsr): make this be extern "C"always; it went wrong when uitron funcs are inline or C++.* src/uit_ifnc.cxx (CYGIMP_UITRON_INLINE_FUNCS): When [re]definingthis, match what CDL defined. Warnings--;2000-05-08 Jesper Skov <jskov@redhat.com>* tests/testintr.cxx (attach_isr, detach_isr): Don't check forclean vector after a detach when chaining is enabled.2000-03-28 Jesper Skov <jskov@redhat.com>* tests/testintr.cxx: Synchronize with clock before making timermeasurement.2000-03-28 John Dallaway <jld@cygnus.co.uk>* cdl/uitron.cdl:Adjust documentation URLs.2000-03-22 Jesper Skov <jskov@redhat.com>* include/uit_ifnc.h (ret_int): Fix compiler warning.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() anddis_int(); easiest done here because we have an interrupt number -for the clock - in our hands here already for the rest of thetest.2000-02-02 Jesper Skov <jskov@redhat.com>* tests/testintr.cxx: Don't output DELAYLOCKSCHED quite so oftenon synthetic target.2000-01-31 Hugo Tyson <hmt@cygnus.co.uk>* tests/testintr.cxx (CHECK_TID): Test that get_tid() returns 0 inISR context ie. non-task portion.* include/uit_func.inl (get_tid): Check the sched lock fornon-task portions, ie. ISR/DSR will have the scheduler locked.2000-01-31 Simon FitzMaurice <sdf@cygnus.co.uk>* compat/uitron/current/cdl/uitron.cdlAdjust help URLs in line with new doc layout.2000-01-28 Simon FitzMaurice <sdf@cygnus.co.uk>* compat/uitron/current/cdl/uitron.cdlAdjust 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 optionCYGSEM_UITRON_TIME_IS_MILLISECONDS to control just what it says.* include/uit_func.inl (CYG_UITRON_TIME_UIT_TO_SYS32): et al; newmacros optionally to convert to/from milliSeconds if optionCYGSEM_UITRON_TIME_IS_MILLISECONDS is set.* src/uit_func.cxx: Initialize Cyg_Clock::converter type objectsif the time unit is set to milliSeconds.* cdl/uitron.cdl: Add new optionCYGSEM_UITRON_TIME_IS_MILLISECONDS to control just what it says.Add an include of the kernel config file to the generatedpkgconf/uitron.h: tests at the very least need it! This is acorrect thing to do because the kernel config defines a lot of thesemantics of the uITRON layer, as well as being needed forbackward compatibility.Also add uit_ifnc.cxx to the files that need compiling. Due tothe previous screwup, no testing has been applied to the uITRONsystem under CDL, because it thought the kernel was absent, sothis 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 werelacking 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 againstthe 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 thebelow change - we may still be shipping antiquated compilers tocustomers. Sigh.1999-09-02 Hugo Tyson <hmt@cygnus.co.uk>* include/uit_objs.hxx (CYG_UITRON_OBJS_INIT_PRIORITY): Enableusing init priority on uitron objects, now that the compilers allsupport 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 chosendefault interrupt "level" of 0 means make no interrupts on thetx39 ;-( oh well. Made the whole test simulator-friendly ie. muchshorter, 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-safefunctions: just "try immediate execution" [is the sched lock one?]and queue size.* include/pkgconf/uitron.h: Add configury for lovely newinterrupt-safe functions: just "try immediate execution" [ie. ifthe sched lock is one] and queue size.* include/uit_ifnc.inl: Respond to general configury wrt thepresence of semas, flags, mboxes: only define the ixxx_yyy()function if the corresponding xxx_yyy() func exists. Remove thestatic definitions of the configuration symbols.* src/uit_ifnc.cxx: Respond to general configury wrt the presenceof 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-safeixxx_yyy() style functions as a porting/backwards-compatibilityaid. Prototype of a suitable DSR to mate with an ISR that usesthem too.* include/uit_ifnc.inl: New file. Bodies for possible inlining ofthe ixxx_yyy() style functions; organized much like the standarduITRON 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() functionsnewly provided above. Rather unpleasant: it is necessary to breaktype-safety to get access to the kernel's interrupt object thatdrives 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 aboutstack usage; since this is quite a long and arduous test. Thisjust helps en passant with testing the interrupt stack work that'sbeen 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 thekillee if priorities are not unique or we are not alreadyelevated. This is to prevent asserts with the bitmap scheduler.(chg_pri): Support a level X feature, pri zero => reset to thethread's initial priority.1999-05-14 Hugo Tyson <hmt@masala.cygnus.co.uk>* include/uit_objs.hxx: object array declaration macro nowcontains constructor priority ordering rune; if 0'd out pending99r1 compiler cutover.1999-04-23 Hugo Tyson <hmt@cygnus.co.uk>* tests/testcx7.cxx: T2_MALLOC definition; only make it smallerthan the main consumer malloc if coaleasing is enabled, otherwisethe 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 usedto lock the scheduler to implement dis_dsp() and ena_dsp() - whichalso stopped the clock, for example. Instead change the callingthread's priority to 0 internally so that it cannot be preemptedby uITRON threads at least, whose priorities are 1--N. Sameapplies to loc/unl_cpu(). Save the "real" priority in a static,and take notice of it everywhere relevant, such as thread andsystem state inquiries, changing (our own) priority, checking fordispatch enabled in sleeping calls, and so on.* src/uit_func.cxx: New variable cyg_uitron_dis_dsp_old_priorityfor holding the "real" priority of a thread whilst we change ourpriority 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 notin 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 ofCYGNUM_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 thanCYG_TEST_PASS/CYG_TEST_EXIT1999-02-22 Hugo Tyson <hmt@cygnus.co.uk>* src/uit_objs.cxx: Eeeek! Previous fix was bogus: the overridewas too late in the file to take effect. The declaration of theobjects (including stacks) is moved to below the override CPPrunes.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_SIZEdemands 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 tooverhead 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 tofail.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 ifthe 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 nodownside. Explicitly condition whether to run a follow-on looprather 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 synchobject in question, and call it as necessary. This only added tothe C++ version of the test for enhanced coverage, in case theenquiry call perturbs the object state; having both versionspresent is better. This checks a very recent fix tokernel...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 defaultsreferred to by the task array, so that the uITRON system can beinitialized even when no uITRON tasks have been provided (so longas 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 itcarries the false implication that those are cygnus names, whenthey 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 wedecide not to test anything, they will be provided with weak namesregardles 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 thedefault one; this is needed for handling the "I cannot test inthis configuration" failures. Of course the C ones were C tostart 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 offif there are no uITRON objects of the right type to manipulate.The huge (50-line) #if statement is arranged the way it is so thatclauses 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 9sem :: 2 3 5 6 7 8flg :: 2 5 6 7mbx :: 2 5 6 7mpl :: 2 5 7 9mpf :: 2 5 7 9alm :: 4cyc :: 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.Tidy up naming of initializer macros to use for non-existent(initially) uITRON objects.Improve comments in CDL-- info fields.* include/uit_func.h:Add prototypes for cre/del_mpf/mpl().* include/uit_func.inl:Implement cre/del_mpf/mpl().* src/uit_objs.cxx:Support CYG_UIT_MEMPOOLFIXED_NOEXS/CYG_UIT_MEMPOOLVAR_NOEXS(...)mempool construction macros for non-existent (initially) mempools.Rename _NONE construction macros to _NOEXS which will make a lotmore sense to uITRON folks.1998-10-14 Hugo Tyson <hmt@masala.cygnus.co.uk>* include/pkgconf/uitron.h:Add configury for create/delete of tasks.* include/uit_func.h:Add prototypes for cre/del_tsk(); correct comment in exd_tsk().* include/uit_func.inl:Implement cre/del_tsk() and complete exd_tsk().Improve NULL/NADR checking on other cre/del calls.* src/uit_func.cxx (cyg_uitron_start):Deal better with start tasks stuff, for task create/delete.* src/uit_objs.cxx:Support CYG_UIT_TASK_NONE(...) task constructor for those taskswhich do not initially exist* tests/PKGconf.mak:Add new tests test8.c, testcx[678].cxx to the build.* tests/test6.c:Tidy comments, untabify.* tests/test7.c:Tidy comments, untabify, test creation with NADR record pointer.No impact from the new cre/del_tsk() functionality on test7, sincea task may only be deleted when it is dormant, so deletion is NOTanother way out of a waiting state.* tests/test8.c:New test, tests cre_tsk() and del_tsk() and exd_tsk() ie. thecreation and deletion of tasks.* tests/testcx6.cxx:* tests/testcx7.cxx:* tests/testcx8.cxx:New tests, C++ versions of tests 6, 7, and 8.1998-10-09 Hugo Tyson <hmt@cygnus.co.uk>* tests/test7.c:Test interactions with deleting objects (as applicable) andkilling, signalling and the like. Also test killing the taskafter other treatments more generically.* tests/test6.c (task1):Change "N/A:" to "N/A" in the exit message when we didn't actuallydo any testing due to create/delete being disabled for all objecttypes.1998-10-08 Hugo Tyson <hmt@masala.cygnus.co.uk>In general, these changes are to support create/delete of uITRONobjects; this requires that an object can be destroyed whilstthere are threads waiting on it, and that they shall be awokenwith a specific return code E_DLT. The implementation uses anarray of pointers in addition to the array of objects: ptrs[N]should either be NULL or &objs[N] in this version. Thatrestriction is not checked, in order that in future, true dynamicallocation can be used, and ptrs[N] could point anywhere. Theimplications of this are mainly in the area of getting theaddresses of objects, via the ptr array or from the object array?The config of whether there is a ptr array is per object type.* include/pkgconf/uitron.h:Configury of the existence or not of create/delete for objecttype: initially only SEMAS, MBOXES, FLAGS.Configury of the number of objects created initially, if cre/delare enabled.* tests/test6.c:* tests/test7.c:* tests/PKGconf.mak:Two new test programs (duh!): test6 tests create and delete ofSEMAS, MBOXES, FLAGS explicitly, for bad params handling, abilityto use after deletion and recreation &c &c. test7 tests thesemantics of sleeping on some synchronization primitive, permedwith suspension, signalling, killing, releasing and so forth.Both will migrate into C++ versions also in future.* include/uit_func.h:Enable cre/del_{mbx,flg,sem} prototypes.* include/uit_func.inl:Implement cre/del_{mbx,flg,sem} depending on configury, and handlethe pointer arrays generally in other client routines.* include/uit_objs.hxx:Define the pointer arrays for access to created objects.* include/uit_type.h:Enable definitions of the structures used in create calls.* src/uit_func.cxx:Initialization code for the pointer arrays, akin to the taskstartup code.* src/uit_objs.cxx:Instantiate the pointer arrays themselves.1998-09-25 Bart Veer <bartv@cygnus.co.uk>* include/pkgconf/uitron.h:PR 17482: added #ifdef protection. If CYGPKG_UITRON_MEMPOOLFIXEDis not defined then the contained optionCYGNUM_UITRON_MEMPOOLFIXED may not be defined either. Ditto forCYGNUM_UITRON_MEMPOOLVAR which suffers from the same problem.And ditto for CYGPKG_UITRON_SEMAS1998-09-20 Mark Galassi <rosalia@cygnus.com>* include/pkgconf/uitron.h: added one or two CDL doc strings.Tue Sep 15 19:12:28 1998 David Moore <dsm@keema.cygnus.co.uk>* include/pkgconf/uitron.h: Cleaned up comments.1998-09-12 Mark Galassi <rosalia@cygnus.com>small changes to the descriptive information in the uITRON CDL1998-09-12 Mark Galassi <rosalia@cygnus.com>* include/pkgconf/uitron.h: small editing of the descriptionfields: renamed things like <name> to NAME, so that it does notconfuse SGML when incorporated into the documentation.Also added various "doc" fields to the CFG_DATA comments.Wed Sep 9 18:36:15 1998 Hugo Tyson <hmt@cygnus.co.uk>* include/uit_func.inl:* include/uit_objs.hxx:* src/uit_objs.cxx:Condition features on CYGPKG_UITRON_SEMAS [for example] as well as0 < CYG_UITRON_NUM( SEMAS ) so that we get warning freecompilation with no semas enabled. Ditto for flags, mboxes,mempools fixed and variable, alarms and cyclics.* include/pkgconf/uitron.h:Add a couple of requires statements from cyclics and alarms on thekernel clock.Also change some grammar after review.Add an option (actually a pair, makes it better documentation IMO)to require strict semantics from the kernel setup.Add an option to control the optional sema initializer; it wasomitted since the editor way of configury used a #if 0.Fri Sep 4 17:54:29 1998 Hugo Tyson <hmt@cygnus.co.uk>* include/pkgconf/uitron.h:Remove redundant and now unnecessary defs of CYGPKG_UITRON.Wed Sep 2 19:06:17 1998 Hugo Tyson <hmt@cygnus.co.uk>* include/uit_func.inl:Memory pools and message boxes and flagsand cnt_sem2-type semaphores now all have absolute timeoutsinstead of relative ones in the timely wait functions.We add in the current time here first.Wed Sep 2 16:45:40 1998 Hugo Tyson <hmt@cygnus.co.uk>* include/pkgconf/uitron.h (CYGDAT_UITRON_TASK_INITIALIZERS):Use the new kernel thread initializer with priority and threadname in it.* include/uit_func.inl:* include/uit_objs.hxx:* src/uit_func.cxx (cyg_uitron_start):* src/uit_objs.cxx:Our tasks are now Cyg_Threads rather than a derived class.Original priorities of tasks are held in an array. An accessormacro is used for the off-by-one nature of uitron IDs. The arrayof original priorities is set up in cyg_uitron_start(), andcreated in uit_objs.cxx.Wed Sep 2 15:15:26 1998 Hugo Tyson <hmt@cygnus.co.uk>* include/pkgconf/uitron.h:Comment more strongly in the 'description' that the number ofinitializers better match the number of things specified.Tue Sep 1 19:00:02 1998 Hugo Tyson <hmt@masala.cygnus.co.uk>* include/uit_objs.hxx:Do not include <cyg/kernel/kernel.h>; it is deprecated.Instead, include only kernel headers that are needed.* include/uit_func.inl (ref_sys):Use new kernel function Cyg_Interrupt::interrupts_enabled()instead of a state variable. Tidy up associated code.Include kernel headers that are needed because they were notincluded in uit_objs.hxx for tidiness.* src/uit_func.cxx:Elide state variable that used to be used for tracking interruptenabledness state.* tests/testcx5.cxx (task1):* tests/test5.c (task1):Test interrupt enable and disable stuff, and status reporting.Tue Sep 1 15:12:29 1998 Hugo Tyson <hmt@cygnus.co.uk>* include/uit_func.inl (ref_mpf):Change comment "ECC" to "eCos".1998-08-28 Bart Veer <bartv@cygnus.co.uk>* include/uit_func.inl:* tests/test1.c, tests/test2.c, tests/test3.c, tests/test4.c,tests/test5.c, tests/testcxx.cxx, tests/testcx2.cxx,tests/testcx3.cxx, tests/testcx4.cxx, tests/testcx5.cxx:Updated for new kernel configuration option symbol namesFri Aug 28 09:21:55 1998 Jonathan Larmour <jlarmour@cygnus.co.uk>* src/uit_func.cxx (cyg_uitron_start):Remove call to Cyg_Scheduler::start() and adjust comments toexplain where to call it from* tests/test1.c, tests/test2.c, tests/test3.c, tests/test4.c,tests/test5.c, tests/testcxx.cxx, tests/testcx2.cxx,tests/testcx3.cxx, tests/testcx4.cxx, tests/testcx5.cxx:Change the normal entry point at the top to be cyg_package_start()under the new startup scheme. This overrides the default packageconfiguration and ensure cyg_uitron_start() gets called.Change the "default" entry point at the bottom (when the test isN/A for some reason) to cyg_start() under the new startup scheme.Wed Aug 26 18:20:47 1998 Hugo Tyson <hmt@masala.cygnus.co.uk>* include/pkgconf/uitron.h:Initial version of cdl control statements for config options.All very groovy, and looking good IMO.A few FIX-MEs remain, no big deal.Mon Aug 24 19:05:52 1998 Hugo Tyson <hmt@masala.cygnus.co.uk>* include/pkgconf/uitron.h:Change the names of config options to helpful, positive sense, andtidy some of the names for inclusion in the GUI tool. Clean upthe namespace too.* include/uit_func.h:* include/uit_func.inl:* src/uit_func.cxx:* src/uit_objs.cxx:Configure according to new option names and object constructionmacros. Simple changes but widespread.* tests/test[12345].c:* tests/testcx[x2345].cxx:Configure according to new option names.Make it main( void ) to avoid a warning.Fri Aug 21 18:45:16 1998 Hugo Tyson <hmt@cygnus.co.uk>* tests/testcx4.cxx (task1):* tests/test4.c (task1):* include/uit_func.inl (def_alm):Tidy the alarm and timer funcs in the course of fixing a kernelbug actually. Test the functionality affected by the kernelchange a bit more.Thu Aug 20 14:33:36 1998 Hugo Tyson <hmt@masala.cygnus.co.uk>* include/uit_func.inl (ref_alm):Elide an unused variable following the previous change.Mon Aug 17 15:45:07 1998 Hugo Tyson <hmt@masala.cygnus.co.uk>* include/pkgconf/uitron.h:Add the config option CYGSEM_UITRON_PARAMS_CHECK_NADR_ONLY.* tests/testcxx.cxx:* tests/testcx2.cxx:* tests/testcx4.cxx:Avoid testing with NULL as a bad parameter when only NADR ischecked. (NADR does not cast to any-pointer in C++ so we don'ttest it in these programs) Check for NADR various places as wellas NULL.* tests/test1.c (task1):* tests/test2.c (task1):* tests/test4.c (task1):Avoid testing with NULL as a bad parameter when only NADR ischecked. Check for NADR various places as well as NULL, and testNADR as a bad param as well as NULL.Mon Aug 17 14:45:30 1998 Hugo Tyson <hmt@cygnus.co.uk>* include/uit_func.inl:PR# 16536: Check for dormant tasks various places; E_OBJmust be returned. All this error checking rather bloats the code,unfortunately.* tests/testcxx.cxx:* tests/test1.c:Test the new checks above.Fri Aug 14 17:41:35 1998 Hugo Tyson <hmt@cygnus.co.uk>* include/uit_func.inl ([t]wai/pol_flg):Check for zero in a wait-for-flag operation; such a wait can neverbe awakened, and so should return E_PAR.* tests/testcx2.cxx (task1):* tests/test2.c (task1):Test the above new checking.Fri Jul 24 17:12:54 1998 Hugo Tyson <hmt@masala.cygnus.co.uk>PR#15865* include/uit_func.inl: return a bool (strictly 1 or 0) for wtskrather than -1 or zero as the spec implies.ref_flg() ref_sem() only affected.Fri Jul 24 13:26:51 1998 Hugo Tyson <hmt@cygnus.co.uk>PR#16531* include/uit_func.inl: return E_OBJ when (force)resuming anon-suspended task.* tests/test1.c: test for that error code.* tests/testcxx.cxx: test for that error code.Fri Jul 24 13:02:46 1998 Hugo Tyson <hmt@cygnus.co.uk>* Changelog: Initial ChangeLog entry.//===========================================================================//####ECOSGPLCOPYRIGHTBEGIN####// -------------------------------------------// This file is part of eCos, the Embedded Configurable Operating System.// Copyright (C) 1998, 1999, 2000, 2001, 2002 Red Hat, Inc.//// eCos is free software; you can redistribute it and/or modify it under// the terms of the GNU General Public License as published by the Free// Software Foundation; either version 2 or (at your option) any later version.//// eCos is distributed in the hope that it will be useful, but WITHOUT ANY// WARRANTY; without even the implied warranty of MERCHANTABILITY or// FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License// for more details.//// You should have received a copy of the GNU General Public License along// with eCos; if not, write to the Free Software Foundation, Inc.,// 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.//// As a special exception, if other files instantiate templates or use macros// or inline functions from this file, or you compile this file and link it// with other works to produce a work based on this file, this file does not// by itself cause the resulting work to be covered by the GNU General Public// License. However the source code for this file must still be made available// in accordance with section (3) of the GNU General Public License.//// This exception does not invalidate any other reasons why a work based on// this file might be covered by the GNU General Public License.//// Alternative licenses for eCos may be arranged by contacting Red Hat, Inc.// at http://sources.redhat.com/ecos/ecos-license/// -------------------------------------------//####ECOSGPLCOPYRIGHTEND####//===========================================================================
Go to most recent revision | Compare with Previous | Blame | View Log
