OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [rtos/] [ecos-3.0/] [packages/] [compat/] [uitron/] [current/] [ChangeLog] - Blame information for rev 851

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 786 skrzyp
2009-03-02  Nick Garnett  
2
 
3
        * tests/test2.c:
4
        * tests/test6.c:
5
        * tests/test7.c:
6
        * tests/testcx2.c:
7
        * tests/testcx6.c:
8
        * tests/testcx7.c: Modify tests to either not run, or avoid mbox
9
        functions if system is configured without strict conformance.
10
 
11
2009-02-09  Bart Veer  
12
 
13
        * cdl/tasks.cdl: clarify usage of CYGNUM_UITRON_TASKS, bug
14
        22913.
15
 
16
2006-10-12  Nick Garnett  
17
 
18
        * cdl/uitron.cdl: Add reqirement for UITRON conformant mailbox
19
        implementation to CYGIMP_UITRON_STRICT_CONFORMANCE.
20
 
21
2005-08-02  Andrew Lunn  
22
 
23
        * tests/test2.c (task1): Cast to fix compiler warning.
24
 
25
2003-02-24  Jonathan Larmour  
26
 
27
        * cdl/uitron.cdl: Update doc link.
28
 
29
2002-05-27  Jesper Skov  
30
 
31
        * cdl/uitron.cdl: Don't build C tests when C++ options selected.
32
 
33
2002-05-22  Nick Garnett  
34
 
35
        * doc/uitron.sgml: Fixed dangling xref.
36
 
37
2002-02-19  Mark Salter  
38
 
39
        * doc/uitron.sgml: Fixed typos and such.
40
 
41
2002-02-14  Hugo Tyson  
42
 
43
        * doc/uitron.sgml: General polishing... Tidied up broken emPHAsis
44
        on closing parentheses of function lists.  Reduced line length of
45
        same to fit real paper, I hope.  Added LITERAL tags all over
46
        config option mentions.
47
 
48
        New stuff... Added a whole new section "[u]ITRON Configuration
49
        FAQ" based on some email answers I have given in the past in
50
        support of customers.
51
 
52
2002-02-13  Hugo Tyson  
53
 
54
        * doc/uitron.sgml: NEW FILE: Make id tags qualified with
55
        compat-uitron- and add a couple of tags; tidy up formatting of
56
        some function listings; correct comment on using functions in your
57
        own DSRs and ISRs.
58
 
59
2002-01-24  Jesper Skov  
60
 
61
        * include/uit_func.inl (ena_int, dis_int): Wrap
62
        HAL_MASK_INTERRUPT/HAL_UNMASK_INTERRUPT in interrupt
63
        disable/restore pairs.
64
        * tests/testintr.cxx (detach_isr, attach_isr): Change order of
65
        mask/unmask and disable/restore.
66
 
67
2001-04-30  Jonathan Larmour  
68
 
69
        * src/uit_objs.cxx: Workaround xscale tools preprocessor bug
70
        by avoiding determining the stack size with the preprocessor.
71
        * cdl/tasks.cdl (CYGDAT_UITRON_TASK_EXTERNS and
72
        CYGDAT_UITRON_TASK_INITIALISERS): Ditto
73
 
74
2001-04-21  Bart Veer  
75
 
76
        * tests/testintr.cxx (task1):
77
        Disable one of the tests on the synthetic target, it requires
78
        consistent cpu timing that cannot be guaranteed.
79
 
80
2000-11-01  Jesper Skov  
81
 
82
        * include/uit_func.inl: CYG_SCHED_UNIQUE_PRIORITIES changed to
83
        CYGINT_KERNEL_SCHEDULER_UNIQUE_PRIORITIES
84
 
85
2000-09-13  Jonathan Larmour  
86
 
87
        * include/uit_objs.hxx (CYG_UITRON_OBJS_INIT_PRIORITY): Define
88
        with correct priority now.
89
 
90
2000-08-03  Jonathan Larmour  
91
 
92
        * include/uit_func.inl (ref_mpf): Compute used blocks from
93
        bytes used / blocks size rather than now obsolete blockcount member
94
 
95
2000-07-04  Jonathan Larmour  
96
 
97
        * include/uit_func.inl: Update all memory pool related functions to
98
        reflect the new interface to memory pools, and that they come from
99
        the new CYGPKG_MEMALLOC package
100
 
101
        * cdl/uitron.cdl: CYGPKG_UITRON_MEMPOOLFIXED and
102
        CYGPKG_UITRON_MEMPOOLVAR require the CYGPKG_MEMALLOC package
103
 
104
        * include/uit_objs.hxx: Update includes - memory pool implementations
105
        are now in CYGPKG_MEMALLOC
106
 
107
2000-06-15  Gary Thomas  
108
 
109
        * include/uit_ifnc.h (CYGPRI_UITRON_SET_RETCODE): Always return
110
        'HANDLED'.  This fixes some confusion when interrupt chaining.
111
 
112
2000-05-15  Hugo Tyson  
113
 
114
        * include/uit_ifnc.h (cyg_uitron_dsr): make this be extern "C"
115
        always; it went wrong when uitron funcs are inline or C++.
116
 
117
        * src/uit_ifnc.cxx (CYGIMP_UITRON_INLINE_FUNCS): When [re]defining
118
        this, match what CDL defined.  Warnings--;
119
 
120
2000-05-08  Jesper Skov  
121
 
122
        * tests/testintr.cxx (attach_isr, detach_isr): Don't check for
123
        clean vector after a detach when chaining is enabled.
124
 
125
2000-03-28  Jesper Skov  
126
 
127
        * tests/testintr.cxx: Synchronize with clock before making timer
128
        measurement.
129
 
130
2000-03-28  John Dallaway  
131
 
132
        * cdl/uitron.cdl:
133
 
134
        Adjust documentation URLs.
135
 
136
2000-03-22  Jesper Skov  
137
 
138
        * include/uit_ifnc.h (ret_int): Fix compiler warning.
139
 
140
2000-03-13  Jesper Skov  
141
 
142
        * tests/testintr.cxx: Don't try to disable clock on PowerPC.
143
 
144
2000-03-03  Hugo Tyson  
145
 
146
        * tests/testintr.cxx (task1): Only test ena_int() and dis_int()
147
        for E_PAR if CYGSEM_UITRON_BAD_PARAMS_RETURN_ERRORS.
148
 
149
2000-02-28  Hugo Tyson  
150
 
151
        * include/uit_func.h: add ena_int() and dis_int().
152
 
153
        * include/uit_func.inl (dis_int): New function added.
154
        (ena_int): New function added.
155
 
156
        * tests/testintr.cxx (task1): Add a test of ena_int() and
157
        dis_int(); easiest done here because we have an interrupt number -
158
        for the clock - in our hands here already for the rest of the
159
        test.
160
 
161
2000-02-02  Jesper Skov  
162
 
163
        * tests/testintr.cxx: Don't output DELAYLOCKSCHED quite so often
164
        on synthetic target.
165
 
166
2000-01-31  Hugo Tyson  
167
 
168
        * tests/testintr.cxx (CHECK_TID): Test that get_tid() returns 0 in
169
        ISR context ie. non-task portion.
170
 
171
        * include/uit_func.inl (get_tid): Check the sched lock for
172
        non-task portions, ie. ISR/DSR will have the scheduler locked.
173
 
174
2000-01-31 Simon FitzMaurice  
175
  * compat/uitron/current/cdl/uitron.cdl
176
 
177
  Adjust help URLs in line with new doc layout.
178
 
179
2000-01-28 Simon FitzMaurice  
180
  * compat/uitron/current/cdl/uitron.cdl
181
 
182
  Adjust help URLs in line with new doc layout.
183
 
184
2000-01-28  Jonathan Larmour  
185
 
186
        * tests/testintr.cxx (DELAYLOCKSCHED): When in long testing loops,
187
        occasionally output a message to show the test is still alive
188
 
189
2000-01-26  Hugo Tyson  
190
 
191
        * include/pkgconf/uitron.h: Add new option
192
        CYGSEM_UITRON_TIME_IS_MILLISECONDS to control just what it says.
193
 
194
        * include/uit_func.inl (CYG_UITRON_TIME_UIT_TO_SYS32): et al; new
195
        macros optionally to convert to/from milliSeconds if option
196
        CYGSEM_UITRON_TIME_IS_MILLISECONDS is set.
197
 
198
        * src/uit_func.cxx: Initialize Cyg_Clock::converter type objects
199
        if the time unit is set to milliSeconds.
200
 
201
        * cdl/uitron.cdl: Add new option
202
        CYGSEM_UITRON_TIME_IS_MILLISECONDS to control just what it says.
203
 
204
        Add an include of the kernel config file to the generated
205
        pkgconf/uitron.h: tests at the very least need it!  This is a
206
        correct thing to do because the kernel config defines a lot of the
207
        semantics of the uITRON layer, as well as being needed for
208
        backward compatibility.
209
 
210
        Also add uit_ifnc.cxx to the files that need compiling.  Due to
211
        the previous screwup, no testing has been applied to the uITRON
212
        system under CDL, because it thought the kernel was absent, so
213
        this had not been detected.  Doh.
214
 
215
2000-01-25  Jesper Skov  
216
 
217
        * tests/testintr.cxx (cyg_start): externC addded.
218
 
219
2000-01-19  Hugo Tyson  
220
 
221
        * cdl/*.cdl: Add descriptions to a number of options &c which were
222
        lacking same, also tidied up other typos as noticed en passant.
223
 
224
1999-11-09  Jonathan Larmour  
225
 
226
        * src/uit_objs.cxx: Make the stack size failsafe be tested against
227
        the minimum stack size, not the typical one.
228
 
229
1999-11-03  John Dallaway  
230
 
231
        * cdl/uitron.cdl: Define tests.
232
 
233
1999-10-07  John Dallaway  
234
 
235
        * cdl/uitron.cdl: Specify radio buttons using CDL interfaces.
236
 
237
1999-09-06  Jonathan Larmour  
238
 
239
        * include/uit_objs.hxx (CYG_UITRON_OBJS_INIT_PRIORITY): Revert the
240
        below change - we may still be shipping antiquated compilers to
241
        customers. Sigh.
242
 
243
1999-09-02  Hugo Tyson  
244
 
245
        * include/uit_objs.hxx (CYG_UITRON_OBJS_INIT_PRIORITY): Enable
246
        using init priority on uitron objects, now that the compilers all
247
        support it fully.  AFAI can tell from a quite broad experiment.
248
 
249
1999-09-01  Hugo Tyson  
250
 
251
        * tests/testintr.cxx (attach_isr): Make it all work: my chosen
252
        default interrupt "level" of 0 means make no interrupts on the
253
        tx39 ;-( oh well.  Made the whole test simulator-friendly ie. much
254
        shorter, made the output more friendly to me.
255
 
256
1999-08-26  Hugo Tyson  
257
 
258
        * cdl/uitron.cdl (CYGNUM_UITRON_ISR_ACTION_QUEUESIZE): add a
259
        "default_value 32" - ooops.
260
 
261
1999-08-26  Hugo Tyson  
262
 
263
        * cdl/uitron.cdl: Add configury for lovely new interrupt-safe
264
        functions: just "try immediate execution" [is the sched lock one?]
265
        and queue size.
266
 
267
        * include/pkgconf/uitron.h: Add configury for lovely new
268
        interrupt-safe functions: just "try immediate execution" [ie. if
269
        the sched lock is one] and queue size.
270
 
271
        * include/uit_ifnc.inl: Respond to general configury wrt the
272
        presence of semas, flags, mboxes: only define the ixxx_yyy()
273
        function if the corresponding xxx_yyy() func exists.  Remove the
274
        static definitions of the configuration symbols.
275
 
276
        * src/uit_ifnc.cxx: Respond to general configury wrt the presence
277
        of semas, flags, mboxes: the functions called may not exist!
278
 
279
1999-08-25  Hugo Tyson  
280
 
281
        * include/uit_ifnc.h: New file.  Prototypes of interrupt-safe
282
        ixxx_yyy() style functions as a porting/backwards-compatibility
283
        aid.  Prototype of a suitable DSR to mate with an ISR that uses
284
        them too.
285
 
286
        * include/uit_ifnc.inl: New file.  Bodies for possible inlining of
287
        the ixxx_yyy() style functions; organized much like the standard
288
        uITRON functions.
289
 
290
        * src/uit_ifnc.cxx: New file.  Implementation of the DSR provided,
291
        plus concrete instantiations of the ixxx_yyy() style functions.
292
 
293
        * tests/testintr.cxx: New file.  Test for the ixxx_yyy() functions
294
        newly provided above.  Rather unpleasant: it is necessary to break
295
        type-safety to get access to the kernel's interrupt object that
296
        drives the realtime clock.  Perhaps a neater way will follow.
297
 
298
        * tests/PKGconf.mak (TESTS): Add new testcase testintr.cxx
299
        * src/PKGconf.mak (COMPILE): Add new source file uit_ifnc.cxx
300
 
301
1999-08-17  John Dallaway  
302
 
303
        * cdl/uitron.cdl: Implement radio buttons using
304
        "FIXME radio" hack in description field for now.
305
 
306
1999-07-30  John Dallaway  
307
 
308
        * cdl/uitron.cdl: Tidy display string capitalisation.
309
 
310
1999-05-26  Jesper Skov  
311
 
312
        * tests/testcx7.cxx: Include new stackmon header.
313
 
314
1999-05-20  Hugo Tyson  
315
 
316
        * tests/testcx7.cxx (task1): Add some statistics dumping about
317
        stack usage; since this is quite a long and arduous test.  This
318
        just helps en passant with testing the interrupt stack work that's
319
        been happening recently.  C++ only, so not for test7.
320
 
321
1999-05-17  Hugo Tyson  
322
 
323
        * include/uit_func.inl (ter_tsk): Only up the priority of the
324
        killee if priorities are not unique or we are not already
325
        elevated.  This is to prevent asserts with the bitmap scheduler.
326
        (chg_pri): Support a level X feature, pri zero => reset to the
327
        thread's initial priority.
328
 
329
1999-05-14  Hugo Tyson  
330
 
331
        * include/uit_objs.hxx: object array declaration macro now
332
        contains constructor priority ordering rune; if 0'd out pending
333
        99r1 compiler cutover.
334
 
335
1999-04-23  Hugo Tyson  
336
 
337
        * tests/testcx7.cxx: T2_MALLOC definition; only make it smaller
338
        than the main consumer malloc if coaleasing is enabled, otherwise
339
        the mempool cannot allocate blocks for the consumer for next time.
340
        Fixes PR 18817 - only a random perm disable coalescence.
341
 
342
        * tests/test7.c: Ditto.
343
 
344
1999-04-15  John Dallaway  
345
 
346
        * include/pkgconf/uitron.h: Tidy display string capitalization.
347
 
348
1999-04-09  Hugo Tyson  
349
 
350
        * include/uit_func.inl (dis_dsp): Remove bad old code which used
351
        to lock the scheduler to implement dis_dsp() and ena_dsp() - which
352
        also stopped the clock, for example.  Instead change the calling
353
        thread's priority to 0 internally so that it cannot be preempted
354
        by uITRON threads at least, whose priorities are 1--N.  Same
355
        applies to loc/unl_cpu().  Save the "real" priority in a static,
356
        and take notice of it everywhere relevant, such as thread and
357
        system state inquiries, changing (our own) priority, checking for
358
        dispatch enabled in sleeping calls, and so on.
359
 
360
        * src/uit_func.cxx: New variable cyg_uitron_dis_dsp_old_priority
361
        for holding the "real" priority of a thread whilst we change our
362
        priority to zero (the highest) to prevent dispatching in dis_dsp()
363
        or loc_cpu().
364
 
365
        * include/uit_func.inl (get_tid): Return 0 for the task id if not
366
        in a uITRON thread, this is better conformance to the spec.
367
 
368
1999-03-22  Hugo Tyson  
369
 
370
        * src/uit_objs.cxx:
371
        Use CYGNUM_HAL_STACK_SIZE_TYPICAL for the stack size instead of
372
        CYGNUM_HAL_MINIMUM_STACK_SIZE.
373
 
374
1999-02-23  Jonathan Larmour  
375
 
376
        * tests/test1.c, tests/test2.c, tests/test3.c, tests/test4.c,
377
          tests/test5.c, tests/test6.c, tests/test7.c, tests/test8.c,
378
          tests/test9.c, tests/testcxx.cxx, tests/testcx2.cxx,
379
          tests/testcx3.cxx, tests/testcx4.cxx, tests/testcx5.cxx,
380
          tests/testcx6.cxx, tests/testcx7.cxx, tests/testcx8.cxx,
381
          tests/testcx9.cxx:
382
        Change all non-applicable cases to use CYG_TEST_NA rather than
383
        CYG_TEST_PASS/CYG_TEST_EXIT
384
 
385
1999-02-22  Hugo Tyson  
386
 
387
        * src/uit_objs.cxx: Eeeek!  Previous fix was bogus: the override
388
        was too late in the file to take effect.  The declaration of the
389
        objects (including stacks) is moved to below the override CPP
390
        runes.
391
 
392
1999-02-12  Hugo Tyson  
393
 
394
        * src/uit_objs.cxx (CYG_UITRON_DECL):
395
        Override CYGNUM_UITRON_STACK_SIZE if CYGNUM_HAL_MINIMUM_STACK_SIZE
396
        demands it.
397
 
398
        * include/pkgconf/uitron.h (CYGNUM_UITRON_STACK_SIZE):
399
        Document that this option can be overridden by HALs demands.
400
 
401
1999-02-02  Jesper Skov  
402
        PR 18968
403
        * tests/test2.c (task1):
404
        * tests/testcx2.cxx (task1):
405
        Reduce run time on SIM.
406
 
407
1999-01-26  Jesper Skov  
408
        PR 18788
409
        * tests/test4.c (task1):
410
        * tests/testcx4.cxx (task1):
411
        Extend timeouts when running on HW to avoid failures due to
412
        overhead of GDB interaction.
413
 
414
1999-01-25  Jesper Skov  
415
        PR 18576
416
        * include/pkgconf/uitron.h (CYGDAT_UITRON_SEMA_INITIALIZERS):
417
        Let default initializers have values that don't cause tests to
418
        fail.
419
 
420
1998-11-25  Hugo Tyson  
421
 
422
        * include/uit_func.inl (del_xxx &c):
423
        Make error returns more consistent; E_NOEXS rather than E_OBJ if
424
        the object disappeared during a race.
425
 
426
1998-11-19  Hugo Tyson  
427
 
428
        * src/uit_func.cxx (SET_UP_PTRS):
429
        PR 17999; work around codegen bug on tx39 with -Os.
430
        The code is better with the fix regardless, so it's got no
431
        downside.  Explicitly condition whether to run a follow-on loop
432
        rather than letting the for-loop sort it out itself.
433
 
434
1998-11-16  Hugo Tyson  
435
 
436
        * tests/testcx7.cxx (check_waitstate):
437
        Add a routine to check the reported waiting state of the synch
438
        object in question, and call it as necessary.  This only added to
439
        the C++ version of the test for enhanced coverage, in case the
440
        enquiry call perturbs the object state; having both versions
441
        present is better.  This checks a very recent fix to
442
        kernel...thread.cxx (1998-10-27).
443
 
444
1998-10-21  Hugo Tyson  
445
 
446
        * src/uit_func.cxx:
447
        Provide weakly named dummies for task[1-4], which are the defaults
448
        referred to by the task array, so that the uITRON system can be
449
        initialized even when no uITRON tasks have been provided (so long
450
        as no other changes to the task init configury have been made)
451
        This does not pollute the namespace, for these are weak symbols.
452
        Changing them to cyg_uitron_task... would be possible, but it
453
        carries the false implication that those are cygnus names, when
454
        they are really entirely up to the user.
455
 
456
        * tests/test[123456789].c:
457
        * tests/testcxx.cxx:
458
        * tests/testcx[23456789].cxx:
459
        Undo the previous change: remove dummies for task[1-4] when we
460
        decide not to test anything, they will be provided with weak names
461
        regardles in src/uit_func.cxx.
462
 
463
1998-10-20  Hugo Tyson  
464
 
465
        * tests/test[123456789].c:
466
        * tests/testcxx.cxx:
467
        * tests/testcx[23456789].cxx:
468
        Provide dummies for task[1-4] when we decide not to test anything,
469
        to encourage correct linking.
470
 
471
1998-10-16  Hugo Tyson  
472
 
473
        * tests/testcx*.cxx (cyg_start):
474
        [all the C++ tests]
475
        changed cyg_start to externC so that it truly does override the
476
        default one; this is needed for handling the "I cannot test in
477
        this configuration" failures.  Of course the C ones were C to
478
        start with.
479
 
480
1998-10-16  Hugo Tyson  
481
 
482
        * tests/test[123456789].c:
483
        * tests/testcxx.cxx:
484
        * tests/testcx[23456789].cxx:
485
        All tests are now much more self-configuring wrt turning off
486
        if there are no uITRON objects of the right type to manipulate.
487
        The huge (50-line) #if statement is arranged the way it is so that
488
        clauses checking on each feature can be pasted in and out easily.
489
        So yes, the "&& 1" at the end has a purpose.
490
 
491
        Here for the record is a table of feature versus test-used-in:
492
        tsk  :: 1 2 3 4 5 6 7 8 9
493
        sem  ::   2 3   5 6 7 8
494
        flg  ::   2     5 6 7
495
        mbx  ::   2     5 6 7
496
        mpl  ::   2     5   7   9
497
        mpf  ::   2     5   7   9
498
        alm  ::       4
499
        cyc  ::       4
500
 
501
 
502
1998-10-16  Hugo Tyson  
503
 
504
        * tests/test9.c:
505
        * tests/testcx9.cxx:
506
        New tests, test create and delete of memory pools
507
 
508
1998-10-15  Hugo Tyson  
509
 
510
        * include/pkgconf/uitron.h:
511
        Add configury for create/delete of memory pools.
512
        Tidy up naming of initializer macros to use for non-existent
513
        (initially) uITRON objects.
514
        Improve comments in CDL-- info fields.
515
 
516
        * include/uit_func.h:
517
        Add prototypes for cre/del_mpf/mpl().
518
 
519
        * include/uit_func.inl:
520
        Implement cre/del_mpf/mpl().
521
 
522
        * src/uit_objs.cxx:
523
        Support CYG_UIT_MEMPOOLFIXED_NOEXS/CYG_UIT_MEMPOOLVAR_NOEXS(...)
524
        mempool construction macros for non-existent (initially) mempools.
525
        Rename _NONE construction macros to _NOEXS which will make a lot
526
        more sense to uITRON folks.
527
 
528
1998-10-14  Hugo Tyson  
529
 
530
        * include/pkgconf/uitron.h:
531
        Add configury for create/delete of tasks.
532
 
533
        * include/uit_func.h:
534
        Add prototypes for cre/del_tsk(); correct comment in exd_tsk().
535
 
536
        * include/uit_func.inl:
537
        Implement cre/del_tsk() and complete exd_tsk().
538
        Improve NULL/NADR checking on other cre/del calls.
539
 
540
        * src/uit_func.cxx (cyg_uitron_start):
541
        Deal better with start tasks stuff, for task create/delete.
542
 
543
        * src/uit_objs.cxx:
544
        Support CYG_UIT_TASK_NONE(...) task constructor for those tasks
545
        which do not initially exist
546
 
547
        * tests/PKGconf.mak:
548
        Add new tests test8.c, testcx[678].cxx to the build.
549
 
550
        * tests/test6.c:
551
        Tidy comments, untabify.
552
 
553
        * tests/test7.c:
554
        Tidy comments, untabify, test creation with NADR record pointer.
555
        No impact from the new cre/del_tsk() functionality on test7, since
556
        a task may only be deleted when it is dormant, so deletion is NOT
557
        another way out of a waiting state.
558
 
559
        * tests/test8.c:
560
        New test, tests cre_tsk() and del_tsk() and exd_tsk() ie. the
561
        creation and deletion of tasks.
562
 
563
        * tests/testcx6.cxx:
564
        * tests/testcx7.cxx:
565
        * tests/testcx8.cxx:
566
        New tests, C++ versions of tests 6, 7, and 8.
567
 
568
1998-10-09  Hugo Tyson  
569
 
570
        * tests/test7.c:
571
        Test interactions with deleting objects (as applicable) and
572
        killing, signalling and the like.  Also test killing the task
573
        after other treatments more generically.
574
 
575
        * tests/test6.c (task1):
576
        Change "N/A:" to "N/A" in the exit message when we didn't actually
577
        do any testing due to create/delete being disabled for all object
578
        types.
579
 
580
1998-10-08  Hugo Tyson  
581
 
582
        In general, these changes are to support create/delete of uITRON
583
        objects; this requires that an object can be destroyed whilst
584
        there are threads waiting on it, and that they shall be awoken
585
        with a specific return code E_DLT.  The implementation uses an
586
        array of pointers in addition to the array of objects: ptrs[N]
587
        should either be NULL or &objs[N] in this version.  That
588
        restriction is not checked, in order that in future, true dynamic
589
        allocation can be used, and ptrs[N] could point anywhere.  The
590
        implications of this are mainly in the area of getting the
591
        addresses of objects, via the ptr array or from the object array?
592
        The config of whether there is a ptr array is per object type.
593
 
594
        * include/pkgconf/uitron.h:
595
        Configury of the existence or not of create/delete for object
596
        type: initially only SEMAS, MBOXES, FLAGS.
597
        Configury of the number of objects created initially, if cre/del
598
        are enabled.
599
 
600
        * tests/test6.c:
601
        * tests/test7.c:
602
        * tests/PKGconf.mak:
603
        Two new test programs (duh!): test6 tests create and delete of
604
        SEMAS, MBOXES, FLAGS explicitly, for bad params handling, ability
605
        to use after deletion and recreation &c &c.  test7 tests the
606
        semantics of sleeping on some synchronization primitive, permed
607
        with suspension, signalling, killing, releasing and so forth.
608
        Both will migrate into C++ versions also in future.
609
 
610
        * include/uit_func.h:
611
        Enable cre/del_{mbx,flg,sem} prototypes.
612
 
613
        * include/uit_func.inl:
614
        Implement cre/del_{mbx,flg,sem} depending on configury, and handle
615
        the pointer arrays generally in other client routines.
616
 
617
        * include/uit_objs.hxx:
618
        Define the pointer arrays for access to created objects.
619
 
620
        * include/uit_type.h:
621
        Enable definitions of the structures used in create calls.
622
 
623
        * src/uit_func.cxx:
624
        Initialization code for the pointer arrays, akin to the task
625
        startup code.
626
 
627
        * src/uit_objs.cxx:
628
        Instantiate the pointer arrays themselves.
629
 
630
 
631
1998-09-25  Bart Veer  
632
 
633
        * include/pkgconf/uitron.h:
634
        PR 17482: added #ifdef protection. If CYGPKG_UITRON_MEMPOOLFIXED
635
        is not defined then the contained option
636
        CYGNUM_UITRON_MEMPOOLFIXED may not be defined either. Ditto for
637
        CYGNUM_UITRON_MEMPOOLVAR which suffers from the same problem.
638
        And ditto for CYGPKG_UITRON_SEMAS
639
 
640
1998-09-20  Mark Galassi  
641
 
642
        * include/pkgconf/uitron.h: added one or two CDL doc strings.
643
 
644
Tue Sep 15 19:12:28 1998  David Moore  
645
 
646
        * include/pkgconf/uitron.h: Cleaned up comments.
647
 
648
1998-09-12  Mark Galassi  
649
small changes to the descriptive information in the uITRON CDL
650
 
651
1998-09-12  Mark Galassi  
652
 
653
        * include/pkgconf/uitron.h: small editing of the description
654
        fields: renamed things like  to NAME, so that it does not
655
        confuse SGML when incorporated into the documentation.
656
        Also added various "doc" fields to the CFG_DATA comments.
657
 
658
Wed Sep  9 18:36:15 1998  Hugo Tyson  
659
 
660
        * include/uit_func.inl:
661
        * include/uit_objs.hxx:
662
        * src/uit_objs.cxx:
663
        Condition features on CYGPKG_UITRON_SEMAS [for example] as well as
664
 
665
        compilation with no semas enabled.  Ditto for flags, mboxes,
666
        mempools fixed and variable, alarms and cyclics.
667
 
668
        * include/pkgconf/uitron.h:
669
        Add a couple of requires statements from cyclics and alarms on the
670
        kernel clock.
671
        Also change some grammar after review.
672
        Add an option (actually a pair, makes it better documentation IMO)
673
        to require strict semantics from the kernel setup.
674
        Add an option to control the optional sema initializer; it was
675
        omitted since the editor way of configury used a #if 0.
676
 
677
Fri Sep  4 17:54:29 1998  Hugo Tyson  
678
 
679
        * include/pkgconf/uitron.h:
680
        Remove redundant and now unnecessary defs of CYGPKG_UITRON.
681
 
682
Wed Sep  2 19:06:17 1998  Hugo Tyson  
683
 
684
        * include/uit_func.inl:
685
        Memory pools and message boxes and flags
686
        and cnt_sem2-type semaphores now all have absolute timeouts
687
        instead of relative ones in the timely wait functions.
688
        We add in the current time here first.
689
 
690
Wed Sep  2 16:45:40 1998  Hugo Tyson  
691
 
692
        * include/pkgconf/uitron.h (CYGDAT_UITRON_TASK_INITIALIZERS):
693
        Use the new kernel thread initializer with priority and thread
694
        name in it.
695
 
696
        * include/uit_func.inl:
697
        * include/uit_objs.hxx:
698
        * src/uit_func.cxx (cyg_uitron_start):
699
        * src/uit_objs.cxx:
700
        Our tasks are now Cyg_Threads rather than a derived class.
701
        Original priorities of tasks are held in an array.  An accessor
702
        macro is used for the off-by-one nature of uitron IDs.  The array
703
        of original priorities is set up in cyg_uitron_start(), and
704
        created in uit_objs.cxx.
705
 
706
Wed Sep  2 15:15:26 1998  Hugo Tyson  
707
 
708
        * include/pkgconf/uitron.h:
709
        Comment more strongly in the 'description' that the number of
710
        initializers better match the number of things specified.
711
 
712
Tue Sep  1 19:00:02 1998  Hugo Tyson  
713
 
714
        * include/uit_objs.hxx:
715
        Do not include ; it is deprecated.
716
        Instead, include only kernel headers that are needed.
717
 
718
        * include/uit_func.inl (ref_sys):
719
        Use new kernel function Cyg_Interrupt::interrupts_enabled()
720
        instead of a state variable.  Tidy up associated code.
721
        Include kernel headers that are needed because they were not
722
        included in uit_objs.hxx for tidiness.
723
 
724
        * src/uit_func.cxx:
725
        Elide state variable that used to be used for tracking interrupt
726
        enabledness state.
727
 
728
        * tests/testcx5.cxx (task1):
729
        * tests/test5.c (task1):
730
        Test interrupt enable and disable stuff, and status reporting.
731
 
732
Tue Sep  1 15:12:29 1998  Hugo Tyson  
733
 
734
        * include/uit_func.inl (ref_mpf):
735
        Change comment "ECC" to "eCos".
736
 
737
1998-08-28  Bart Veer  
738
 
739
        * include/uit_func.inl:
740
        * tests/test1.c, tests/test2.c, tests/test3.c, tests/test4.c,
741
        tests/test5.c, tests/testcxx.cxx, tests/testcx2.cxx,
742
        tests/testcx3.cxx, tests/testcx4.cxx, tests/testcx5.cxx:
743
 
744
        Updated for new kernel configuration option symbol names
745
 
746
 
747
Fri Aug 28 09:21:55 1998  Jonathan Larmour  
748
 
749
        * src/uit_func.cxx (cyg_uitron_start):
750
        Remove call to Cyg_Scheduler::start() and adjust comments to
751
        explain where to call it from
752
 
753
        * tests/test1.c, tests/test2.c, tests/test3.c, tests/test4.c,
754
          tests/test5.c, tests/testcxx.cxx, tests/testcx2.cxx,
755
          tests/testcx3.cxx, tests/testcx4.cxx, tests/testcx5.cxx:
756
        Change the normal entry point at the top to be cyg_package_start()
757
        under the new startup scheme. This overrides the default package
758
        configuration and ensure cyg_uitron_start() gets called.
759
        Change the "default" entry point at the bottom (when the test is
760
        N/A for some reason) to cyg_start() under the new startup scheme.
761
 
762
Wed Aug 26 18:20:47 1998  Hugo Tyson  
763
 
764
        * include/pkgconf/uitron.h:
765
        Initial version of cdl control statements for config options.
766
        All very groovy, and looking good IMO.
767
        A few FIX-MEs remain, no big deal.
768
 
769
Mon Aug 24 19:05:52 1998  Hugo Tyson  
770
 
771
        * include/pkgconf/uitron.h:
772
        Change the names of config options to helpful, positive sense, and
773
        tidy some of the names for inclusion in the GUI tool.  Clean up
774
        the namespace too.
775
 
776
        * include/uit_func.h:
777
        * include/uit_func.inl:
778
        * src/uit_func.cxx:
779
        * src/uit_objs.cxx:
780
        Configure according to new option names and object construction
781
        macros.  Simple changes but widespread.
782
 
783
        * tests/test[12345].c:
784
        * tests/testcx[x2345].cxx:
785
        Configure according to new option names.
786
        Make it main( void ) to avoid a warning.
787
 
788
Fri Aug 21 18:45:16 1998  Hugo Tyson  
789
 
790
        * tests/testcx4.cxx (task1):
791
        * tests/test4.c (task1):
792
        * include/uit_func.inl (def_alm):
793
        Tidy the alarm and timer funcs in the course of fixing a kernel
794
        bug actually.  Test the functionality affected by the kernel
795
        change a bit more.
796
 
797
Thu Aug 20 14:33:36 1998  Hugo Tyson  
798
 
799
        * include/uit_func.inl (ref_alm):
800
        Elide an unused variable following the previous change.
801
 
802
Mon Aug 17 15:45:07 1998  Hugo Tyson  
803
 
804
        * include/pkgconf/uitron.h:
805
        Add the config option CYGSEM_UITRON_PARAMS_CHECK_NADR_ONLY.
806
 
807
        * tests/testcxx.cxx:
808
        * tests/testcx2.cxx:
809
        * tests/testcx4.cxx:
810
        Avoid testing with NULL as a bad parameter when only NADR is
811
        checked.  (NADR does not cast to any-pointer in C++ so we don't
812
        test it in these programs)  Check for NADR various places as well
813
        as NULL.
814
 
815
        * tests/test1.c (task1):
816
        * tests/test2.c (task1):
817
        * tests/test4.c (task1):
818
        Avoid testing with NULL as a bad parameter when only NADR is
819
        checked.  Check for NADR various places as well as NULL, and test
820
        NADR as a bad param as well as NULL.
821
 
822
 
823
Mon Aug 17 14:45:30 1998  Hugo Tyson  
824
 
825
        * include/uit_func.inl:
826
        PR# 16536: Check for dormant tasks various places; E_OBJ
827
        must be returned.  All this error checking rather bloats the code,
828
        unfortunately.
829
 
830
        * tests/testcxx.cxx:
831
        * tests/test1.c:
832
        Test the new checks above.
833
 
834
Fri Aug 14 17:41:35 1998  Hugo Tyson  
835
 
836
        * include/uit_func.inl ([t]wai/pol_flg):
837
        Check for zero in a wait-for-flag operation; such a wait can never
838
        be awakened, and so should return E_PAR.
839
 
840
        * tests/testcx2.cxx (task1):
841
        * tests/test2.c (task1):
842
        Test the above new checking.
843
 
844
Fri Jul 24 17:12:54 1998  Hugo Tyson  
845
 
846
        PR#15865
847
        * include/uit_func.inl: return a bool (strictly 1 or 0) for wtsk
848
        rather than -1 or zero as the spec implies.
849
        ref_flg() ref_sem() only affected.
850
 
851
Fri Jul 24 13:26:51 1998  Hugo Tyson  
852
 
853
        PR#16531
854
        * include/uit_func.inl: return E_OBJ when (force)resuming a
855
        non-suspended task.
856
        * tests/test1.c: test for that error code.
857
        * tests/testcxx.cxx: test for that error code.
858
 
859
Fri Jul 24 13:02:46 1998  Hugo Tyson  
860
 
861
        * Changelog: Initial ChangeLog entry.
862
 
863
 
864
//===========================================================================
865
// ####GPLCOPYRIGHTBEGIN####
866
// -------------------------------------------
867
// This file is part of eCos, the Embedded Configurable Operating System.
868
// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2006 Free Software Foundation, Inc.
869
//
870
// This program is free software; you can redistribute it and/or modify
871
// it under the terms of the GNU General Public License as published by
872
// the Free Software Foundation; either version 2 or (at your option) any
873
// later version.
874
//
875
// This program is distributed in the hope that it will be useful, but
876
// WITHOUT ANY WARRANTY; without even the implied warranty of
877
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
878
// General Public License for more details.
879
//
880
// You should have received a copy of the GNU General Public License
881
// along with this program; if not, write to the
882
// Free Software Foundation, Inc., 51 Franklin Street,
883
// Fifth Floor, Boston, MA  02110-1301, USA.
884
// -------------------------------------------
885
// ####GPLCOPYRIGHTEND####
886
//===========================================================================

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.