source: rtems/cpukit/score/ChangeLog @ 2728d9cf

4.104.114.84.95
Last change on this file since 2728d9cf was 2728d9cf, checked in by Joel Sherrill <joel.sherrill@…>, on Dec 2, 2002 at 7:16:37 PM

2002-12-02 Joel Sherrill <joel@…>

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