source: rtems/cpukit/score/ChangeLog @ cb3a7ed

4.104.114.84.95
Last change on this file since cb3a7ed was 1b074a1, checked in by Joel Sherrill <joel.sherrill@…>, on 05/17/02 at 18:01:36

2001-05-17 Joel Sherrill <joel@…>

  • macros/rtems/score/thread..inl: Implemented missing routines for new libc reentrancy support.
  • Property mode set to 100644
File size: 14.7 KB
Line 
12001-05-17      Joel Sherrill <joel@OARcorp.com>
2
3        * macros/rtems/score/thread..inl: Implemented missing routines
4        for new libc reentrancy support.
5
62002-05-15      Chris Johns <ccj@acm.org>
7
8        * include/rtems/score/thread.h, inline/rtems/score/thread.inl,
9        src/threaddispatch.c, src/threadinitialize.c:
10        Move the C library re-enterrant support directly into
11        the thread dispatch code. RTEMS needs libc and so requiring
12        libc to use a user extension with its overhead is not the best
13        solution. This patch lowers the overhead to 2 pointer moves.
14
152002-05-03      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
16
17        * include/Makefile.am: Work-around to autoconf-2.53 adding PACKAGE_*
18        to autoheaders - sed out *PACKAGE* from cpuopts-tmp.h.
19
202001-05-14      Till Straumann <strauman@slac.stanford.edu>
21
22        * src/threaddispatch.c, src/threadhandler.c: Per PR211 fix
23        saving/restoring floating point context.  The fpsave and fprestore
24        routines are only used in a executing context which _is_ fp and hence
25        has the FPU enabled. The current behavior required the FPU always to
26        be on which is very dangerous if lazy context switching is used. 
27        [Joel Note: Some ports explicitly enabled the FPU in the FP save and
28        restore routines to avoid this.]
29
30        The patch also makes sure (on powerpc only) that the FPU is disabled
31        for integer tasks. Note that this is crucial if deferred fp context
32        switching is used. Otherwise, fp context corruption may go undetected!
33        Also note that even tasks which merely push/pop FP registers to/from
34        the stack without modifying them still MUST be FP tasks - otherwise
35        (if lazy FP context switching is used), FP register corruption (of
36        other, FP, tasks may occur)!
37
38        Furthermore, (on PPC) by default, lazy FP context save/restore
39        is _disabled_.
40
412001-04-26      Joel Sherrill <joel@OARcorp.com>
42
43        * src/objectcomparenamestring.c: Fix typos.
44 
452001-04-26      Joel Sherrill <joel@OARcorp.com>
46
47        * include/rtems/score/object.h, inline/rtems/score/object.inl,
48        src/objectcomparenamestring.c: Address PR81 that
49        reworked POSIX message queues to add a descriptor separate from
50        the underlying message queue.  This allows non-blocking to follow
51        the "open" not the underlying queue.   As part of debugging this
52        it became clear that _Objects_Compare_name_string was broken
53        and a simple version using strncmp() was substituted.
54 
552002-04-18      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
56
57        * include/rtems/system.h: Remove targopts.h.
58
592002-04-17      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
60
61        * include/rtems/system.h: Add the sparc to the target supporting
62        multlibs.
63
642002-04-16      Chris Johns <ccj@acm.org>
65
66        * src/threadinitialize.c: Per PR181, clear the array of user extension
67        pointers. This lets user extensions that have hooked the switch handler
68        know if a task has been processed by the user extension before. If a
69        user extension is created after a task is started it may not know it.
70
712002-04-12      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
72
73        * include/rtems/system.h: Add i386 to multilib-able targets.
74
752001-04-11      Joel Sherrill <joel@OARcorp.com>
76
77       
78        * macros/rtems/score/userext.inl: Now works after merging patch for
79        functionality requested in PR174.
80        * inline/rtems/score/userext.inl: Added a comment explaining the
81        order in which routines appear since it is not the obvious order.
82 
832002-04-08      Chris Johns <ccj@acm.org>
84
85        * Per PR141 and PR174, make task switch extension its own list and
86        fix all odd problems introduced by providing macro version.
87        * inline/rtems/score/userext.inl: Fix.
88
892001-04-08      Joel Sherrill <joel@OARcorp.com>
90
91        * macros/rtems/score/object.inl: Corrected arguments.
92 
932001-04-08      Joel Sherrill <joel@OARcorp.com>
94
95        * macros/rtems/score/userext.inl: Updated to reflect modifications
96        to inline version from PR142.
97        * inline/rtems/score/userext.inl: Cleanup as side-effect of above.
98 
992002-04-08      Chris Johns <ccj@acm.org>
100
101        * Per PR142, make task switch extension its own list.
102        * include/rtems/score/userext.h: Reflect above by adding
103        User_extensions_Switch_control and adding it to User_extenions_Control.
104        * inline/rtems/score/userext.inl: Allocate all memory in one chunk
105        to minimize overhead.  Address processing dedicated switch chain.
106
1072002-04-08      Chris Johns <ccj@acm.org>
108
109        * Per PR142, make task switch extension its own list.
110        * include/rtems/score/userext.h: Reflect above by adding
111        User_extensions_Switch_control and adding it to User_extenions_Control.
112        * inline/rtems/score/userext.inl: Allocate all memory in one chunk
113        to minimize overhead.  Address processing dedicated switch chain.
114
1152002-03-27      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
116
117        * cpu/Makefile.am: Remove AUTOMAKE_OPTIONS.
118        * src/Makefile.am: Remove AUTOMAKE_OPTIONS.
119        * Makefile.am: Remove AUTOMAKE_OPTIONS.
120        * include/Makefile.am: Remove AUTOMAKE_OPTIONS.
121        * inline/Makefile.am: Remove AUTOMAKE_OPTIONS.
122        * macros/Makefile.am: Remove AUTOMAKE_OPTIONS.
123
1242002-01-29      Joel Sherrill <joel@OARcorp.com>
125
126        * include/rtems/score/watchdog.h: Added WATCHDOG_MAXIMUM_INTERVAL.
127
1282002-01-19      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
129
130        * include/rtems/system.h: Fix typo in yesterday's change:
131        RTEMS_MULTILIBS.
132
1332001-01-18      Joel Sherrill <joel@OARcorp.com>
134
135        * include/rtems/system.h: Only include cpuopts.h when building a
136        multilib configuration.  Some ports still need targopts.h but this
137        small modification lets those ports work non-multilib while
138        fixing being fixed for multilib.
139       
1402002-01-04      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
141
142        * include/rtems/seterr.h: Add do {..} while (0) in defines.
143        Rename set_errno_and_return_minus_one into
144        rtems_set_errno_and_return_minus_one.
145
1462001-12-19      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
147
148        * inline/rtems/score/object.inl, macros/rtems/score/object.inl: Add
149        add casts to Objects_Id in _Objects_Build_ids to avoid implicit
150        typecasts from enum to int16 on bit16 targets (here: h8300).
151
1522001-12-19      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
153
154        * src/Makefile.am: Add multilib support.
155
1562001-11-28      Joel Sherrill <joel@OARcorp.com>,
157
158        This was tracked as PR91.
159        * include/rtems/score/isr.h, inline/rtems/score/isr.inl,
160        macros/rtems/score/isr.inl: Modified to allow any port to provide
161        its own implementation of the macro _ISR_Is_in_progress.  If the
162        port overrides this macro, it must provide a non-inlined function
163        implementation.
164
1652001-11-20      Joel Sherrill <joel@OARcorp.com>
166
167        * src/threadhandler.c: When __USE__MAIN__ is defined by the toolset,
168        invoke the global constructors via __main.  Reported as tested by
169        Alexandra Kossovsky <sasha@oktet.ru> and  Victor V. Vengerov
170        <vvv@oktet.ru> in conjunction with a new set of tool RPMs
171        (gcc2.95.3newlib1.9.0-3).  This was tracked as GNATS PR tools/84.
172
1732001-11-07      Joel Sherrill <joel@OARcorp.com>
174
175        Reported by Todor.Todorov@barco.com and tracked as PR36.
176        * include/rtems/score/object.h: Added prototype for
177        _Objects_Get_by_index().
178        * src/objectget.c, src/objectgetisr.c: Corrected procedure for
179        getting index from Id so it is correct and optimal for both single
180        and multiprocessor configurations.
181
1822001-10-22      Joel Sherrill <joel@OARcorp.com>
183
184        * src/threadhandler.c: Use __USE_INIT_FINI__ since USE_INIT_FINI
185        pollutes the application namespace.
186
1872001-10-16      Joel Sherrill <joel@OARcorp.com>
188
189        * .cvsignore: Add stamp-h.in.
190
1912001-10-16      Joel Sherrill <joel@OARcorp.com>
192
193        * include/Makefile.am: Fixed path to cpuopts-tmp.h.
194
1952001-10-16      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
196
197        * include/rtems/Makefile.am: Remove.
198        * include/rtems/Makefile.am: Remove.
199        * include/Makefile.am: Handle subdirs, require automake-1.5.
200        * macros/rtems/Makefile.am: Remove.
201        * macros/rtems/score/Makefile.am: Remove.
202        * macros/Makefile.am: Handle subdirs, require automake-1.5.
203        * inline/rtems/Makefile.am: Remove.
204        * inline/rtems/score/Makefile.am: Remove.
205        * inline/Makefile.am: Handle subdirs, require automake-1.5.
206        * Makefile.am: require automake-1.5
207
2082001-09-28      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
209
210        * include/rtems/score/Makefile.am: Use 'PREINSTALL_FILES ='.
211        * include/rtems/Makefile.am: Use 'PREINSTALL_FILES ='.
212        * inline/rtems/score/Makefile.am: Use 'PREINSTALL_FILES ='.
213        * macros/rtems/score/Makefile.am: Use 'PREINSTALL_FILES ='.
214
2152001-09-27      Eric Norum <eric.norum@usask.ca>
216
217        * src/threadhandler.c: Now process C++ global constructors
218        (_init) as part of the first task execution not in BSP space.
219        This depends on the toolset defining USE_INIT_FINI so you
220        have to have the right toolset version.
221
2222001-09-23      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
223
224        * include/rtems/score/Makefile.am: Use 'PREINSTALL_FILES ='.
225        * include/rtems/Makefile.am: Use 'PREINSTALL_FILES ='.
226        * inline/rtems/score/Makefile.am: Use 'PREINSTALL_FILES ='.
227        * macros/rtems/score/Makefile.am: Use 'PREINSTALL_FILES ='.
228
2292001-08-30      Joel Sherrill <joel@OARcorp.com>
230
231        *  src/coremutex.c, src/coremutexseize.c, src/coremutexsurrender.c,
232        inline/rtems/score/coremutex.inl: The per thread field resource_count
233        should only be manipulated when a mutex is priority ceiling or
234        priority inherit.  This was reported by Chris Johns <ccj@acm.org>
235        who also noticed that the use of switches for all disciplines
236        generated less efficient code than using explicit tests for the one
237        or two cases we were really interested in.  Further review of his
238        modifications made it apparent that the "isa" methods to test mutex
239        discipline were not being used so this modification was swept into
240        the code as well.
241
2422001-08-30      Joel Sherrill <joel@OARcorp.com>
243
244        * src/coremutexseize.c: Add missing code for proper handling
245        of nesting acquisitions.  This only impacts building with
246        inlines disabled on the source with the "fast mutex" optimizations.
247        This was post the 4.5 branch and did not impact released versions.
248
2492001-08-16      Joel Sherrill <joel@OARcorp.com>
250
251        * src/coremutexsurrender.c: Use holder thread not executing
252        thread because even though they may and often are the same
253        it is not guaranteed unless the proper attribute is set.
254
2552001-08-16      Joel Sherrill <joel@OARcorp.com>
256
257        * include/rtems/score/coremsg.h, src/coremsgsubmit.c: Add a new
258        return status to account for blocking sends.  Otherwise, the
259        caller will think that the returned message status will have
260        the ultimate results of the operation.  If the send times out,
261        the final status will be in the return_code of the thread.
262
2632001-08-09      Joel Sherrill <joel@OARcorp.com>
264
265        * include/rtems/score/coremsg.h, inline/rtems/score/coremsg.inl,
266        src/coremsgsubmit.c: Unblocking message queue operations should
267        NOT use _Thread_Executing for return status since it is permissible
268        to invoke message send operations from an ISR.  This was reported
269        by Suvrat Gupta <suvrat@utstar.com>.
270
2712000-05-25      Sergei Organov <osv@javad.ru>
272
273        * macros/rtems/score/coresem.inl, inline/rtems/score/coresem.inl:
274        Cut and paste problem incorrectly enabled interrupts twice with
275        the first time being too early.
276
2772001-05-09      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
278
279        * include/rtems/score/.cvsignore: Add stamp-h, cpuopts.h,
280        cpuopts.h.in, cpuopts-tmp.h.
281
2822001-02-03      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
283
284        * include/rtems/Makefile.am, include/rtems/score/Makefile.am,
285        inline/rtems/score/Makefile.am, macros/rtems/score/Makefile.am
286        Apply include_*HEADERS instead of H_FILES.
287
2882001-01-29      Joel Sherrill <joel@OARcorp.com>
289
290        * src/objectextendinformation.c: Added include of string.h to
291        eliminate warning.
292
2932001-01-08      Joel Sherrill <joel@OARcorp.com>
294
295        * src/threadinitialize.c: Fix my bad hack of Ralf's fp_area
296        warning removal patch. :(
297
2982001-01-08      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
299
300        * src/threadinitialize.c: Removed warning.
301
3022001-01-03      Joel Sherrill <joel@OARcorp.com>
303
304        * src/isr.c: Modify to properly dereference _ISR_Vector_table
305        now that it is dynamically allocated.
306
3072000-12-19      Joel Sherrill <joel@OARcorp.com>
308
309        * src/isr.c: Allocate the _ISR_Vector_table all the time not just when
310        we are allocating an interrupt stack.
311
3122000-12-13      Joel Sherrill <joel@OARcorp.com>
313
314        * include/rtems/score/isr.h, src/isr.c: Allocate it from the
315        workspace rather than explicitly declaring it.  This allows
316        the size to be a non-constant from the perspective of score/cpu.
317
3182000-12-01      Joel Sherrill <joel@OARcorp.com>
319
320        * macros/rtems/score/coresem.inl: Removed comments since convention
321        calls for comments to be in inline versin.
322        * macros/rtems/score/object.inl (Objects_Get_local_object): Fixed
323        style to use _ prefix on variable names and use parentheses.
324        * macros/rtems/score/object.inl (_Objects_Namespace_remove): Added.
325
3262000-11-30      Joel Sherrill <joel@OARcorp.com>
327
328        * General effort to make things compile with macros not inlines
329        * inline/rtems/score/coremutex.inl: Added comment indicating
330        for macros there is another copy of
331        _CORE_mutex_Seize_interrupt_trylock() in src/coremutexseize.c.
332        * src/coremutexseize.c: Added body of
333        _CORE_mutex_Seize_interrupt_trylock() for macro case.
334        * macros/rtems/score/coremutex.inl: Added prototype for
335        _CORE_mutex_Seize_interrupt_trylock() since there is a real
336        body when macros are enabled.
337        * macros/rtems/score/coresem.inl: Added macro implementation of
338        _CORE_semaphore_Seize_isr_disable.
339        * macros/score/Makefile.am: Fixed typos.
340        * rtems/score/address.inl: Correct macro implementation of
341        _Addresses_Is_aligned() so it would compile.
342        * macros/rtems/score/coremsg.inl: Added closing parentheses.
343       
3442000-11-28      Chris Johns <ccj@acm.org>
345
346        * src/heapallocate.c: Do not allow the size to overflow when
347        adjusting it.  A test allocated a stack of -1 (~0). This
348        actually resulted in a stack being allocated but with a
349        size of 0xb. The allocator did not test the size to see if
350        it rolled through 0 and so allowed the allocation to happen, the
351        thread to get created. The task crashed as you would expect.
352
3532000-11-02      Joel Sherrill <joel@OARcorp.com>
354
355        * include/rtems/system.h: Use proper conditional (RTEMS_POSIX_API)
356        so prototypes for POSIX_MP_NOT_IMPLEMENTED(), POSIX_NOT_IMPLEMENTED(),
357        POSIX_BOTTOM_REACHED() are actually included.
358
3592000-11-02      Joel Sherrill <joel@OARcorp.com>
360
361        * include/rtems/system.h: Add prototypes for POSIX_MP_NOT_IMPLEMENTED(),
362        POSIX_NOT_IMPLEMENTED(), POSIX_BOTTOM_REACHED() removed from newlib.
363
3642000-10-18      Nick Simon <Nick.SIMON@syntegra.bt.co.uk>
365
366        * src/heapgetinfo.c, include/rtems/score/heap.h, src/Makefile.am:
367        Added _Heap_Get_information() and information control block.
368        * src/heapgetinfo.c: New file.
369
3702000-09-25      Joel Sherrill <joel@OARcorp.com>
371
372        * rtems/system.h: Switched a29k and hppa1.1 to using cpuopts.h not
373        targopts.h to reduce dependency on BSP.
374
3752000-09-20      Joel Sherrill <joel@OARcorp.com>
376
377        * src/objectgetbyindex.c: Do not enable dispatching on an
378        error path it was not disabled on.
379
3802000-09-04      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
381
382        * src/Makefile.am: Include compile.am.
383
3842000-08-30      Joel Sherrill <joel@OARcorp.com>
385
386        * Many files: Moved posix/include/rtems/posix/seterr.h to
387        score/include/rtems/seterr.h so it would be available within
388        all APIs.
389
3902000-08-17      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
391
392        * include/rtems/system.h: Include cpuopts.h for __i386__.
393
3942000-08-10      Joel Sherrill <joel@OARcorp.com>
395
396        * ChangeLog: New file.
Note: See TracBrowser for help on using the repository browser.