Mercurial > ecos
comparison packages/compat/uitron/current/ChangeLog @ 0:3111d98ba7b3 ecos-v1_1-release
Initial commit of eCos version 1.1
| author | jlarmour |
|---|---|
| date | Tue, 11 May 1999 11:16:07 +0000 |
| parents | |
| children | 443894e2e912 |
comparison
equal
deleted
inserted
replaced
| -1:000000000000 | 0:3111d98ba7b3 |
|---|---|
| 1 1998-10-21 Hugo Tyson <hmt@masala.cygnus.co.uk> | |
| 2 | |
| 3 * src/uit_func.cxx: | |
| 4 Provide weakly named dummies for task[1-4], which are the defaults | |
| 5 referred to by the task array, so that the uITRON system can be | |
| 6 initialized even when no uITRON tasks have been provided (so long | |
| 7 as no other changes to the task init configury have been made) | |
| 8 This does not pollute the namespace, for these are weak symbols. | |
| 9 Changing them to cyg_uitron_task... would be possible, but it | |
| 10 carries the false implication that those are cygnus names, when | |
| 11 they are really entirely up to the user. | |
| 12 | |
| 13 * tests/test[123456789].c: | |
| 14 * tests/testcxx.cxx: | |
| 15 * tests/testcx[23456789].cxx: | |
| 16 Undo the previous change: remove dummies for task[1-4] when we | |
| 17 decide not to test anything, they will be provided with weak names | |
| 18 regardles in src/uit_func.cxx. | |
| 19 | |
| 20 1998-10-20 Hugo Tyson <hmt@cygnus.co.uk> | |
| 21 | |
| 22 * tests/test[123456789].c: | |
| 23 * tests/testcxx.cxx: | |
| 24 * tests/testcx[23456789].cxx: | |
| 25 Provide dummies for task[1-4] when we decide not to test anything, | |
| 26 to encourage correct linking. | |
| 27 | |
| 28 1998-10-16 Hugo Tyson <hmt@cygnus.co.uk> | |
| 29 | |
| 30 * tests/testcx*.cxx (cyg_start): | |
| 31 [all the C++ tests] | |
| 32 changed cyg_start to externC so that it truly does override the | |
| 33 default one; this is needed for handling the "I cannot test in | |
| 34 this configuration" failures. Of course the C ones were C to | |
| 35 start with. | |
| 36 | |
| 37 1998-10-16 Hugo Tyson <hmt@cygnus.co.uk> | |
| 38 | |
| 39 * tests/test[123456789].c: | |
| 40 * tests/testcxx.cxx: | |
| 41 * tests/testcx[23456789].cxx: | |
| 42 All tests are now much more self-configuring wrt turning off | |
| 43 if there are no uITRON objects of the right type to manipulate. | |
| 44 The huge (50-line) #if statement is arranged the way it is so that | |
| 45 clauses checking on each feature can be pasted in and out easily. | |
| 46 So yes, the "&& 1" at the end has a purpose. | |
| 47 | |
| 48 Here for the record is a table of feature versus test-used-in: | |
| 49 tsk :: 1 2 3 4 5 6 7 8 9 | |
| 50 sem :: 2 3 5 6 7 8 | |
| 51 flg :: 2 5 6 7 | |
| 52 mbx :: 2 5 6 7 | |
| 53 mpl :: 2 5 7 9 | |
| 54 mpf :: 2 5 7 9 | |
| 55 alm :: 4 | |
| 56 cyc :: 4 | |
| 57 | |
| 58 | |
| 59 1998-10-16 Hugo Tyson <hmt@cygnus.co.uk> | |
| 60 | |
| 61 * tests/test9.c: | |
| 62 * tests/testcx9.cxx: | |
| 63 New tests, test create and delete of memory pools | |
| 64 | |
| 65 1998-10-15 Hugo Tyson <hmt@cygnus.co.uk> | |
| 66 | |
| 67 * include/pkgconf/uitron.h: | |
| 68 Add configury for create/delete of memory pools. | |
| 69 Tidy up naming of initializer macros to use for non-existent | |
| 70 (initially) uITRON objects. | |
| 71 Improve comments in CDL-- info fields. | |
| 72 | |
| 73 * include/uit_func.h: | |
| 74 Add prototypes for cre/del_mpf/mpl(). | |
| 75 | |
| 76 * include/uit_func.inl: | |
| 77 Implement cre/del_mpf/mpl(). | |
| 78 | |
| 79 * src/uit_objs.cxx: | |
| 80 Support CYG_UIT_MEMPOOLFIXED_NOEXS/CYG_UIT_MEMPOOLVAR_NOEXS(...) | |
| 81 mempool construction macros for non-existent (initially) mempools. | |
| 82 Rename _NONE construction macros to _NOEXS which will make a lot | |
| 83 more sense to uITRON folks. | |
| 84 | |
| 85 1998-10-14 Hugo Tyson <hmt@masala.cygnus.co.uk> | |
| 86 | |
| 87 * include/pkgconf/uitron.h: | |
| 88 Add configury for create/delete of tasks. | |
| 89 | |
| 90 * include/uit_func.h: | |
| 91 Add prototypes for cre/del_tsk(); correct comment in exd_tsk(). | |
| 92 | |
| 93 * include/uit_func.inl: | |
| 94 Implement cre/del_tsk() and complete exd_tsk(). | |
| 95 Improve NULL/NADR checking on other cre/del calls. | |
| 96 | |
| 97 * src/uit_func.cxx (cyg_uitron_start): | |
| 98 Deal better with start tasks stuff, for task create/delete. | |
| 99 | |
| 100 * src/uit_objs.cxx: | |
| 101 Support CYG_UIT_TASK_NONE(...) task constructor for those tasks | |
| 102 which do not initially exist | |
| 103 | |
| 104 * tests/PKGconf.mak: | |
| 105 Add new tests test8.c, testcx[678].cxx to the build. | |
| 106 | |
| 107 * tests/test6.c: | |
| 108 Tidy comments, untabify. | |
| 109 | |
| 110 * tests/test7.c: | |
| 111 Tidy comments, untabify, test creation with NADR record pointer. | |
| 112 No impact from the new cre/del_tsk() functionality on test7, since | |
| 113 a task may only be deleted when it is dormant, so deletion is NOT | |
| 114 another way out of a waiting state. | |
| 115 | |
| 116 * tests/test8.c: | |
| 117 New test, tests cre_tsk() and del_tsk() and exd_tsk() ie. the | |
| 118 creation and deletion of tasks. | |
| 119 | |
| 120 * tests/testcx6.cxx: | |
| 121 * tests/testcx7.cxx: | |
| 122 * tests/testcx8.cxx: | |
| 123 New tests, C++ versions of tests 6, 7, and 8. | |
| 124 | |
| 125 1998-10-09 Hugo Tyson <hmt@cygnus.co.uk> | |
| 126 | |
| 127 * tests/test7.c: | |
| 128 Test interactions with deleting objects (as applicable) and | |
| 129 killing, signalling and the like. Also test killing the task | |
| 130 after other treatments more generically. | |
| 131 | |
| 132 * tests/test6.c (task1): | |
| 133 Change "N/A:" to "N/A" in the exit message when we didn't actually | |
| 134 do any testing due to create/delete being disabled for all object | |
| 135 types. | |
| 136 | |
| 137 1998-10-08 Hugo Tyson <hmt@masala.cygnus.co.uk> | |
| 138 | |
| 139 In general, these changes are to support create/delete of uITRON | |
| 140 objects; this requires that an object can be destroyed whilst | |
| 141 there are threads waiting on it, and that they shall be awoken | |
| 142 with a specific return code E_DLT. The implementation uses an | |
| 143 array of pointers in addition to the array of objects: ptrs[N] | |
| 144 should either be NULL or &objs[N] in this version. That | |
| 145 restriction is not checked, in order that in future, true dynamic | |
| 146 allocation can be used, and ptrs[N] could point anywhere. The | |
| 147 implications of this are mainly in the area of getting the | |
| 148 addresses of objects, via the ptr array or from the object array? | |
| 149 The config of whether there is a ptr array is per object type. | |
| 150 | |
| 151 * include/pkgconf/uitron.h: | |
| 152 Configury of the existence or not of create/delete for object | |
| 153 type: initially only SEMAS, MBOXES, FLAGS. | |
| 154 Configury of the number of objects created initially, if cre/del | |
| 155 are enabled. | |
| 156 | |
| 157 * tests/test6.c: | |
| 158 * tests/test7.c: | |
| 159 * tests/PKGconf.mak: | |
| 160 Two new test programs (duh!): test6 tests create and delete of | |
| 161 SEMAS, MBOXES, FLAGS explicitly, for bad params handling, ability | |
| 162 to use after deletion and recreation &c &c. test7 tests the | |
| 163 semantics of sleeping on some synchronization primitive, permed | |
| 164 with suspension, signalling, killing, releasing and so forth. | |
| 165 Both will migrate into C++ versions also in future. | |
| 166 | |
| 167 * include/uit_func.h: | |
| 168 Enable cre/del_{mbx,flg,sem} prototypes. | |
| 169 | |
| 170 * include/uit_func.inl: | |
| 171 Implement cre/del_{mbx,flg,sem} depending on configury, and handle | |
| 172 the pointer arrays generally in other client routines. | |
| 173 | |
| 174 * include/uit_objs.hxx: | |
| 175 Define the pointer arrays for access to created objects. | |
| 176 | |
| 177 * include/uit_type.h: | |
| 178 Enable definitions of the structures used in create calls. | |
| 179 | |
| 180 * src/uit_func.cxx: | |
| 181 Initialization code for the pointer arrays, akin to the task | |
| 182 startup code. | |
| 183 | |
| 184 * src/uit_objs.cxx: | |
| 185 Instantiate the pointer arrays themselves. | |
| 186 | |
| 187 | |
| 188 1998-09-25 Bart Veer <bartv@cygnus.co.uk> | |
| 189 | |
| 190 * include/pkgconf/uitron.h: | |
| 191 PR 17482: added #ifdef protection. If CYGPKG_UITRON_MEMPOOLFIXED | |
| 192 is not defined then the contained option | |
| 193 CYGNUM_UITRON_MEMPOOLFIXED may not be defined either. Ditto for | |
| 194 CYGNUM_UITRON_MEMPOOLVAR which suffers from the same problem. | |
| 195 And ditto for CYGPKG_UITRON_SEMAS | |
| 196 | |
| 197 1998-09-20 Mark Galassi <rosalia@cygnus.com> | |
| 198 | |
| 199 * include/pkgconf/uitron.h: added one or two CDL doc strings. | |
| 200 | |
| 201 Tue Sep 15 19:12:28 1998 David Moore <dsm@keema.cygnus.co.uk> | |
| 202 | |
| 203 * include/pkgconf/uitron.h: Cleaned up comments. | |
| 204 | |
| 205 1998-09-12 Mark Galassi <rosalia@cygnus.com> | |
| 206 small changes to the descriptive information in the uITRON CDL | |
| 207 | |
| 208 1998-09-12 Mark Galassi <rosalia@cygnus.com> | |
| 209 | |
| 210 * include/pkgconf/uitron.h: small editing of the description | |
| 211 fields: renamed things like <name> to NAME, so that it does not | |
| 212 confuse SGML when incorporated into the documentation. | |
| 213 Also added various "doc" fields to the CFG_DATA comments. | |
| 214 | |
| 215 Wed Sep 9 18:36:15 1998 Hugo Tyson <hmt@cygnus.co.uk> | |
| 216 | |
| 217 * include/uit_func.inl: | |
| 218 * include/uit_objs.hxx: | |
| 219 * src/uit_objs.cxx: | |
| 220 Condition features on CYGPKG_UITRON_SEMAS [for example] as well as | |
| 221 0 < CYG_UITRON_NUM( SEMAS ) so that we get warning free | |
| 222 compilation with no semas enabled. Ditto for flags, mboxes, | |
| 223 mempools fixed and variable, alarms and cyclics. | |
| 224 | |
| 225 * include/pkgconf/uitron.h: | |
| 226 Add a couple of requires statements from cyclics and alarms on the | |
| 227 kernel clock. | |
| 228 Also change some grammar after review. | |
| 229 Add an option (actually a pair, makes it better documentation IMO) | |
| 230 to require strict semantics from the kernel setup. | |
| 231 Add an option to control the optional sema initializer; it was | |
| 232 omitted since the editor way of configury used a #if 0. | |
| 233 | |
| 234 Fri Sep 4 17:54:29 1998 Hugo Tyson <hmt@cygnus.co.uk> | |
| 235 | |
| 236 * include/pkgconf/uitron.h: | |
| 237 Remove redundant and now unnecessary defs of CYGPKG_UITRON. | |
| 238 | |
| 239 Wed Sep 2 19:06:17 1998 Hugo Tyson <hmt@cygnus.co.uk> | |
| 240 | |
| 241 * include/uit_func.inl: | |
| 242 Memory pools and message boxes and flags | |
| 243 and cnt_sem2-type semaphores now all have absolute timeouts | |
| 244 instead of relative ones in the timely wait functions. | |
| 245 We add in the current time here first. | |
| 246 | |
| 247 Wed Sep 2 16:45:40 1998 Hugo Tyson <hmt@cygnus.co.uk> | |
| 248 | |
| 249 * include/pkgconf/uitron.h (CYGDAT_UITRON_TASK_INITIALIZERS): | |
| 250 Use the new kernel thread initializer with priority and thread | |
| 251 name in it. | |
| 252 | |
| 253 * include/uit_func.inl: | |
| 254 * include/uit_objs.hxx: | |
| 255 * src/uit_func.cxx (cyg_uitron_start): | |
| 256 * src/uit_objs.cxx: | |
| 257 Our tasks are now Cyg_Threads rather than a derived class. | |
| 258 Original priorities of tasks are held in an array. An accessor | |
| 259 macro is used for the off-by-one nature of uitron IDs. The array | |
| 260 of original priorities is set up in cyg_uitron_start(), and | |
| 261 created in uit_objs.cxx. | |
| 262 | |
| 263 Wed Sep 2 15:15:26 1998 Hugo Tyson <hmt@cygnus.co.uk> | |
| 264 | |
| 265 * include/pkgconf/uitron.h: | |
| 266 Comment more strongly in the 'description' that the number of | |
| 267 initializers better match the number of things specified. | |
| 268 | |
| 269 Tue Sep 1 19:00:02 1998 Hugo Tyson <hmt@masala.cygnus.co.uk> | |
| 270 | |
| 271 * include/uit_objs.hxx: | |
| 272 Do not include <cyg/kernel/kernel.h>; it is deprecated. | |
| 273 Instead, include only kernel headers that are needed. | |
| 274 | |
| 275 * include/uit_func.inl (ref_sys): | |
| 276 Use new kernel function Cyg_Interrupt::interrupts_enabled() | |
| 277 instead of a state variable. Tidy up associated code. | |
| 278 Include kernel headers that are needed because they were not | |
| 279 included in uit_objs.hxx for tidiness. | |
| 280 | |
| 281 * src/uit_func.cxx: | |
| 282 Elide state variable that used to be used for tracking interrupt | |
| 283 enabledness state. | |
| 284 | |
| 285 * tests/testcx5.cxx (task1): | |
| 286 * tests/test5.c (task1): | |
| 287 Test interrupt enable and disable stuff, and status reporting. | |
| 288 | |
| 289 Tue Sep 1 15:12:29 1998 Hugo Tyson <hmt@cygnus.co.uk> | |
| 290 | |
| 291 * include/uit_func.inl (ref_mpf): | |
| 292 Change comment "ECC" to "eCos". | |
| 293 | |
| 294 1998-08-28 Bart Veer <bartv@cygnus.co.uk> | |
| 295 | |
| 296 * include/uit_func.inl: | |
| 297 * tests/test1.c, tests/test2.c, tests/test3.c, tests/test4.c, | |
| 298 tests/test5.c, tests/testcxx.cxx, tests/testcx2.cxx, | |
| 299 tests/testcx3.cxx, tests/testcx4.cxx, tests/testcx5.cxx: | |
| 300 | |
| 301 Updated for new kernel configuration option symbol names | |
| 302 | |
| 303 | |
| 304 Fri Aug 28 09:21:55 1998 Jonathan Larmour <jlarmour@cygnus.co.uk> | |
| 305 | |
| 306 * src/uit_func.cxx (cyg_uitron_start): | |
| 307 Remove call to Cyg_Scheduler::start() and adjust comments to | |
| 308 explain where to call it from | |
| 309 | |
| 310 * tests/test1.c, tests/test2.c, tests/test3.c, tests/test4.c, | |
| 311 tests/test5.c, tests/testcxx.cxx, tests/testcx2.cxx, | |
| 312 tests/testcx3.cxx, tests/testcx4.cxx, tests/testcx5.cxx: | |
| 313 Change the normal entry point at the top to be cyg_package_start() | |
| 314 under the new startup scheme. This overrides the default package | |
| 315 configuration and ensure cyg_uitron_start() gets called. | |
| 316 Change the "default" entry point at the bottom (when the test is | |
| 317 N/A for some reason) to cyg_start() under the new startup scheme. | |
| 318 | |
| 319 Wed Aug 26 18:20:47 1998 Hugo Tyson <hmt@masala.cygnus.co.uk> | |
| 320 | |
| 321 * include/pkgconf/uitron.h: | |
| 322 Initial version of cdl control statements for config options. | |
| 323 All very groovy, and looking good IMO. | |
| 324 A few FIX-MEs remain, no big deal. | |
| 325 | |
| 326 Mon Aug 24 19:05:52 1998 Hugo Tyson <hmt@masala.cygnus.co.uk> | |
| 327 | |
| 328 * include/pkgconf/uitron.h: | |
| 329 Change the names of config options to helpful, positive sense, and | |
| 330 tidy some of the names for inclusion in the GUI tool. Clean up | |
| 331 the namespace too. | |
| 332 | |
| 333 * include/uit_func.h: | |
| 334 * include/uit_func.inl: | |
| 335 * src/uit_func.cxx: | |
| 336 * src/uit_objs.cxx: | |
| 337 Configure according to new option names and object construction | |
| 338 macros. Simple changes but widespread. | |
| 339 | |
| 340 * tests/test[12345].c: | |
| 341 * tests/testcx[x2345].cxx: | |
| 342 Configure according to new option names. | |
| 343 Make it main( void ) to avoid a warning. | |
| 344 | |
| 345 Fri Aug 21 18:45:16 1998 Hugo Tyson <hmt@cygnus.co.uk> | |
| 346 | |
| 347 * tests/testcx4.cxx (task1): | |
| 348 * tests/test4.c (task1): | |
| 349 * include/uit_func.inl (def_alm): | |
| 350 Tidy the alarm and timer funcs in the course of fixing a kernel | |
| 351 bug actually. Test the functionality affected by the kernel | |
| 352 change a bit more. | |
| 353 | |
| 354 Thu Aug 20 14:33:36 1998 Hugo Tyson <hmt@masala.cygnus.co.uk> | |
| 355 | |
| 356 * include/uit_func.inl (ref_alm): | |
| 357 Elide an unused variable following the previous change. | |
| 358 | |
| 359 Mon Aug 17 15:45:07 1998 Hugo Tyson <hmt@masala.cygnus.co.uk> | |
| 360 | |
| 361 * include/pkgconf/uitron.h: | |
| 362 Add the config option CYGSEM_UITRON_PARAMS_CHECK_NADR_ONLY. | |
| 363 | |
| 364 * tests/testcxx.cxx: | |
| 365 * tests/testcx2.cxx: | |
| 366 * tests/testcx4.cxx: | |
| 367 Avoid testing with NULL as a bad parameter when only NADR is | |
| 368 checked. (NADR does not cast to any-pointer in C++ so we don't | |
| 369 test it in these programs) Check for NADR various places as well | |
| 370 as NULL. | |
| 371 | |
| 372 * tests/test1.c (task1): | |
| 373 * tests/test2.c (task1): | |
| 374 * tests/test4.c (task1): | |
| 375 Avoid testing with NULL as a bad parameter when only NADR is | |
| 376 checked. Check for NADR various places as well as NULL, and test | |
| 377 NADR as a bad param as well as NULL. | |
| 378 | |
| 379 | |
| 380 Mon Aug 17 14:45:30 1998 Hugo Tyson <hmt@cygnus.co.uk> | |
| 381 | |
| 382 * include/uit_func.inl: | |
| 383 PR# 16536: Check for dormant tasks various places; E_OBJ | |
| 384 must be returned. All this error checking rather bloats the code, | |
| 385 unfortunately. | |
| 386 | |
| 387 * tests/testcxx.cxx: | |
| 388 * tests/test1.c: | |
| 389 Test the new checks above. | |
| 390 | |
| 391 Fri Aug 14 17:41:35 1998 Hugo Tyson <hmt@cygnus.co.uk> | |
| 392 | |
| 393 * include/uit_func.inl ([t]wai/pol_flg): | |
| 394 Check for zero in a wait-for-flag operation; such a wait can never | |
| 395 be awakened, and so should return E_PAR. | |
| 396 | |
| 397 * tests/testcx2.cxx (task1): | |
| 398 * tests/test2.c (task1): | |
| 399 Test the above new checking. | |
| 400 | |
| 401 Fri Jul 24 17:12:54 1998 Hugo Tyson <hmt@masala.cygnus.co.uk> | |
| 402 | |
| 403 PR#15865 | |
| 404 * include/uit_func.inl: return a bool (strictly 1 or 0) for wtsk | |
| 405 rather than -1 or zero as the spec implies. | |
| 406 ref_flg() ref_sem() only affected. | |
| 407 | |
| 408 Fri Jul 24 13:26:51 1998 Hugo Tyson <hmt@cygnus.co.uk> | |
| 409 | |
| 410 PR#16531 | |
| 411 * include/uit_func.inl: return E_OBJ when (force)resuming a | |
| 412 non-suspended task. | |
| 413 * tests/test1.c: test for that error code. | |
| 414 * tests/testcxx.cxx: test for that error code. | |
| 415 | |
| 416 Fri Jul 24 13:02:46 1998 Hugo Tyson <hmt@cygnus.co.uk> | |
| 417 | |
| 418 * Changelog: Initial ChangeLog entry. | |
| 419 | |
| 420 | |
| 421 //=========================================================================== | |
| 422 //####COPYRIGHTBEGIN#### | |
| 423 // | |
| 424 // ------------------------------------------- | |
| 425 // The contents of this file are subject to the Cygnus eCos Public License | |
| 426 // Version 1.0 (the "License"); you may not use this file except in | |
| 427 // compliance with the License. You may obtain a copy of the License at | |
| 428 // http://sourceware.cygnus.com/ecos | |
| 429 // | |
| 430 // Software distributed under the License is distributed on an "AS IS" | |
| 431 // basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the | |
| 432 // License for the specific language governing rights and limitations under | |
| 433 // the License. | |
| 434 // | |
| 435 // The Original Code is eCos - Embedded Cygnus Operating System, released | |
| 436 // September 30, 1998. | |
| 437 // | |
| 438 // The Initial Developer of the Original Code is Cygnus. Portions created | |
| 439 // by Cygnus are Copyright (C) 1998 Cygnus Solutions. All Rights Reserved. | |
| 440 // ------------------------------------------- | |
| 441 // | |
| 442 //####COPYRIGHTEND#### | |
| 443 //=========================================================================== |
