source: rtems/cpukit/score/ChangeLog @ e3e93eb

4.104.114.84.95
Last change on this file since e3e93eb was e3e93eb, checked in by Ralf Corsepius <ralf.corsepius@…>, on Dec 9, 2002 at 11:27:37 AM

2002-12-09 Ralf Corsepius <corsepiu@…>

Makefile.am: Move include/rtems/score/cpuopts.h to STD_H_FILES.

  • Property mode set to 100644
File size: 18.4 KB
Line 
12002-12-09      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
2
3        Makefile.am: Move include/rtems/score/cpuopts.h to STD_H_FILES.
4
52002-12-09      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
6
7        * include/Makefile.am: Remove.
8        * inline/Makefile.am: Remove.
9        * macros/Makefile.am: Remove.
10        * src/Makefile.am: Remove.
11        * Makefile.am: Merge-in removed Makefile.ams.
12
132002-12-02      Joel Sherrill <joel@OARcorp.com>
14
15        * include/rtems/score/object.h, include/rtems/score/tod.h:
16        Added casts to eliminate warnings on 16 bit targets like the h8300.
17
182002-11-14      Joel Sherrill <joel@OARcorp.com>
19
20        * macros/rtems/score/object.inl: Keep consistent with inline version.
21
222002-10-31      Joel Sherrill <joel@OARcorp.com>
23
24        * src/heapgetinfo.c: Fixed comment.
25        * src/mpci.c: Removed warning.
26
272002-10-28      Joel Sherrill <joel@OARcorp.com>
28
29        * src/threadhandler.c: Prototype _init() and _main() if they are needed
30        to avoid a warning.
31
322002-08-14      Joel Sherrill <joel@OARcorp.com>
33
34        * macros/rtems/score/coremsg.inl: Add <string.h> to remove warning.
35        * src/threadidlebody.c: Add return 0 to avoid warning.
36
372002-08-07      Chris Johns <ccj@acm.org>
38
39        * src/coretodset.c: Correct calculation of ticks until next section
40        boundary.  It was incorrectly based upon current time not the
41        time that is being set.
42
432002-07-31      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
44
45        * src/Makefile.am: Build into libscore.a.
46
472002-07-22      Joel Sherrill <joel@OARcorp.com>
48
49        * include/rtems/score/apimutex.h (_API_Mutex_Lock): Per PR253
50        add the missing _ISR_Disable.  This fix was already applied to
51        the old location (c/src/exec/score/...).
52
532002-07-22      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
54
55        * src/Makefile.am: Use .$(OBJEXT) instead of .o.
56
572002-07-16      Joel Sherrill <joel@OARcorp.com>
58
59        * macros/rtems/score/object.inl: Corrected typos in
60        _Objects_Open, _Objects_Close, and _Objects_Namespace_remove.
61
622002-07-05      Joel Sherrill <joel@OARcorp.com>
63
64        * macros/rtems/score/object.inl: Corrected implementation of
65        _Objects_Open, _Objects_Close, and _Objects_Namespace_remove
66        to be consistent with the inline implementation.
67
682002-07-01    Joel Sherrill <joel@OARcorp.com>
69
70        * Mega patch merge to change the format of the object IDs to
71        loosen the dependency between the SCORE and the various APIs.
72        There was considerable work to simplify the object name management
73        and it appears that the name_table field is no longer needed.
74        This patch also includes the addition of the internal mutex
75        which is currently only used to protect some types of allocation
76        and deallocation.  This significantly can reduce context
77        switch latency under certain circumstances.  In particular,
78        some heap/region operations were O(n) and had dispatching
79        disabled.  This should help enormously.  With this merge,
80        the patch is not as clean as it should be.  In particular,
81        the documentation has not been modified to reflect the new object
82        ID layout, the IDs in the test screens are not updated, and
83        _Objects_Get_information needs to be a real routine not inlined.
84        As part of this patch a lot of MP code for thread/proxy blocking
85        was made conditional and cleaned up.
86        * include/Makefile.am, include/rtems/score/coremsg.h,
87        include/rtems/score/coremutex.h, include/rtems/score/coresem.h,
88        include/rtems/score/object.h, include/rtems/score/threadq.h,
89        inline/rtems/score/object.inl, inline/rtems/score/thread.inl,
90        macros/rtems/score/object.inl, src/Makefile.am, src/coremsg.c,
91        src/coremutex.c, src/coresem.c, src/mpci.c,
92        src/objectcomparenameraw.c, src/objectextendinformation.c,
93        src/objectinitializeinformation.c, src/objectnametoid.c,
94        src/thread.c, src/threadclose.c, src/threadget.c, src/threadq.c,
95        src/threadqextractwithproxy.c: Modified as part of above.
96        * include/rtems/score/apimutex.h, src/objectgetnoprotection.c: New
97        files.
98
992001-05-17      Joel Sherrill <joel@OARcorp.com>
100
101        * macros/rtems/score/thread..inl: Implemented missing routines
102        for new libc reentrancy support.
103
1042002-05-15      Chris Johns <ccj@acm.org>
105
106        * include/rtems/score/thread.h, inline/rtems/score/thread.inl,
107        src/threaddispatch.c, src/threadinitialize.c:
108        Move the C library re-enterrant support directly into
109        the thread dispatch code. RTEMS needs libc and so requiring
110        libc to use a user extension with its overhead is not the best
111        solution. This patch lowers the overhead to 2 pointer moves.
112
1132002-05-03      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
114
115        * include/Makefile.am: Work-around to autoconf-2.53 adding PACKAGE_*
116        to autoheaders - sed out *PACKAGE* from cpuopts-tmp.h.
117
1182001-05-14      Till Straumann <strauman@slac.stanford.edu>
119
120        * src/threaddispatch.c, src/threadhandler.c: Per PR211 fix
121        saving/restoring floating point context.  The fpsave and fprestore
122        routines are only used in a executing context which _is_ fp and hence
123        has the FPU enabled. The current behavior required the FPU always to
124        be on which is very dangerous if lazy context switching is used. 
125        [Joel Note: Some ports explicitly enabled the FPU in the FP save and
126        restore routines to avoid this.]
127
128        The patch also makes sure (on powerpc only) that the FPU is disabled
129        for integer tasks. Note that this is crucial if deferred fp context
130        switching is used. Otherwise, fp context corruption may go undetected!
131        Also note that even tasks which merely push/pop FP registers to/from
132        the stack without modifying them still MUST be FP tasks - otherwise
133        (if lazy FP context switching is used), FP register corruption (of
134        other, FP, tasks may occur)!
135
136        Furthermore, (on PPC) by default, lazy FP context save/restore
137        is _disabled_.
138
1392001-04-26      Joel Sherrill <joel@OARcorp.com>
140
141        * src/objectcomparenamestring.c: Fix typos.
142 
1432001-04-26      Joel Sherrill <joel@OARcorp.com>
144
145        * include/rtems/score/object.h, inline/rtems/score/object.inl,
146        src/objectcomparenamestring.c: Address PR81 that
147        reworked POSIX message queues to add a descriptor separate from
148        the underlying message queue.  This allows non-blocking to follow
149        the "open" not the underlying queue.   As part of debugging this
150        it became clear that _Objects_Compare_name_string was broken
151        and a simple version using strncmp() was substituted.
152 
1532002-04-18      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
154
155        * include/rtems/system.h: Remove targopts.h.
156
1572002-04-17      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
158
159        * include/rtems/system.h: Add the sparc to the target supporting
160        multlibs.
161
1622002-04-16      Chris Johns <ccj@acm.org>
163
164        * src/threadinitialize.c: Per PR181, clear the array of user extension
165        pointers. This lets user extensions that have hooked the switch handler
166        know if a task has been processed by the user extension before. If a
167        user extension is created after a task is started it may not know it.
168
1692002-04-12      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
170
171        * include/rtems/system.h: Add i386 to multilib-able targets.
172
1732001-04-11      Joel Sherrill <joel@OARcorp.com>
174
175       
176        * macros/rtems/score/userext.inl: Now works after merging patch for
177        functionality requested in PR174.
178        * inline/rtems/score/userext.inl: Added a comment explaining the
179        order in which routines appear since it is not the obvious order.
180 
1812002-04-08      Chris Johns <ccj@acm.org>
182
183        * Per PR141 and PR174, make task switch extension its own list and
184        fix all odd problems introduced by providing macro version.
185        * inline/rtems/score/userext.inl: Fix.
186
1872001-04-08      Joel Sherrill <joel@OARcorp.com>
188
189        * macros/rtems/score/object.inl: Corrected arguments.
190 
1912001-04-08      Joel Sherrill <joel@OARcorp.com>
192
193        * macros/rtems/score/userext.inl: Updated to reflect modifications
194        to inline version from PR142.
195        * inline/rtems/score/userext.inl: Cleanup as side-effect of above.
196 
1972002-04-08      Chris Johns <ccj@acm.org>
198
199        * Per PR142, make task switch extension its own list.
200        * include/rtems/score/userext.h: Reflect above by adding
201        User_extensions_Switch_control and adding it to User_extenions_Control.
202        * inline/rtems/score/userext.inl: Allocate all memory in one chunk
203        to minimize overhead.  Address processing dedicated switch chain.
204
2052002-04-08      Chris Johns <ccj@acm.org>
206
207        * Per PR142, make task switch extension its own list.
208        * include/rtems/score/userext.h: Reflect above by adding
209        User_extensions_Switch_control and adding it to User_extenions_Control.
210        * inline/rtems/score/userext.inl: Allocate all memory in one chunk
211        to minimize overhead.  Address processing dedicated switch chain.
212
2132002-03-27      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
214
215        * cpu/Makefile.am: Remove AUTOMAKE_OPTIONS.
216        * src/Makefile.am: Remove AUTOMAKE_OPTIONS.
217        * Makefile.am: Remove AUTOMAKE_OPTIONS.
218        * include/Makefile.am: Remove AUTOMAKE_OPTIONS.
219        * inline/Makefile.am: Remove AUTOMAKE_OPTIONS.
220        * macros/Makefile.am: Remove AUTOMAKE_OPTIONS.
221
2222002-01-29      Joel Sherrill <joel@OARcorp.com>
223
224        * include/rtems/score/watchdog.h: Added WATCHDOG_MAXIMUM_INTERVAL.
225
2262002-01-19      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
227
228        * include/rtems/system.h: Fix typo in yesterday's change:
229        RTEMS_MULTILIBS.
230
2312001-01-18      Joel Sherrill <joel@OARcorp.com>
232
233        * include/rtems/system.h: Only include cpuopts.h when building a
234        multilib configuration.  Some ports still need targopts.h but this
235        small modification lets those ports work non-multilib while
236        fixing being fixed for multilib.
237       
2382002-01-04      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
239
240        * include/rtems/seterr.h: Add do {..} while (0) in defines.
241        Rename set_errno_and_return_minus_one into
242        rtems_set_errno_and_return_minus_one.
243
2442001-12-19      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
245
246        * inline/rtems/score/object.inl, macros/rtems/score/object.inl: Add
247        add casts to Objects_Id in _Objects_Build_ids to avoid implicit
248        typecasts from enum to int16 on bit16 targets (here: h8300).
249
2502001-12-19      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
251
252        * src/Makefile.am: Add multilib support.
253
2542001-11-28      Joel Sherrill <joel@OARcorp.com>,
255
256        This was tracked as PR91.
257        * include/rtems/score/isr.h, inline/rtems/score/isr.inl,
258        macros/rtems/score/isr.inl: Modified to allow any port to provide
259        its own implementation of the macro _ISR_Is_in_progress.  If the
260        port overrides this macro, it must provide a non-inlined function
261        implementation.
262
2632001-11-20      Joel Sherrill <joel@OARcorp.com>
264
265        * src/threadhandler.c: When __USE__MAIN__ is defined by the toolset,
266        invoke the global constructors via __main.  Reported as tested by
267        Alexandra Kossovsky <sasha@oktet.ru> and  Victor V. Vengerov
268        <vvv@oktet.ru> in conjunction with a new set of tool RPMs
269        (gcc2.95.3newlib1.9.0-3).  This was tracked as GNATS PR tools/84.
270
2712001-11-07      Joel Sherrill <joel@OARcorp.com>
272
273        Reported by Todor.Todorov@barco.com and tracked as PR36.
274        * include/rtems/score/object.h: Added prototype for
275        _Objects_Get_by_index().
276        * src/objectget.c, src/objectgetisr.c: Corrected procedure for
277        getting index from Id so it is correct and optimal for both single
278        and multiprocessor configurations.
279
2802001-10-22      Joel Sherrill <joel@OARcorp.com>
281
282        * src/threadhandler.c: Use __USE_INIT_FINI__ since USE_INIT_FINI
283        pollutes the application namespace.
284
2852001-10-16      Joel Sherrill <joel@OARcorp.com>
286
287        * .cvsignore: Add stamp-h.in.
288
2892001-10-16      Joel Sherrill <joel@OARcorp.com>
290
291        * include/Makefile.am: Fixed path to cpuopts-tmp.h.
292
2932001-10-16      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
294
295        * include/rtems/Makefile.am: Remove.
296        * include/rtems/Makefile.am: Remove.
297        * include/Makefile.am: Handle subdirs, require automake-1.5.
298        * macros/rtems/Makefile.am: Remove.
299        * macros/rtems/score/Makefile.am: Remove.
300        * macros/Makefile.am: Handle subdirs, require automake-1.5.
301        * inline/rtems/Makefile.am: Remove.
302        * inline/rtems/score/Makefile.am: Remove.
303        * inline/Makefile.am: Handle subdirs, require automake-1.5.
304        * Makefile.am: require automake-1.5
305
3062001-09-28      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
307
308        * include/rtems/score/Makefile.am: Use 'PREINSTALL_FILES ='.
309        * include/rtems/Makefile.am: Use 'PREINSTALL_FILES ='.
310        * inline/rtems/score/Makefile.am: Use 'PREINSTALL_FILES ='.
311        * macros/rtems/score/Makefile.am: Use 'PREINSTALL_FILES ='.
312
3132001-09-27      Eric Norum <eric.norum@usask.ca>
314
315        * src/threadhandler.c: Now process C++ global constructors
316        (_init) as part of the first task execution not in BSP space.
317        This depends on the toolset defining USE_INIT_FINI so you
318        have to have the right toolset version.
319
3202001-09-23      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
321
322        * include/rtems/score/Makefile.am: Use 'PREINSTALL_FILES ='.
323        * include/rtems/Makefile.am: Use 'PREINSTALL_FILES ='.
324        * inline/rtems/score/Makefile.am: Use 'PREINSTALL_FILES ='.
325        * macros/rtems/score/Makefile.am: Use 'PREINSTALL_FILES ='.
326
3272001-08-30      Joel Sherrill <joel@OARcorp.com>
328
329        *  src/coremutex.c, src/coremutexseize.c, src/coremutexsurrender.c,
330        inline/rtems/score/coremutex.inl: The per thread field resource_count
331        should only be manipulated when a mutex is priority ceiling or
332        priority inherit.  This was reported by Chris Johns <ccj@acm.org>
333        who also noticed that the use of switches for all disciplines
334        generated less efficient code than using explicit tests for the one
335        or two cases we were really interested in.  Further review of his
336        modifications made it apparent that the "isa" methods to test mutex
337        discipline were not being used so this modification was swept into
338        the code as well.
339
3402001-08-30      Joel Sherrill <joel@OARcorp.com>
341
342        * src/coremutexseize.c: Add missing code for proper handling
343        of nesting acquisitions.  This only impacts building with
344        inlines disabled on the source with the "fast mutex" optimizations.
345        This was post the 4.5 branch and did not impact released versions.
346
3472001-08-16      Joel Sherrill <joel@OARcorp.com>
348
349        * src/coremutexsurrender.c: Use holder thread not executing
350        thread because even though they may and often are the same
351        it is not guaranteed unless the proper attribute is set.
352
3532001-08-16      Joel Sherrill <joel@OARcorp.com>
354
355        * include/rtems/score/coremsg.h, src/coremsgsubmit.c: Add a new
356        return status to account for blocking sends.  Otherwise, the
357        caller will think that the returned message status will have
358        the ultimate results of the operation.  If the send times out,
359        the final status will be in the return_code of the thread.
360
3612001-08-09      Joel Sherrill <joel@OARcorp.com>
362
363        * include/rtems/score/coremsg.h, inline/rtems/score/coremsg.inl,
364        src/coremsgsubmit.c: Unblocking message queue operations should
365        NOT use _Thread_Executing for return status since it is permissible
366        to invoke message send operations from an ISR.  This was reported
367        by Suvrat Gupta <suvrat@utstar.com>.
368
3692000-05-25      Sergei Organov <osv@javad.ru>
370
371        * macros/rtems/score/coresem.inl, inline/rtems/score/coresem.inl:
372        Cut and paste problem incorrectly enabled interrupts twice with
373        the first time being too early.
374
3752001-05-09      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
376
377        * include/rtems/score/.cvsignore: Add stamp-h, cpuopts.h,
378        cpuopts.h.in, cpuopts-tmp.h.
379
3802001-02-03      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
381
382        * include/rtems/Makefile.am, include/rtems/score/Makefile.am,
383        inline/rtems/score/Makefile.am, macros/rtems/score/Makefile.am
384        Apply include_*HEADERS instead of H_FILES.
385
3862001-01-29      Joel Sherrill <joel@OARcorp.com>
387
388        * src/objectextendinformation.c: Added include of string.h to
389        eliminate warning.
390
3912001-01-08      Joel Sherrill <joel@OARcorp.com>
392
393        * src/threadinitialize.c: Fix my bad hack of Ralf's fp_area
394        warning removal patch. :(
395
3962001-01-08      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
397
398        * src/threadinitialize.c: Removed warning.
399
4002001-01-03      Joel Sherrill <joel@OARcorp.com>
401
402        * src/isr.c: Modify to properly dereference _ISR_Vector_table
403        now that it is dynamically allocated.
404
4052000-12-19      Joel Sherrill <joel@OARcorp.com>
406
407        * src/isr.c: Allocate the _ISR_Vector_table all the time not just when
408        we are allocating an interrupt stack.
409
4102000-12-13      Joel Sherrill <joel@OARcorp.com>
411
412        * include/rtems/score/isr.h, src/isr.c: Allocate it from the
413        workspace rather than explicitly declaring it.  This allows
414        the size to be a non-constant from the perspective of score/cpu.
415
4162000-12-01      Joel Sherrill <joel@OARcorp.com>
417
418        * macros/rtems/score/coresem.inl: Removed comments since convention
419        calls for comments to be in inline versin.
420        * macros/rtems/score/object.inl (Objects_Get_local_object): Fixed
421        style to use _ prefix on variable names and use parentheses.
422        * macros/rtems/score/object.inl (_Objects_Namespace_remove): Added.
423
4242000-11-30      Joel Sherrill <joel@OARcorp.com>
425
426        * General effort to make things compile with macros not inlines
427        * inline/rtems/score/coremutex.inl: Added comment indicating
428        for macros there is another copy of
429        _CORE_mutex_Seize_interrupt_trylock() in src/coremutexseize.c.
430        * src/coremutexseize.c: Added body of
431        _CORE_mutex_Seize_interrupt_trylock() for macro case.
432        * macros/rtems/score/coremutex.inl: Added prototype for
433        _CORE_mutex_Seize_interrupt_trylock() since there is a real
434        body when macros are enabled.
435        * macros/rtems/score/coresem.inl: Added macro implementation of
436        _CORE_semaphore_Seize_isr_disable.
437        * macros/score/Makefile.am: Fixed typos.
438        * rtems/score/address.inl: Correct macro implementation of
439        _Addresses_Is_aligned() so it would compile.
440        * macros/rtems/score/coremsg.inl: Added closing parentheses.
441       
4422000-11-28      Chris Johns <ccj@acm.org>
443
444        * src/heapallocate.c: Do not allow the size to overflow when
445        adjusting it.  A test allocated a stack of -1 (~0). This
446        actually resulted in a stack being allocated but with a
447        size of 0xb. The allocator did not test the size to see if
448        it rolled through 0 and so allowed the allocation to happen, the
449        thread to get created. The task crashed as you would expect.
450
4512000-11-02      Joel Sherrill <joel@OARcorp.com>
452
453        * include/rtems/system.h: Use proper conditional (RTEMS_POSIX_API)
454        so prototypes for POSIX_MP_NOT_IMPLEMENTED(), POSIX_NOT_IMPLEMENTED(),
455        POSIX_BOTTOM_REACHED() are actually included.
456
4572000-11-02      Joel Sherrill <joel@OARcorp.com>
458
459        * include/rtems/system.h: Add prototypes for POSIX_MP_NOT_IMPLEMENTED(),
460        POSIX_NOT_IMPLEMENTED(), POSIX_BOTTOM_REACHED() removed from newlib.
461
4622000-10-18      Nick Simon <Nick.SIMON@syntegra.bt.co.uk>
463
464        * src/heapgetinfo.c, include/rtems/score/heap.h, src/Makefile.am:
465        Added _Heap_Get_information() and information control block.
466        * src/heapgetinfo.c: New file.
467
4682000-09-25      Joel Sherrill <joel@OARcorp.com>
469
470        * rtems/system.h: Switched a29k and hppa1.1 to using cpuopts.h not
471        targopts.h to reduce dependency on BSP.
472
4732000-09-20      Joel Sherrill <joel@OARcorp.com>
474
475        * src/objectgetbyindex.c: Do not enable dispatching on an
476        error path it was not disabled on.
477
4782000-09-04      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
479
480        * src/Makefile.am: Include compile.am.
481
4822000-08-30      Joel Sherrill <joel@OARcorp.com>
483
484        * Many files: Moved posix/include/rtems/posix/seterr.h to
485        score/include/rtems/seterr.h so it would be available within
486        all APIs.
487
4882000-08-17      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
489
490        * include/rtems/system.h: Include cpuopts.h for __i386__.
491
4922000-08-10      Joel Sherrill <joel@OARcorp.com>
493
494        * ChangeLog: New file.
Note: See TracBrowser for help on using the repository browser.