source: rtems/cpukit/score/ChangeLog @ a50b011f

4.104.114.84.95
Last change on this file since a50b011f was a50b011f, checked in by Joel Sherrill <joel.sherrill@…>, on 08/14/02 at 23:32:25

2002-08-14 Joel Sherrill <joel@…>

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