source: rtems/cpukit/score/ChangeLog @ 38ae496e

4.104.114.84.95
Last change on this file since 38ae496e was 38ae496e, checked in by Ralf Corsepius <ralf.corsepius@…>, on 07/22/02 at 13:57:35

2002-07-22 Ralf Corsepius <corsepiu@…>

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