source: rtems/cpukit/score/ChangeLog @ a85d8ec

4.104.114.84.95
Last change on this file since a85d8ec was 323845bd, checked in by Joel Sherrill <joel.sherrill@…>, on 07/23/02 at 22:43:13

2002-07-22 Joel Sherrill <joel@…>

  • include/rtems/score/apimutex.h (_API_Mutex_Lock): Per PR253 add the missing _ISR_Disable. This fix was already applied to the old location (c/src/exec/score/...).
  • Property mode set to 100644
File size: 17.1 KB
Line 
12002-07-22      Joel Sherrill <joel@OARcorp.com>
2
3        * include/rtems/score/apimutex.h (_API_Mutex_Lock): Per PR253
4        add the missing _ISR_Disable.  This fix was already applied to
5        the old location (c/src/exec/score/...).
6
72002-07-22      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
8
9        * src/Makefile.am: Use .$(OBJEXT) instead of .o.
10
112002-07-16      Joel Sherrill <joel@OARcorp.com>
12
13        * macros/rtems/score/object.inl: Corrected typos in
14        _Objects_Open, _Objects_Close, and _Objects_Namespace_remove.
15
162002-07-05      Joel Sherrill <joel@OARcorp.com>
17
18        * macros/rtems/score/object.inl: Corrected implementation of
19        _Objects_Open, _Objects_Close, and _Objects_Namespace_remove
20        to be consistent with the inline implementation.
21
222002-07-01    Joel Sherrill <joel@OARcorp.com>
23
24        * Mega patch merge to change the format of the object IDs to
25        loosen the dependency between the SCORE and the various APIs.
26        There was considerable work to simplify the object name management
27        and it appears that the name_table field is no longer needed.
28        This patch also includes the addition of the internal mutex
29        which is currently only used to protect some types of allocation
30        and deallocation.  This significantly can reduce context
31        switch latency under certain circumstances.  In particular,
32        some heap/region operations were O(n) and had dispatching
33        disabled.  This should help enormously.  With this merge,
34        the patch is not as clean as it should be.  In particular,
35        the documentation has not been modified to reflect the new object
36        ID layout, the IDs in the test screens are not updated, and
37        _Objects_Get_information needs to be a real routine not inlined.
38        As part of this patch a lot of MP code for thread/proxy blocking
39        was made conditional and cleaned up.
40        * include/Makefile.am, include/rtems/score/coremsg.h,
41        include/rtems/score/coremutex.h, include/rtems/score/coresem.h,
42        include/rtems/score/object.h, include/rtems/score/threadq.h,
43        inline/rtems/score/object.inl, inline/rtems/score/thread.inl,
44        macros/rtems/score/object.inl, src/Makefile.am, src/coremsg.c,
45        src/coremutex.c, src/coresem.c, src/mpci.c,
46        src/objectcomparenameraw.c, src/objectextendinformation.c,
47        src/objectinitializeinformation.c, src/objectnametoid.c,
48        src/thread.c, src/threadclose.c, src/threadget.c, src/threadq.c,
49        src/threadqextractwithproxy.c: Modified as part of above.
50        * include/rtems/score/apimutex.h, src/objectgetnoprotection.c: New
51        files.
52
532001-05-17      Joel Sherrill <joel@OARcorp.com>
54
55        * macros/rtems/score/thread..inl: Implemented missing routines
56        for new libc reentrancy support.
57
582002-05-15      Chris Johns <ccj@acm.org>
59
60        * include/rtems/score/thread.h, inline/rtems/score/thread.inl,
61        src/threaddispatch.c, src/threadinitialize.c:
62        Move the C library re-enterrant support directly into
63        the thread dispatch code. RTEMS needs libc and so requiring
64        libc to use a user extension with its overhead is not the best
65        solution. This patch lowers the overhead to 2 pointer moves.
66
672002-05-03      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
68
69        * include/Makefile.am: Work-around to autoconf-2.53 adding PACKAGE_*
70        to autoheaders - sed out *PACKAGE* from cpuopts-tmp.h.
71
722001-05-14      Till Straumann <strauman@slac.stanford.edu>
73
74        * src/threaddispatch.c, src/threadhandler.c: Per PR211 fix
75        saving/restoring floating point context.  The fpsave and fprestore
76        routines are only used in a executing context which _is_ fp and hence
77        has the FPU enabled. The current behavior required the FPU always to
78        be on which is very dangerous if lazy context switching is used. 
79        [Joel Note: Some ports explicitly enabled the FPU in the FP save and
80        restore routines to avoid this.]
81
82        The patch also makes sure (on powerpc only) that the FPU is disabled
83        for integer tasks. Note that this is crucial if deferred fp context
84        switching is used. Otherwise, fp context corruption may go undetected!
85        Also note that even tasks which merely push/pop FP registers to/from
86        the stack without modifying them still MUST be FP tasks - otherwise
87        (if lazy FP context switching is used), FP register corruption (of
88        other, FP, tasks may occur)!
89
90        Furthermore, (on PPC) by default, lazy FP context save/restore
91        is _disabled_.
92
932001-04-26      Joel Sherrill <joel@OARcorp.com>
94
95        * src/objectcomparenamestring.c: Fix typos.
96 
972001-04-26      Joel Sherrill <joel@OARcorp.com>
98
99        * include/rtems/score/object.h, inline/rtems/score/object.inl,
100        src/objectcomparenamestring.c: Address PR81 that
101        reworked POSIX message queues to add a descriptor separate from
102        the underlying message queue.  This allows non-blocking to follow
103        the "open" not the underlying queue.   As part of debugging this
104        it became clear that _Objects_Compare_name_string was broken
105        and a simple version using strncmp() was substituted.
106 
1072002-04-18      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
108
109        * include/rtems/system.h: Remove targopts.h.
110
1112002-04-17      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
112
113        * include/rtems/system.h: Add the sparc to the target supporting
114        multlibs.
115
1162002-04-16      Chris Johns <ccj@acm.org>
117
118        * src/threadinitialize.c: Per PR181, clear the array of user extension
119        pointers. This lets user extensions that have hooked the switch handler
120        know if a task has been processed by the user extension before. If a
121        user extension is created after a task is started it may not know it.
122
1232002-04-12      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
124
125        * include/rtems/system.h: Add i386 to multilib-able targets.
126
1272001-04-11      Joel Sherrill <joel@OARcorp.com>
128
129       
130        * macros/rtems/score/userext.inl: Now works after merging patch for
131        functionality requested in PR174.
132        * inline/rtems/score/userext.inl: Added a comment explaining the
133        order in which routines appear since it is not the obvious order.
134 
1352002-04-08      Chris Johns <ccj@acm.org>
136
137        * Per PR141 and PR174, make task switch extension its own list and
138        fix all odd problems introduced by providing macro version.
139        * inline/rtems/score/userext.inl: Fix.
140
1412001-04-08      Joel Sherrill <joel@OARcorp.com>
142
143        * macros/rtems/score/object.inl: Corrected arguments.
144 
1452001-04-08      Joel Sherrill <joel@OARcorp.com>
146
147        * macros/rtems/score/userext.inl: Updated to reflect modifications
148        to inline version from PR142.
149        * inline/rtems/score/userext.inl: Cleanup as side-effect of above.
150 
1512002-04-08      Chris Johns <ccj@acm.org>
152
153        * Per PR142, make task switch extension its own list.
154        * include/rtems/score/userext.h: Reflect above by adding
155        User_extensions_Switch_control and adding it to User_extenions_Control.
156        * inline/rtems/score/userext.inl: Allocate all memory in one chunk
157        to minimize overhead.  Address processing dedicated switch chain.
158
1592002-04-08      Chris Johns <ccj@acm.org>
160
161        * Per PR142, make task switch extension its own list.
162        * include/rtems/score/userext.h: Reflect above by adding
163        User_extensions_Switch_control and adding it to User_extenions_Control.
164        * inline/rtems/score/userext.inl: Allocate all memory in one chunk
165        to minimize overhead.  Address processing dedicated switch chain.
166
1672002-03-27      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
168
169        * cpu/Makefile.am: Remove AUTOMAKE_OPTIONS.
170        * src/Makefile.am: Remove AUTOMAKE_OPTIONS.
171        * Makefile.am: Remove AUTOMAKE_OPTIONS.
172        * include/Makefile.am: Remove AUTOMAKE_OPTIONS.
173        * inline/Makefile.am: Remove AUTOMAKE_OPTIONS.
174        * macros/Makefile.am: Remove AUTOMAKE_OPTIONS.
175
1762002-01-29      Joel Sherrill <joel@OARcorp.com>
177
178        * include/rtems/score/watchdog.h: Added WATCHDOG_MAXIMUM_INTERVAL.
179
1802002-01-19      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
181
182        * include/rtems/system.h: Fix typo in yesterday's change:
183        RTEMS_MULTILIBS.
184
1852001-01-18      Joel Sherrill <joel@OARcorp.com>
186
187        * include/rtems/system.h: Only include cpuopts.h when building a
188        multilib configuration.  Some ports still need targopts.h but this
189        small modification lets those ports work non-multilib while
190        fixing being fixed for multilib.
191       
1922002-01-04      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
193
194        * include/rtems/seterr.h: Add do {..} while (0) in defines.
195        Rename set_errno_and_return_minus_one into
196        rtems_set_errno_and_return_minus_one.
197
1982001-12-19      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
199
200        * inline/rtems/score/object.inl, macros/rtems/score/object.inl: Add
201        add casts to Objects_Id in _Objects_Build_ids to avoid implicit
202        typecasts from enum to int16 on bit16 targets (here: h8300).
203
2042001-12-19      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
205
206        * src/Makefile.am: Add multilib support.
207
2082001-11-28      Joel Sherrill <joel@OARcorp.com>,
209
210        This was tracked as PR91.
211        * include/rtems/score/isr.h, inline/rtems/score/isr.inl,
212        macros/rtems/score/isr.inl: Modified to allow any port to provide
213        its own implementation of the macro _ISR_Is_in_progress.  If the
214        port overrides this macro, it must provide a non-inlined function
215        implementation.
216
2172001-11-20      Joel Sherrill <joel@OARcorp.com>
218
219        * src/threadhandler.c: When __USE__MAIN__ is defined by the toolset,
220        invoke the global constructors via __main.  Reported as tested by
221        Alexandra Kossovsky <sasha@oktet.ru> and  Victor V. Vengerov
222        <vvv@oktet.ru> in conjunction with a new set of tool RPMs
223        (gcc2.95.3newlib1.9.0-3).  This was tracked as GNATS PR tools/84.
224
2252001-11-07      Joel Sherrill <joel@OARcorp.com>
226
227        Reported by Todor.Todorov@barco.com and tracked as PR36.
228        * include/rtems/score/object.h: Added prototype for
229        _Objects_Get_by_index().
230        * src/objectget.c, src/objectgetisr.c: Corrected procedure for
231        getting index from Id so it is correct and optimal for both single
232        and multiprocessor configurations.
233
2342001-10-22      Joel Sherrill <joel@OARcorp.com>
235
236        * src/threadhandler.c: Use __USE_INIT_FINI__ since USE_INIT_FINI
237        pollutes the application namespace.
238
2392001-10-16      Joel Sherrill <joel@OARcorp.com>
240
241        * .cvsignore: Add stamp-h.in.
242
2432001-10-16      Joel Sherrill <joel@OARcorp.com>
244
245        * include/Makefile.am: Fixed path to cpuopts-tmp.h.
246
2472001-10-16      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
248
249        * include/rtems/Makefile.am: Remove.
250        * include/rtems/Makefile.am: Remove.
251        * include/Makefile.am: Handle subdirs, require automake-1.5.
252        * macros/rtems/Makefile.am: Remove.
253        * macros/rtems/score/Makefile.am: Remove.
254        * macros/Makefile.am: Handle subdirs, require automake-1.5.
255        * inline/rtems/Makefile.am: Remove.
256        * inline/rtems/score/Makefile.am: Remove.
257        * inline/Makefile.am: Handle subdirs, require automake-1.5.
258        * Makefile.am: require automake-1.5
259
2602001-09-28      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
261
262        * include/rtems/score/Makefile.am: Use 'PREINSTALL_FILES ='.
263        * include/rtems/Makefile.am: Use 'PREINSTALL_FILES ='.
264        * inline/rtems/score/Makefile.am: Use 'PREINSTALL_FILES ='.
265        * macros/rtems/score/Makefile.am: Use 'PREINSTALL_FILES ='.
266
2672001-09-27      Eric Norum <eric.norum@usask.ca>
268
269        * src/threadhandler.c: Now process C++ global constructors
270        (_init) as part of the first task execution not in BSP space.
271        This depends on the toolset defining USE_INIT_FINI so you
272        have to have the right toolset version.
273
2742001-09-23      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
275
276        * include/rtems/score/Makefile.am: Use 'PREINSTALL_FILES ='.
277        * include/rtems/Makefile.am: Use 'PREINSTALL_FILES ='.
278        * inline/rtems/score/Makefile.am: Use 'PREINSTALL_FILES ='.
279        * macros/rtems/score/Makefile.am: Use 'PREINSTALL_FILES ='.
280
2812001-08-30      Joel Sherrill <joel@OARcorp.com>
282
283        *  src/coremutex.c, src/coremutexseize.c, src/coremutexsurrender.c,
284        inline/rtems/score/coremutex.inl: The per thread field resource_count
285        should only be manipulated when a mutex is priority ceiling or
286        priority inherit.  This was reported by Chris Johns <ccj@acm.org>
287        who also noticed that the use of switches for all disciplines
288        generated less efficient code than using explicit tests for the one
289        or two cases we were really interested in.  Further review of his
290        modifications made it apparent that the "isa" methods to test mutex
291        discipline were not being used so this modification was swept into
292        the code as well.
293
2942001-08-30      Joel Sherrill <joel@OARcorp.com>
295
296        * src/coremutexseize.c: Add missing code for proper handling
297        of nesting acquisitions.  This only impacts building with
298        inlines disabled on the source with the "fast mutex" optimizations.
299        This was post the 4.5 branch and did not impact released versions.
300
3012001-08-16      Joel Sherrill <joel@OARcorp.com>
302
303        * src/coremutexsurrender.c: Use holder thread not executing
304        thread because even though they may and often are the same
305        it is not guaranteed unless the proper attribute is set.
306
3072001-08-16      Joel Sherrill <joel@OARcorp.com>
308
309        * include/rtems/score/coremsg.h, src/coremsgsubmit.c: Add a new
310        return status to account for blocking sends.  Otherwise, the
311        caller will think that the returned message status will have
312        the ultimate results of the operation.  If the send times out,
313        the final status will be in the return_code of the thread.
314
3152001-08-09      Joel Sherrill <joel@OARcorp.com>
316
317        * include/rtems/score/coremsg.h, inline/rtems/score/coremsg.inl,
318        src/coremsgsubmit.c: Unblocking message queue operations should
319        NOT use _Thread_Executing for return status since it is permissible
320        to invoke message send operations from an ISR.  This was reported
321        by Suvrat Gupta <suvrat@utstar.com>.
322
3232000-05-25      Sergei Organov <osv@javad.ru>
324
325        * macros/rtems/score/coresem.inl, inline/rtems/score/coresem.inl:
326        Cut and paste problem incorrectly enabled interrupts twice with
327        the first time being too early.
328
3292001-05-09      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
330
331        * include/rtems/score/.cvsignore: Add stamp-h, cpuopts.h,
332        cpuopts.h.in, cpuopts-tmp.h.
333
3342001-02-03      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
335
336        * include/rtems/Makefile.am, include/rtems/score/Makefile.am,
337        inline/rtems/score/Makefile.am, macros/rtems/score/Makefile.am
338        Apply include_*HEADERS instead of H_FILES.
339
3402001-01-29      Joel Sherrill <joel@OARcorp.com>
341
342        * src/objectextendinformation.c: Added include of string.h to
343        eliminate warning.
344
3452001-01-08      Joel Sherrill <joel@OARcorp.com>
346
347        * src/threadinitialize.c: Fix my bad hack of Ralf's fp_area
348        warning removal patch. :(
349
3502001-01-08      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
351
352        * src/threadinitialize.c: Removed warning.
353
3542001-01-03      Joel Sherrill <joel@OARcorp.com>
355
356        * src/isr.c: Modify to properly dereference _ISR_Vector_table
357        now that it is dynamically allocated.
358
3592000-12-19      Joel Sherrill <joel@OARcorp.com>
360
361        * src/isr.c: Allocate the _ISR_Vector_table all the time not just when
362        we are allocating an interrupt stack.
363
3642000-12-13      Joel Sherrill <joel@OARcorp.com>
365
366        * include/rtems/score/isr.h, src/isr.c: Allocate it from the
367        workspace rather than explicitly declaring it.  This allows
368        the size to be a non-constant from the perspective of score/cpu.
369
3702000-12-01      Joel Sherrill <joel@OARcorp.com>
371
372        * macros/rtems/score/coresem.inl: Removed comments since convention
373        calls for comments to be in inline versin.
374        * macros/rtems/score/object.inl (Objects_Get_local_object): Fixed
375        style to use _ prefix on variable names and use parentheses.
376        * macros/rtems/score/object.inl (_Objects_Namespace_remove): Added.
377
3782000-11-30      Joel Sherrill <joel@OARcorp.com>
379
380        * General effort to make things compile with macros not inlines
381        * inline/rtems/score/coremutex.inl: Added comment indicating
382        for macros there is another copy of
383        _CORE_mutex_Seize_interrupt_trylock() in src/coremutexseize.c.
384        * src/coremutexseize.c: Added body of
385        _CORE_mutex_Seize_interrupt_trylock() for macro case.
386        * macros/rtems/score/coremutex.inl: Added prototype for
387        _CORE_mutex_Seize_interrupt_trylock() since there is a real
388        body when macros are enabled.
389        * macros/rtems/score/coresem.inl: Added macro implementation of
390        _CORE_semaphore_Seize_isr_disable.
391        * macros/score/Makefile.am: Fixed typos.
392        * rtems/score/address.inl: Correct macro implementation of
393        _Addresses_Is_aligned() so it would compile.
394        * macros/rtems/score/coremsg.inl: Added closing parentheses.
395       
3962000-11-28      Chris Johns <ccj@acm.org>
397
398        * src/heapallocate.c: Do not allow the size to overflow when
399        adjusting it.  A test allocated a stack of -1 (~0). This
400        actually resulted in a stack being allocated but with a
401        size of 0xb. The allocator did not test the size to see if
402        it rolled through 0 and so allowed the allocation to happen, the
403        thread to get created. The task crashed as you would expect.
404
4052000-11-02      Joel Sherrill <joel@OARcorp.com>
406
407        * include/rtems/system.h: Use proper conditional (RTEMS_POSIX_API)
408        so prototypes for POSIX_MP_NOT_IMPLEMENTED(), POSIX_NOT_IMPLEMENTED(),
409        POSIX_BOTTOM_REACHED() are actually included.
410
4112000-11-02      Joel Sherrill <joel@OARcorp.com>
412
413        * include/rtems/system.h: Add prototypes for POSIX_MP_NOT_IMPLEMENTED(),
414        POSIX_NOT_IMPLEMENTED(), POSIX_BOTTOM_REACHED() removed from newlib.
415
4162000-10-18      Nick Simon <Nick.SIMON@syntegra.bt.co.uk>
417
418        * src/heapgetinfo.c, include/rtems/score/heap.h, src/Makefile.am:
419        Added _Heap_Get_information() and information control block.
420        * src/heapgetinfo.c: New file.
421
4222000-09-25      Joel Sherrill <joel@OARcorp.com>
423
424        * rtems/system.h: Switched a29k and hppa1.1 to using cpuopts.h not
425        targopts.h to reduce dependency on BSP.
426
4272000-09-20      Joel Sherrill <joel@OARcorp.com>
428
429        * src/objectgetbyindex.c: Do not enable dispatching on an
430        error path it was not disabled on.
431
4322000-09-04      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
433
434        * src/Makefile.am: Include compile.am.
435
4362000-08-30      Joel Sherrill <joel@OARcorp.com>
437
438        * Many files: Moved posix/include/rtems/posix/seterr.h to
439        score/include/rtems/seterr.h so it would be available within
440        all APIs.
441
4422000-08-17      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
443
444        * include/rtems/system.h: Include cpuopts.h for __i386__.
445
4462000-08-10      Joel Sherrill <joel@OARcorp.com>
447
448        * ChangeLog: New file.
Note: See TracBrowser for help on using the repository browser.