source: rtems/cpukit/score/ChangeLog @ 0c819966

4.104.114.84.95
Last change on this file since 0c819966 was 0c819966, checked in by Ralf Corsepius <ralf.corsepius@…>, on Dec 9, 2002 at 9:48:32 AM

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

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