source: rtems/cpukit/score/ChangeLog @ 10f72fd

Last change on this file since 10f72fd was 10f72fd, checked in by Joel Sherrill <joel.sherrill@…>, on Jun 13, 2003 at 1:25:25 PM

2003-06-13 Joel Sherrill <joel@…>

  • src/threadloadenv.c: Removed warnings.
  • Property mode set to 100644
File size: 19.4 KB
Line 
12003-06-13      Joel Sherrill <joel@OARcorp.com>
2
3        * src/threadloadenv.c: Removed warnings.
4
52003-06-12      Joel Sherrill <joel@OARcorp.com>
6
7        * src/objectmp.c: Removed warnings.
8
92003-03-18  Till Straumann <strauman@slac.stanford.edu>
10
11        PR 356/bsps
12        * src/threadhandlerc: This patch makes RTEMS/PowerPC eabi compliant.
13        Let Thread_Handler verify that _init/_main are non-NULL
14        before calling them (gives the linker script/user more
15        freedom to handle special cases).
16
172002-03-04      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
18
19        * include/rtems/system.h: Add __RTEMS_REVISION__.
20
212002-02-28      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
22
23        * include/rtems/system.h: Add __RTEMS_MAJOR__, __RTEMS_MINOR__.
24
252003-01-10      Joel Sherrill <joel@OARcorp.com>
26
27        * src/objectmp.c: Corrected use of name parameter to reflect that it
28        is actually the name not a pointer to the name.
29
302002-12-12      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
31
32        Makefile.am: Don't create $ARCH.
33
342002-12-09      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
35
36        Makefile.am: Fix macro-file installation.
37
382002-12-09      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
39
40        Makefile.am: Move include/rtems/score/cpuopts.h to STD_H_FILES.
41
422002-12-09      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
43
44        * include/Makefile.am: Remove.
45        * inline/Makefile.am: Remove.
46        * macros/Makefile.am: Remove.
47        * src/Makefile.am: Remove.
48        * Makefile.am: Merge-in removed Makefile.ams.
49
502002-12-02      Joel Sherrill <joel@OARcorp.com>
51
52        * include/rtems/score/object.h, include/rtems/score/tod.h:
53        Added casts to eliminate warnings on 16 bit targets like the h8300.
54
552002-11-14      Joel Sherrill <joel@OARcorp.com>
56
57        * macros/rtems/score/object.inl: Keep consistent with inline version.
58
592002-10-31      Joel Sherrill <joel@OARcorp.com>
60
61        * src/heapgetinfo.c: Fixed comment.
62        * src/mpci.c: Removed warning.
63
642002-10-28      Joel Sherrill <joel@OARcorp.com>
65
66        * src/threadhandler.c: Prototype _init() and _main() if they are needed
67        to avoid a warning.
68
692002-08-14      Joel Sherrill <joel@OARcorp.com>
70
71        * macros/rtems/score/coremsg.inl: Add <string.h> to remove warning.
72        * src/threadidlebody.c: Add return 0 to avoid warning.
73
742002-08-07      Chris Johns <ccj@acm.org>
75
76        * src/coretodset.c: Correct calculation of ticks until next section
77        boundary.  It was incorrectly based upon current time not the
78        time that is being set.
79
802002-07-31      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
81
82        * src/Makefile.am: Build into libscore.a.
83
842002-07-22      Joel Sherrill <joel@OARcorp.com>
85
86        * include/rtems/score/apimutex.h (_API_Mutex_Lock): Per PR253
87        add the missing _ISR_Disable.  This fix was already applied to
88        the old location (c/src/exec/score/...).
89
902002-07-22      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
91
92        * src/Makefile.am: Use .$(OBJEXT) instead of .o.
93
942002-07-16      Joel Sherrill <joel@OARcorp.com>
95
96        * macros/rtems/score/object.inl: Corrected typos in
97        _Objects_Open, _Objects_Close, and _Objects_Namespace_remove.
98
992002-07-05      Joel Sherrill <joel@OARcorp.com>
100
101        * macros/rtems/score/object.inl: Corrected implementation of
102        _Objects_Open, _Objects_Close, and _Objects_Namespace_remove
103        to be consistent with the inline implementation.
104
1052002-07-01    Joel Sherrill <joel@OARcorp.com>
106
107        * Mega patch merge to change the format of the object IDs to
108        loosen the dependency between the SCORE and the various APIs.
109        There was considerable work to simplify the object name management
110        and it appears that the name_table field is no longer needed.
111        This patch also includes the addition of the internal mutex
112        which is currently only used to protect some types of allocation
113        and deallocation.  This significantly can reduce context
114        switch latency under certain circumstances.  In particular,
115        some heap/region operations were O(n) and had dispatching
116        disabled.  This should help enormously.  With this merge,
117        the patch is not as clean as it should be.  In particular,
118        the documentation has not been modified to reflect the new object
119        ID layout, the IDs in the test screens are not updated, and
120        _Objects_Get_information needs to be a real routine not inlined.
121        As part of this patch a lot of MP code for thread/proxy blocking
122        was made conditional and cleaned up.
123        * include/Makefile.am, include/rtems/score/coremsg.h,
124        include/rtems/score/coremutex.h, include/rtems/score/coresem.h,
125        include/rtems/score/object.h, include/rtems/score/threadq.h,
126        inline/rtems/score/object.inl, inline/rtems/score/thread.inl,
127        macros/rtems/score/object.inl, src/Makefile.am, src/coremsg.c,
128        src/coremutex.c, src/coresem.c, src/mpci.c,
129        src/objectcomparenameraw.c, src/objectextendinformation.c,
130        src/objectinitializeinformation.c, src/objectnametoid.c,
131        src/thread.c, src/threadclose.c, src/threadget.c, src/threadq.c,
132        src/threadqextractwithproxy.c: Modified as part of above.
133        * include/rtems/score/apimutex.h, src/objectgetnoprotection.c: New
134        files.
135
1362001-05-17      Joel Sherrill <joel@OARcorp.com>
137
138        * macros/rtems/score/thread..inl: Implemented missing routines
139        for new libc reentrancy support.
140
1412002-05-15      Chris Johns <ccj@acm.org>
142
143        * include/rtems/score/thread.h, inline/rtems/score/thread.inl,
144        src/threaddispatch.c, src/threadinitialize.c:
145        Move the C library re-enterrant support directly into
146        the thread dispatch code. RTEMS needs libc and so requiring
147        libc to use a user extension with its overhead is not the best
148        solution. This patch lowers the overhead to 2 pointer moves.
149
1502002-05-03      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
151
152        * include/Makefile.am: Work-around to autoconf-2.53 adding PACKAGE_*
153        to autoheaders - sed out *PACKAGE* from cpuopts-tmp.h.
154
1552001-05-14      Till Straumann <strauman@slac.stanford.edu>
156
157        * src/threaddispatch.c, src/threadhandler.c: Per PR211 fix
158        saving/restoring floating point context.  The fpsave and fprestore
159        routines are only used in a executing context which _is_ fp and hence
160        has the FPU enabled. The current behavior required the FPU always to
161        be on which is very dangerous if lazy context switching is used. 
162        [Joel Note: Some ports explicitly enabled the FPU in the FP save and
163        restore routines to avoid this.]
164
165        The patch also makes sure (on powerpc only) that the FPU is disabled
166        for integer tasks. Note that this is crucial if deferred fp context
167        switching is used. Otherwise, fp context corruption may go undetected!
168        Also note that even tasks which merely push/pop FP registers to/from
169        the stack without modifying them still MUST be FP tasks - otherwise
170        (if lazy FP context switching is used), FP register corruption (of
171        other, FP, tasks may occur)!
172
173        Furthermore, (on PPC) by default, lazy FP context save/restore
174        is _disabled_.
175
1762001-04-26      Joel Sherrill <joel@OARcorp.com>
177
178        * src/objectcomparenamestring.c: Fix typos.
179 
1802001-04-26      Joel Sherrill <joel@OARcorp.com>
181
182        * include/rtems/score/object.h, inline/rtems/score/object.inl,
183        src/objectcomparenamestring.c: Address PR81 that
184        reworked POSIX message queues to add a descriptor separate from
185        the underlying message queue.  This allows non-blocking to follow
186        the "open" not the underlying queue.   As part of debugging this
187        it became clear that _Objects_Compare_name_string was broken
188        and a simple version using strncmp() was substituted.
189 
1902002-04-18      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
191
192        * include/rtems/system.h: Remove targopts.h.
193
1942002-04-17      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
195
196        * include/rtems/system.h: Add the sparc to the target supporting
197        multlibs.
198
1992002-04-16      Chris Johns <ccj@acm.org>
200
201        * src/threadinitialize.c: Per PR181, clear the array of user extension
202        pointers. This lets user extensions that have hooked the switch handler
203        know if a task has been processed by the user extension before. If a
204        user extension is created after a task is started it may not know it.
205
2062002-04-12      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
207
208        * include/rtems/system.h: Add i386 to multilib-able targets.
209
2102001-04-11      Joel Sherrill <joel@OARcorp.com>
211
212       
213        * macros/rtems/score/userext.inl: Now works after merging patch for
214        functionality requested in PR174.
215        * inline/rtems/score/userext.inl: Added a comment explaining the
216        order in which routines appear since it is not the obvious order.
217 
2182002-04-08      Chris Johns <ccj@acm.org>
219
220        * Per PR141 and PR174, make task switch extension its own list and
221        fix all odd problems introduced by providing macro version.
222        * inline/rtems/score/userext.inl: Fix.
223
2242001-04-08      Joel Sherrill <joel@OARcorp.com>
225
226        * macros/rtems/score/object.inl: Corrected arguments.
227 
2282001-04-08      Joel Sherrill <joel@OARcorp.com>
229
230        * macros/rtems/score/userext.inl: Updated to reflect modifications
231        to inline version from PR142.
232        * inline/rtems/score/userext.inl: Cleanup as side-effect of above.
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-04-08      Chris Johns <ccj@acm.org>
243
244        * Per PR142, make task switch extension its own list.
245        * include/rtems/score/userext.h: Reflect above by adding
246        User_extensions_Switch_control and adding it to User_extenions_Control.
247        * inline/rtems/score/userext.inl: Allocate all memory in one chunk
248        to minimize overhead.  Address processing dedicated switch chain.
249
2502002-03-27      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
251
252        * cpu/Makefile.am: Remove AUTOMAKE_OPTIONS.
253        * src/Makefile.am: Remove AUTOMAKE_OPTIONS.
254        * Makefile.am: Remove AUTOMAKE_OPTIONS.
255        * include/Makefile.am: Remove AUTOMAKE_OPTIONS.
256        * inline/Makefile.am: Remove AUTOMAKE_OPTIONS.
257        * macros/Makefile.am: Remove AUTOMAKE_OPTIONS.
258
2592002-01-29      Joel Sherrill <joel@OARcorp.com>
260
261        * include/rtems/score/watchdog.h: Added WATCHDOG_MAXIMUM_INTERVAL.
262
2632002-01-19      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
264
265        * include/rtems/system.h: Fix typo in yesterday's change:
266        RTEMS_MULTILIBS.
267
2682001-01-18      Joel Sherrill <joel@OARcorp.com>
269
270        * include/rtems/system.h: Only include cpuopts.h when building a
271        multilib configuration.  Some ports still need targopts.h but this
272        small modification lets those ports work non-multilib while
273        fixing being fixed for multilib.
274       
2752002-01-04      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
276
277        * include/rtems/seterr.h: Add do {..} while (0) in defines.
278        Rename set_errno_and_return_minus_one into
279        rtems_set_errno_and_return_minus_one.
280
2812001-12-19      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
282
283        * inline/rtems/score/object.inl, macros/rtems/score/object.inl: Add
284        add casts to Objects_Id in _Objects_Build_ids to avoid implicit
285        typecasts from enum to int16 on bit16 targets (here: h8300).
286
2872001-12-19      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
288
289        * src/Makefile.am: Add multilib support.
290
2912001-11-28      Joel Sherrill <joel@OARcorp.com>,
292
293        This was tracked as PR91.
294        * include/rtems/score/isr.h, inline/rtems/score/isr.inl,
295        macros/rtems/score/isr.inl: Modified to allow any port to provide
296        its own implementation of the macro _ISR_Is_in_progress.  If the
297        port overrides this macro, it must provide a non-inlined function
298        implementation.
299
3002001-11-20      Joel Sherrill <joel@OARcorp.com>
301
302        * src/threadhandler.c: When __USE__MAIN__ is defined by the toolset,
303        invoke the global constructors via __main.  Reported as tested by
304        Alexandra Kossovsky <sasha@oktet.ru> and  Victor V. Vengerov
305        <vvv@oktet.ru> in conjunction with a new set of tool RPMs
306        (gcc2.95.3newlib1.9.0-3).  This was tracked as GNATS PR tools/84.
307
3082001-11-07      Joel Sherrill <joel@OARcorp.com>
309
310        Reported by Todor.Todorov@barco.com and tracked as PR36.
311        * include/rtems/score/object.h: Added prototype for
312        _Objects_Get_by_index().
313        * src/objectget.c, src/objectgetisr.c: Corrected procedure for
314        getting index from Id so it is correct and optimal for both single
315        and multiprocessor configurations.
316
3172001-10-22      Joel Sherrill <joel@OARcorp.com>
318
319        * src/threadhandler.c: Use __USE_INIT_FINI__ since USE_INIT_FINI
320        pollutes the application namespace.
321
3222001-10-16      Joel Sherrill <joel@OARcorp.com>
323
324        * .cvsignore: Add stamp-h.in.
325
3262001-10-16      Joel Sherrill <joel@OARcorp.com>
327
328        * include/Makefile.am: Fixed path to cpuopts-tmp.h.
329
3302001-10-16      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
331
332        * include/rtems/Makefile.am: Remove.
333        * include/rtems/Makefile.am: Remove.
334        * include/Makefile.am: Handle subdirs, require automake-1.5.
335        * macros/rtems/Makefile.am: Remove.
336        * macros/rtems/score/Makefile.am: Remove.
337        * macros/Makefile.am: Handle subdirs, require automake-1.5.
338        * inline/rtems/Makefile.am: Remove.
339        * inline/rtems/score/Makefile.am: Remove.
340        * inline/Makefile.am: Handle subdirs, require automake-1.5.
341        * Makefile.am: require automake-1.5
342
3432001-09-28      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
344
345        * include/rtems/score/Makefile.am: Use 'PREINSTALL_FILES ='.
346        * include/rtems/Makefile.am: Use 'PREINSTALL_FILES ='.
347        * inline/rtems/score/Makefile.am: Use 'PREINSTALL_FILES ='.
348        * macros/rtems/score/Makefile.am: Use 'PREINSTALL_FILES ='.
349
3502001-09-27      Eric Norum <eric.norum@usask.ca>
351
352        * src/threadhandler.c: Now process C++ global constructors
353        (_init) as part of the first task execution not in BSP space.
354        This depends on the toolset defining USE_INIT_FINI so you
355        have to have the right toolset version.
356
3572001-09-23      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
358
359        * include/rtems/score/Makefile.am: Use 'PREINSTALL_FILES ='.
360        * include/rtems/Makefile.am: Use 'PREINSTALL_FILES ='.
361        * inline/rtems/score/Makefile.am: Use 'PREINSTALL_FILES ='.
362        * macros/rtems/score/Makefile.am: Use 'PREINSTALL_FILES ='.
363
3642001-08-30      Joel Sherrill <joel@OARcorp.com>
365
366        *  src/coremutex.c, src/coremutexseize.c, src/coremutexsurrender.c,
367        inline/rtems/score/coremutex.inl: The per thread field resource_count
368        should only be manipulated when a mutex is priority ceiling or
369        priority inherit.  This was reported by Chris Johns <ccj@acm.org>
370        who also noticed that the use of switches for all disciplines
371        generated less efficient code than using explicit tests for the one
372        or two cases we were really interested in.  Further review of his
373        modifications made it apparent that the "isa" methods to test mutex
374        discipline were not being used so this modification was swept into
375        the code as well.
376
3772001-08-30      Joel Sherrill <joel@OARcorp.com>
378
379        * src/coremutexseize.c: Add missing code for proper handling
380        of nesting acquisitions.  This only impacts building with
381        inlines disabled on the source with the "fast mutex" optimizations.
382        This was post the 4.5 branch and did not impact released versions.
383
3842001-08-16      Joel Sherrill <joel@OARcorp.com>
385
386        * src/coremutexsurrender.c: Use holder thread not executing
387        thread because even though they may and often are the same
388        it is not guaranteed unless the proper attribute is set.
389
3902001-08-16      Joel Sherrill <joel@OARcorp.com>
391
392        * include/rtems/score/coremsg.h, src/coremsgsubmit.c: Add a new
393        return status to account for blocking sends.  Otherwise, the
394        caller will think that the returned message status will have
395        the ultimate results of the operation.  If the send times out,
396        the final status will be in the return_code of the thread.
397
3982001-08-09      Joel Sherrill <joel@OARcorp.com>
399
400        * include/rtems/score/coremsg.h, inline/rtems/score/coremsg.inl,
401        src/coremsgsubmit.c: Unblocking message queue operations should
402        NOT use _Thread_Executing for return status since it is permissible
403        to invoke message send operations from an ISR.  This was reported
404        by Suvrat Gupta <suvrat@utstar.com>.
405
4062000-05-25      Sergei Organov <osv@javad.ru>
407
408        * macros/rtems/score/coresem.inl, inline/rtems/score/coresem.inl:
409        Cut and paste problem incorrectly enabled interrupts twice with
410        the first time being too early.
411
4122001-05-09      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
413
414        * include/rtems/score/.cvsignore: Add stamp-h, cpuopts.h,
415        cpuopts.h.in, cpuopts-tmp.h.
416
4172001-02-03      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
418
419        * include/rtems/Makefile.am, include/rtems/score/Makefile.am,
420        inline/rtems/score/Makefile.am, macros/rtems/score/Makefile.am
421        Apply include_*HEADERS instead of H_FILES.
422
4232001-01-29      Joel Sherrill <joel@OARcorp.com>
424
425        * src/objectextendinformation.c: Added include of string.h to
426        eliminate warning.
427
4282001-01-08      Joel Sherrill <joel@OARcorp.com>
429
430        * src/threadinitialize.c: Fix my bad hack of Ralf's fp_area
431        warning removal patch. :(
432
4332001-01-08      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
434
435        * src/threadinitialize.c: Removed warning.
436
4372001-01-03      Joel Sherrill <joel@OARcorp.com>
438
439        * src/isr.c: Modify to properly dereference _ISR_Vector_table
440        now that it is dynamically allocated.
441
4422000-12-19      Joel Sherrill <joel@OARcorp.com>
443
444        * src/isr.c: Allocate the _ISR_Vector_table all the time not just when
445        we are allocating an interrupt stack.
446
4472000-12-13      Joel Sherrill <joel@OARcorp.com>
448
449        * include/rtems/score/isr.h, src/isr.c: Allocate it from the
450        workspace rather than explicitly declaring it.  This allows
451        the size to be a non-constant from the perspective of score/cpu.
452
4532000-12-01      Joel Sherrill <joel@OARcorp.com>
454
455        * macros/rtems/score/coresem.inl: Removed comments since convention
456        calls for comments to be in inline versin.
457        * macros/rtems/score/object.inl (Objects_Get_local_object): Fixed
458        style to use _ prefix on variable names and use parentheses.
459        * macros/rtems/score/object.inl (_Objects_Namespace_remove): Added.
460
4612000-11-30      Joel Sherrill <joel@OARcorp.com>
462
463        * General effort to make things compile with macros not inlines
464        * inline/rtems/score/coremutex.inl: Added comment indicating
465        for macros there is another copy of
466        _CORE_mutex_Seize_interrupt_trylock() in src/coremutexseize.c.
467        * src/coremutexseize.c: Added body of
468        _CORE_mutex_Seize_interrupt_trylock() for macro case.
469        * macros/rtems/score/coremutex.inl: Added prototype for
470        _CORE_mutex_Seize_interrupt_trylock() since there is a real
471        body when macros are enabled.
472        * macros/rtems/score/coresem.inl: Added macro implementation of
473        _CORE_semaphore_Seize_isr_disable.
474        * macros/score/Makefile.am: Fixed typos.
475        * rtems/score/address.inl: Correct macro implementation of
476        _Addresses_Is_aligned() so it would compile.
477        * macros/rtems/score/coremsg.inl: Added closing parentheses.
478       
4792000-11-28      Chris Johns <ccj@acm.org>
480
481        * src/heapallocate.c: Do not allow the size to overflow when
482        adjusting it.  A test allocated a stack of -1 (~0). This
483        actually resulted in a stack being allocated but with a
484        size of 0xb. The allocator did not test the size to see if
485        it rolled through 0 and so allowed the allocation to happen, the
486        thread to get created. The task crashed as you would expect.
487
4882000-11-02      Joel Sherrill <joel@OARcorp.com>
489
490        * include/rtems/system.h: Use proper conditional (RTEMS_POSIX_API)
491        so prototypes for POSIX_MP_NOT_IMPLEMENTED(), POSIX_NOT_IMPLEMENTED(),
492        POSIX_BOTTOM_REACHED() are actually included.
493
4942000-11-02      Joel Sherrill <joel@OARcorp.com>
495
496        * include/rtems/system.h: Add prototypes for POSIX_MP_NOT_IMPLEMENTED(),
497        POSIX_NOT_IMPLEMENTED(), POSIX_BOTTOM_REACHED() removed from newlib.
498
4992000-10-18      Nick Simon <Nick.SIMON@syntegra.bt.co.uk>
500
501        * src/heapgetinfo.c, include/rtems/score/heap.h, src/Makefile.am:
502        Added _Heap_Get_information() and information control block.
503        * src/heapgetinfo.c: New file.
504
5052000-09-25      Joel Sherrill <joel@OARcorp.com>
506
507        * rtems/system.h: Switched a29k and hppa1.1 to using cpuopts.h not
508        targopts.h to reduce dependency on BSP.
509
5102000-09-20      Joel Sherrill <joel@OARcorp.com>
511
512        * src/objectgetbyindex.c: Do not enable dispatching on an
513        error path it was not disabled on.
514
5152000-09-04      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
516
517        * src/Makefile.am: Include compile.am.
518
5192000-08-30      Joel Sherrill <joel@OARcorp.com>
520
521        * Many files: Moved posix/include/rtems/posix/seterr.h to
522        score/include/rtems/seterr.h so it would be available within
523        all APIs.
524
5252000-08-17      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
526
527        * include/rtems/system.h: Include cpuopts.h for __i386__.
528
5292000-08-10      Joel Sherrill <joel@OARcorp.com>
530
531        * ChangeLog: New file.
Note: See TracBrowser for help on using the repository browser.