source: rtems/cpukit/score/ChangeLog @ 1292ba4

4.104.114.84.95
Last change on this file since 1292ba4 was a2e4e49, checked in by Ralf Corsepius <ralf.corsepius@…>, on 12/12/02 at 18:20:27

2002-12-12 Ralf Corsepius <corsepiu@…>

Makefile.am: Don't create $ARCH.

  • Property mode set to 100644
File size: 18.6 KB
Line 
12002-12-12      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
2
3        Makefile.am: Don't create $ARCH.
4
52002-12-09      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
6
7        Makefile.am: Fix macro-file installation.
8
92002-12-09      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
10
11        Makefile.am: Move include/rtems/score/cpuopts.h to STD_H_FILES.
12
132002-12-09      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
14
15        * include/Makefile.am: Remove.
16        * inline/Makefile.am: Remove.
17        * macros/Makefile.am: Remove.
18        * src/Makefile.am: Remove.
19        * Makefile.am: Merge-in removed Makefile.ams.
20
212002-12-02      Joel Sherrill <joel@OARcorp.com>
22
23        * include/rtems/score/object.h, include/rtems/score/tod.h:
24        Added casts to eliminate warnings on 16 bit targets like the h8300.
25
262002-11-14      Joel Sherrill <joel@OARcorp.com>
27
28        * macros/rtems/score/object.inl: Keep consistent with inline version.
29
302002-10-31      Joel Sherrill <joel@OARcorp.com>
31
32        * src/heapgetinfo.c: Fixed comment.
33        * src/mpci.c: Removed warning.
34
352002-10-28      Joel Sherrill <joel@OARcorp.com>
36
37        * src/threadhandler.c: Prototype _init() and _main() if they are needed
38        to avoid a warning.
39
402002-08-14      Joel Sherrill <joel@OARcorp.com>
41
42        * macros/rtems/score/coremsg.inl: Add <string.h> to remove warning.
43        * src/threadidlebody.c: Add return 0 to avoid warning.
44
452002-08-07      Chris Johns <ccj@acm.org>
46
47        * src/coretodset.c: Correct calculation of ticks until next section
48        boundary.  It was incorrectly based upon current time not the
49        time that is being set.
50
512002-07-31      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
52
53        * src/Makefile.am: Build into libscore.a.
54
552002-07-22      Joel Sherrill <joel@OARcorp.com>
56
57        * include/rtems/score/apimutex.h (_API_Mutex_Lock): Per PR253
58        add the missing _ISR_Disable.  This fix was already applied to
59        the old location (c/src/exec/score/...).
60
612002-07-22      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
62
63        * src/Makefile.am: Use .$(OBJEXT) instead of .o.
64
652002-07-16      Joel Sherrill <joel@OARcorp.com>
66
67        * macros/rtems/score/object.inl: Corrected typos in
68        _Objects_Open, _Objects_Close, and _Objects_Namespace_remove.
69
702002-07-05      Joel Sherrill <joel@OARcorp.com>
71
72        * macros/rtems/score/object.inl: Corrected implementation of
73        _Objects_Open, _Objects_Close, and _Objects_Namespace_remove
74        to be consistent with the inline implementation.
75
762002-07-01    Joel Sherrill <joel@OARcorp.com>
77
78        * Mega patch merge to change the format of the object IDs to
79        loosen the dependency between the SCORE and the various APIs.
80        There was considerable work to simplify the object name management
81        and it appears that the name_table field is no longer needed.
82        This patch also includes the addition of the internal mutex
83        which is currently only used to protect some types of allocation
84        and deallocation.  This significantly can reduce context
85        switch latency under certain circumstances.  In particular,
86        some heap/region operations were O(n) and had dispatching
87        disabled.  This should help enormously.  With this merge,
88        the patch is not as clean as it should be.  In particular,
89        the documentation has not been modified to reflect the new object
90        ID layout, the IDs in the test screens are not updated, and
91        _Objects_Get_information needs to be a real routine not inlined.
92        As part of this patch a lot of MP code for thread/proxy blocking
93        was made conditional and cleaned up.
94        * include/Makefile.am, include/rtems/score/coremsg.h,
95        include/rtems/score/coremutex.h, include/rtems/score/coresem.h,
96        include/rtems/score/object.h, include/rtems/score/threadq.h,
97        inline/rtems/score/object.inl, inline/rtems/score/thread.inl,
98        macros/rtems/score/object.inl, src/Makefile.am, src/coremsg.c,
99        src/coremutex.c, src/coresem.c, src/mpci.c,
100        src/objectcomparenameraw.c, src/objectextendinformation.c,
101        src/objectinitializeinformation.c, src/objectnametoid.c,
102        src/thread.c, src/threadclose.c, src/threadget.c, src/threadq.c,
103        src/threadqextractwithproxy.c: Modified as part of above.
104        * include/rtems/score/apimutex.h, src/objectgetnoprotection.c: New
105        files.
106
1072001-05-17      Joel Sherrill <joel@OARcorp.com>
108
109        * macros/rtems/score/thread..inl: Implemented missing routines
110        for new libc reentrancy support.
111
1122002-05-15      Chris Johns <ccj@acm.org>
113
114        * include/rtems/score/thread.h, inline/rtems/score/thread.inl,
115        src/threaddispatch.c, src/threadinitialize.c:
116        Move the C library re-enterrant support directly into
117        the thread dispatch code. RTEMS needs libc and so requiring
118        libc to use a user extension with its overhead is not the best
119        solution. This patch lowers the overhead to 2 pointer moves.
120
1212002-05-03      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
122
123        * include/Makefile.am: Work-around to autoconf-2.53 adding PACKAGE_*
124        to autoheaders - sed out *PACKAGE* from cpuopts-tmp.h.
125
1262001-05-14      Till Straumann <strauman@slac.stanford.edu>
127
128        * src/threaddispatch.c, src/threadhandler.c: Per PR211 fix
129        saving/restoring floating point context.  The fpsave and fprestore
130        routines are only used in a executing context which _is_ fp and hence
131        has the FPU enabled. The current behavior required the FPU always to
132        be on which is very dangerous if lazy context switching is used. 
133        [Joel Note: Some ports explicitly enabled the FPU in the FP save and
134        restore routines to avoid this.]
135
136        The patch also makes sure (on powerpc only) that the FPU is disabled
137        for integer tasks. Note that this is crucial if deferred fp context
138        switching is used. Otherwise, fp context corruption may go undetected!
139        Also note that even tasks which merely push/pop FP registers to/from
140        the stack without modifying them still MUST be FP tasks - otherwise
141        (if lazy FP context switching is used), FP register corruption (of
142        other, FP, tasks may occur)!
143
144        Furthermore, (on PPC) by default, lazy FP context save/restore
145        is _disabled_.
146
1472001-04-26      Joel Sherrill <joel@OARcorp.com>
148
149        * src/objectcomparenamestring.c: Fix typos.
150 
1512001-04-26      Joel Sherrill <joel@OARcorp.com>
152
153        * include/rtems/score/object.h, inline/rtems/score/object.inl,
154        src/objectcomparenamestring.c: Address PR81 that
155        reworked POSIX message queues to add a descriptor separate from
156        the underlying message queue.  This allows non-blocking to follow
157        the "open" not the underlying queue.   As part of debugging this
158        it became clear that _Objects_Compare_name_string was broken
159        and a simple version using strncmp() was substituted.
160 
1612002-04-18      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
162
163        * include/rtems/system.h: Remove targopts.h.
164
1652002-04-17      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
166
167        * include/rtems/system.h: Add the sparc to the target supporting
168        multlibs.
169
1702002-04-16      Chris Johns <ccj@acm.org>
171
172        * src/threadinitialize.c: Per PR181, clear the array of user extension
173        pointers. This lets user extensions that have hooked the switch handler
174        know if a task has been processed by the user extension before. If a
175        user extension is created after a task is started it may not know it.
176
1772002-04-12      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
178
179        * include/rtems/system.h: Add i386 to multilib-able targets.
180
1812001-04-11      Joel Sherrill <joel@OARcorp.com>
182
183       
184        * macros/rtems/score/userext.inl: Now works after merging patch for
185        functionality requested in PR174.
186        * inline/rtems/score/userext.inl: Added a comment explaining the
187        order in which routines appear since it is not the obvious order.
188 
1892002-04-08      Chris Johns <ccj@acm.org>
190
191        * Per PR141 and PR174, make task switch extension its own list and
192        fix all odd problems introduced by providing macro version.
193        * inline/rtems/score/userext.inl: Fix.
194
1952001-04-08      Joel Sherrill <joel@OARcorp.com>
196
197        * macros/rtems/score/object.inl: Corrected arguments.
198 
1992001-04-08      Joel Sherrill <joel@OARcorp.com>
200
201        * macros/rtems/score/userext.inl: Updated to reflect modifications
202        to inline version from PR142.
203        * inline/rtems/score/userext.inl: Cleanup as side-effect of above.
204 
2052002-04-08      Chris Johns <ccj@acm.org>
206
207        * Per PR142, make task switch extension its own list.
208        * include/rtems/score/userext.h: Reflect above by adding
209        User_extensions_Switch_control and adding it to User_extenions_Control.
210        * inline/rtems/score/userext.inl: Allocate all memory in one chunk
211        to minimize overhead.  Address processing dedicated switch chain.
212
2132002-04-08      Chris Johns <ccj@acm.org>
214
215        * Per PR142, make task switch extension its own list.
216        * include/rtems/score/userext.h: Reflect above by adding
217        User_extensions_Switch_control and adding it to User_extenions_Control.
218        * inline/rtems/score/userext.inl: Allocate all memory in one chunk
219        to minimize overhead.  Address processing dedicated switch chain.
220
2212002-03-27      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
222
223        * cpu/Makefile.am: Remove AUTOMAKE_OPTIONS.
224        * src/Makefile.am: Remove AUTOMAKE_OPTIONS.
225        * Makefile.am: Remove AUTOMAKE_OPTIONS.
226        * include/Makefile.am: Remove AUTOMAKE_OPTIONS.
227        * inline/Makefile.am: Remove AUTOMAKE_OPTIONS.
228        * macros/Makefile.am: Remove AUTOMAKE_OPTIONS.
229
2302002-01-29      Joel Sherrill <joel@OARcorp.com>
231
232        * include/rtems/score/watchdog.h: Added WATCHDOG_MAXIMUM_INTERVAL.
233
2342002-01-19      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
235
236        * include/rtems/system.h: Fix typo in yesterday's change:
237        RTEMS_MULTILIBS.
238
2392001-01-18      Joel Sherrill <joel@OARcorp.com>
240
241        * include/rtems/system.h: Only include cpuopts.h when building a
242        multilib configuration.  Some ports still need targopts.h but this
243        small modification lets those ports work non-multilib while
244        fixing being fixed for multilib.
245       
2462002-01-04      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
247
248        * include/rtems/seterr.h: Add do {..} while (0) in defines.
249        Rename set_errno_and_return_minus_one into
250        rtems_set_errno_and_return_minus_one.
251
2522001-12-19      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
253
254        * inline/rtems/score/object.inl, macros/rtems/score/object.inl: Add
255        add casts to Objects_Id in _Objects_Build_ids to avoid implicit
256        typecasts from enum to int16 on bit16 targets (here: h8300).
257
2582001-12-19      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
259
260        * src/Makefile.am: Add multilib support.
261
2622001-11-28      Joel Sherrill <joel@OARcorp.com>,
263
264        This was tracked as PR91.
265        * include/rtems/score/isr.h, inline/rtems/score/isr.inl,
266        macros/rtems/score/isr.inl: Modified to allow any port to provide
267        its own implementation of the macro _ISR_Is_in_progress.  If the
268        port overrides this macro, it must provide a non-inlined function
269        implementation.
270
2712001-11-20      Joel Sherrill <joel@OARcorp.com>
272
273        * src/threadhandler.c: When __USE__MAIN__ is defined by the toolset,
274        invoke the global constructors via __main.  Reported as tested by
275        Alexandra Kossovsky <sasha@oktet.ru> and  Victor V. Vengerov
276        <vvv@oktet.ru> in conjunction with a new set of tool RPMs
277        (gcc2.95.3newlib1.9.0-3).  This was tracked as GNATS PR tools/84.
278
2792001-11-07      Joel Sherrill <joel@OARcorp.com>
280
281        Reported by Todor.Todorov@barco.com and tracked as PR36.
282        * include/rtems/score/object.h: Added prototype for
283        _Objects_Get_by_index().
284        * src/objectget.c, src/objectgetisr.c: Corrected procedure for
285        getting index from Id so it is correct and optimal for both single
286        and multiprocessor configurations.
287
2882001-10-22      Joel Sherrill <joel@OARcorp.com>
289
290        * src/threadhandler.c: Use __USE_INIT_FINI__ since USE_INIT_FINI
291        pollutes the application namespace.
292
2932001-10-16      Joel Sherrill <joel@OARcorp.com>
294
295        * .cvsignore: Add stamp-h.in.
296
2972001-10-16      Joel Sherrill <joel@OARcorp.com>
298
299        * include/Makefile.am: Fixed path to cpuopts-tmp.h.
300
3012001-10-16      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
302
303        * include/rtems/Makefile.am: Remove.
304        * include/rtems/Makefile.am: Remove.
305        * include/Makefile.am: Handle subdirs, require automake-1.5.
306        * macros/rtems/Makefile.am: Remove.
307        * macros/rtems/score/Makefile.am: Remove.
308        * macros/Makefile.am: Handle subdirs, require automake-1.5.
309        * inline/rtems/Makefile.am: Remove.
310        * inline/rtems/score/Makefile.am: Remove.
311        * inline/Makefile.am: Handle subdirs, require automake-1.5.
312        * Makefile.am: require automake-1.5
313
3142001-09-28      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
315
316        * include/rtems/score/Makefile.am: Use 'PREINSTALL_FILES ='.
317        * include/rtems/Makefile.am: Use 'PREINSTALL_FILES ='.
318        * inline/rtems/score/Makefile.am: Use 'PREINSTALL_FILES ='.
319        * macros/rtems/score/Makefile.am: Use 'PREINSTALL_FILES ='.
320
3212001-09-27      Eric Norum <eric.norum@usask.ca>
322
323        * src/threadhandler.c: Now process C++ global constructors
324        (_init) as part of the first task execution not in BSP space.
325        This depends on the toolset defining USE_INIT_FINI so you
326        have to have the right toolset version.
327
3282001-09-23      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
329
330        * include/rtems/score/Makefile.am: Use 'PREINSTALL_FILES ='.
331        * include/rtems/Makefile.am: Use 'PREINSTALL_FILES ='.
332        * inline/rtems/score/Makefile.am: Use 'PREINSTALL_FILES ='.
333        * macros/rtems/score/Makefile.am: Use 'PREINSTALL_FILES ='.
334
3352001-08-30      Joel Sherrill <joel@OARcorp.com>
336
337        *  src/coremutex.c, src/coremutexseize.c, src/coremutexsurrender.c,
338        inline/rtems/score/coremutex.inl: The per thread field resource_count
339        should only be manipulated when a mutex is priority ceiling or
340        priority inherit.  This was reported by Chris Johns <ccj@acm.org>
341        who also noticed that the use of switches for all disciplines
342        generated less efficient code than using explicit tests for the one
343        or two cases we were really interested in.  Further review of his
344        modifications made it apparent that the "isa" methods to test mutex
345        discipline were not being used so this modification was swept into
346        the code as well.
347
3482001-08-30      Joel Sherrill <joel@OARcorp.com>
349
350        * src/coremutexseize.c: Add missing code for proper handling
351        of nesting acquisitions.  This only impacts building with
352        inlines disabled on the source with the "fast mutex" optimizations.
353        This was post the 4.5 branch and did not impact released versions.
354
3552001-08-16      Joel Sherrill <joel@OARcorp.com>
356
357        * src/coremutexsurrender.c: Use holder thread not executing
358        thread because even though they may and often are the same
359        it is not guaranteed unless the proper attribute is set.
360
3612001-08-16      Joel Sherrill <joel@OARcorp.com>
362
363        * include/rtems/score/coremsg.h, src/coremsgsubmit.c: Add a new
364        return status to account for blocking sends.  Otherwise, the
365        caller will think that the returned message status will have
366        the ultimate results of the operation.  If the send times out,
367        the final status will be in the return_code of the thread.
368
3692001-08-09      Joel Sherrill <joel@OARcorp.com>
370
371        * include/rtems/score/coremsg.h, inline/rtems/score/coremsg.inl,
372        src/coremsgsubmit.c: Unblocking message queue operations should
373        NOT use _Thread_Executing for return status since it is permissible
374        to invoke message send operations from an ISR.  This was reported
375        by Suvrat Gupta <suvrat@utstar.com>.
376
3772000-05-25      Sergei Organov <osv@javad.ru>
378
379        * macros/rtems/score/coresem.inl, inline/rtems/score/coresem.inl:
380        Cut and paste problem incorrectly enabled interrupts twice with
381        the first time being too early.
382
3832001-05-09      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
384
385        * include/rtems/score/.cvsignore: Add stamp-h, cpuopts.h,
386        cpuopts.h.in, cpuopts-tmp.h.
387
3882001-02-03      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
389
390        * include/rtems/Makefile.am, include/rtems/score/Makefile.am,
391        inline/rtems/score/Makefile.am, macros/rtems/score/Makefile.am
392        Apply include_*HEADERS instead of H_FILES.
393
3942001-01-29      Joel Sherrill <joel@OARcorp.com>
395
396        * src/objectextendinformation.c: Added include of string.h to
397        eliminate warning.
398
3992001-01-08      Joel Sherrill <joel@OARcorp.com>
400
401        * src/threadinitialize.c: Fix my bad hack of Ralf's fp_area
402        warning removal patch. :(
403
4042001-01-08      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
405
406        * src/threadinitialize.c: Removed warning.
407
4082001-01-03      Joel Sherrill <joel@OARcorp.com>
409
410        * src/isr.c: Modify to properly dereference _ISR_Vector_table
411        now that it is dynamically allocated.
412
4132000-12-19      Joel Sherrill <joel@OARcorp.com>
414
415        * src/isr.c: Allocate the _ISR_Vector_table all the time not just when
416        we are allocating an interrupt stack.
417
4182000-12-13      Joel Sherrill <joel@OARcorp.com>
419
420        * include/rtems/score/isr.h, src/isr.c: Allocate it from the
421        workspace rather than explicitly declaring it.  This allows
422        the size to be a non-constant from the perspective of score/cpu.
423
4242000-12-01      Joel Sherrill <joel@OARcorp.com>
425
426        * macros/rtems/score/coresem.inl: Removed comments since convention
427        calls for comments to be in inline versin.
428        * macros/rtems/score/object.inl (Objects_Get_local_object): Fixed
429        style to use _ prefix on variable names and use parentheses.
430        * macros/rtems/score/object.inl (_Objects_Namespace_remove): Added.
431
4322000-11-30      Joel Sherrill <joel@OARcorp.com>
433
434        * General effort to make things compile with macros not inlines
435        * inline/rtems/score/coremutex.inl: Added comment indicating
436        for macros there is another copy of
437        _CORE_mutex_Seize_interrupt_trylock() in src/coremutexseize.c.
438        * src/coremutexseize.c: Added body of
439        _CORE_mutex_Seize_interrupt_trylock() for macro case.
440        * macros/rtems/score/coremutex.inl: Added prototype for
441        _CORE_mutex_Seize_interrupt_trylock() since there is a real
442        body when macros are enabled.
443        * macros/rtems/score/coresem.inl: Added macro implementation of
444        _CORE_semaphore_Seize_isr_disable.
445        * macros/score/Makefile.am: Fixed typos.
446        * rtems/score/address.inl: Correct macro implementation of
447        _Addresses_Is_aligned() so it would compile.
448        * macros/rtems/score/coremsg.inl: Added closing parentheses.
449       
4502000-11-28      Chris Johns <ccj@acm.org>
451
452        * src/heapallocate.c: Do not allow the size to overflow when
453        adjusting it.  A test allocated a stack of -1 (~0). This
454        actually resulted in a stack being allocated but with a
455        size of 0xb. The allocator did not test the size to see if
456        it rolled through 0 and so allowed the allocation to happen, the
457        thread to get created. The task crashed as you would expect.
458
4592000-11-02      Joel Sherrill <joel@OARcorp.com>
460
461        * include/rtems/system.h: Use proper conditional (RTEMS_POSIX_API)
462        so prototypes for POSIX_MP_NOT_IMPLEMENTED(), POSIX_NOT_IMPLEMENTED(),
463        POSIX_BOTTOM_REACHED() are actually included.
464
4652000-11-02      Joel Sherrill <joel@OARcorp.com>
466
467        * include/rtems/system.h: Add prototypes for POSIX_MP_NOT_IMPLEMENTED(),
468        POSIX_NOT_IMPLEMENTED(), POSIX_BOTTOM_REACHED() removed from newlib.
469
4702000-10-18      Nick Simon <Nick.SIMON@syntegra.bt.co.uk>
471
472        * src/heapgetinfo.c, include/rtems/score/heap.h, src/Makefile.am:
473        Added _Heap_Get_information() and information control block.
474        * src/heapgetinfo.c: New file.
475
4762000-09-25      Joel Sherrill <joel@OARcorp.com>
477
478        * rtems/system.h: Switched a29k and hppa1.1 to using cpuopts.h not
479        targopts.h to reduce dependency on BSP.
480
4812000-09-20      Joel Sherrill <joel@OARcorp.com>
482
483        * src/objectgetbyindex.c: Do not enable dispatching on an
484        error path it was not disabled on.
485
4862000-09-04      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
487
488        * src/Makefile.am: Include compile.am.
489
4902000-08-30      Joel Sherrill <joel@OARcorp.com>
491
492        * Many files: Moved posix/include/rtems/posix/seterr.h to
493        score/include/rtems/seterr.h so it would be available within
494        all APIs.
495
4962000-08-17      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
497
498        * include/rtems/system.h: Include cpuopts.h for __i386__.
499
5002000-08-10      Joel Sherrill <joel@OARcorp.com>
501
502        * ChangeLog: New file.
Note: See TracBrowser for help on using the repository browser.