source: rtems/cpukit/score/ChangeLog @ eb7cddd3

4.104.114.84.95
Last change on this file since eb7cddd3 was eb7cddd3, checked in by Joel Sherrill <joel.sherrill@…>, on 01/10/03 at 15:04:01

2003-01-10 Joel Sherrill <joel@…>

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