source: rtems/cpukit/score/ChangeLog @ 6c63598

4.104.114.84.95
Last change on this file since 6c63598 was 9c59c2d9, checked in by Ralf Corsepius <ralf.corsepius@…>, on 02/28/03 at 07:08:21

Merger from rtems-4-6-branch.

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