source: rtems/c/src/exec/score/ChangeLog @ bd9265d

4.104.114.84.95
Last change on this file since bd9265d was bd9265d, checked in by Joel Sherrill <joel.sherrill@…>, on 05/14/02 at 18:11:36

2002-05-03 Ralf Corsepius <corsepiu@…>

  • include/Makefile.am: Work-around to autoconf-2.53 adding PACKAGE_* to autoheaders - sed out *PACKAGE* from cpuopts-tmp.h.
  • Property mode set to 100644
File size: 14.2 KB
RevLine 
[bd9265d]12002-05-03      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
2
3        * include/Makefile.am: Work-around to autoconf-2.53 adding PACKAGE_*
4        to autoheaders - sed out *PACKAGE* from cpuopts-tmp.h.
5
[48f89683]62001-05-14      Till Straumann <strauman@slac.stanford.edu>
7
8        * src/threaddispatch.c, src/threadhandler.c: Per PR211 fix
9        saving/restoring floating point context.  The fpsave and fprestore
10        routines are only used in a executing context which _is_ fp and hence
11        has the FPU enabled. The current behavior required the FPU always to
12        be on which is very dangerous if lazy context switching is used. 
13        [Joel Note: Some ports explicitly enabled the FPU in the FP save and
14        restore routines to avoid this.]
15
16        The patch also makes sure (on powerpc only) that the FPU is disabled
17        for integer tasks. Note that this is crucial if deferred fp context
18        switching is used. Otherwise, fp context corruption may go undetected!
19        Also note that even tasks which merely push/pop FP registers to/from
20        the stack without modifying them still MUST be FP tasks - otherwise
21        (if lazy FP context switching is used), FP register corruption (of
22        other, FP, tasks may occur)!
23
24        Furthermore, (on PPC) by default, lazy FP context save/restore
25        is _disabled_.
26
[bf99393f]272001-04-26      Joel Sherrill <joel@OARcorp.com>
28
29        * src/objectcomparenamestring.c: Fix typos.
30 
[2b454fa]312001-04-26      Joel Sherrill <joel@OARcorp.com>
32
33        * include/rtems/score/object.h, inline/rtems/score/object.inl,
34        src/objectcomparenamestring.c: Address PR81 that
35        reworked POSIX message queues to add a descriptor separate from
36        the underlying message queue.  This allows non-blocking to follow
37        the "open" not the underlying queue.   As part of debugging this
38        it became clear that _Objects_Compare_name_string was broken
39        and a simple version using strncmp() was substituted.
40 
[9779f3d]412002-04-18      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
42
43        * include/rtems/system.h: Remove targopts.h.
44
[cf80584]452002-04-17      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
46
47        * include/rtems/system.h: Add the sparc to the target supporting
48        multlibs.
49
[f918e74]502002-04-16      Chris Johns <ccj@acm.org>
51
52        * src/threadinitialize.c: Per PR181, clear the array of user extension
53        pointers. This lets user extensions that have hooked the switch handler
54        know if a task has been processed by the user extension before. If a
55        user extension is created after a task is started it may not know it.
56
[231fccb]572002-04-12      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
58
59        * include/rtems/system.h: Add i386 to multilib-able targets.
60
[ed11413b]612001-04-11      Joel Sherrill <joel@OARcorp.com>
62
63       
64        * macros/rtems/score/userext.inl: Now works after merging patch for
65        functionality requested in PR174.
66        * inline/rtems/score/userext.inl: Added a comment explaining the
67        order in which routines appear since it is not the obvious order.
68 
[02a200d]692002-04-08      Chris Johns <ccj@acm.org>
70
71        * Per PR141 and PR174, make task switch extension its own list and
72        fix all odd problems introduced by providing macro version.
73        * inline/rtems/score/userext.inl: Fix.
74
[ab377aa]752001-04-08      Joel Sherrill <joel@OARcorp.com>
76
77        * macros/rtems/score/object.inl: Corrected arguments.
78 
[aadb6b0]792001-04-08      Joel Sherrill <joel@OARcorp.com>
80
81        * macros/rtems/score/userext.inl: Updated to reflect modifications
82        to inline version from PR142.
83        * inline/rtems/score/userext.inl: Cleanup as side-effect of above.
84 
[7af623bf]852002-04-08      Chris Johns <ccj@acm.org>
86
87        * Per PR142, make task switch extension its own list.
88        * include/rtems/score/userext.h: Reflect above by adding
89        User_extensions_Switch_control and adding it to User_extenions_Control.
90        * inline/rtems/score/userext.inl: Allocate all memory in one chunk
91        to minimize overhead.  Address processing dedicated switch chain.
92
[e2c488a4]932002-04-08      Chris Johns <ccj@acm.org>
94
95        * Per PR142, make task switch extension its own list.
96        * include/rtems/score/userext.h: Reflect above by adding
97        User_extensions_Switch_control and adding it to User_extenions_Control.
98        * inline/rtems/score/userext.inl: Allocate all memory in one chunk
99        to minimize overhead.  Address processing dedicated switch chain.
100
[c43484b]1012002-03-27      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
102
103        * cpu/Makefile.am: Remove AUTOMAKE_OPTIONS.
104        * src/Makefile.am: Remove AUTOMAKE_OPTIONS.
105        * Makefile.am: Remove AUTOMAKE_OPTIONS.
106        * include/Makefile.am: Remove AUTOMAKE_OPTIONS.
107        * inline/Makefile.am: Remove AUTOMAKE_OPTIONS.
108        * macros/Makefile.am: Remove AUTOMAKE_OPTIONS.
109
[a94c2fbb]1102002-01-29      Joel Sherrill <joel@OARcorp.com>
111
112        * include/rtems/score/watchdog.h: Added WATCHDOG_MAXIMUM_INTERVAL.
113
[5addee5]1142002-01-19      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
115
116        * include/rtems/system.h: Fix typo in yesterday's change:
117        RTEMS_MULTILIBS.
118
[61129cc5]1192001-01-18      Joel Sherrill <joel@OARcorp.com>
120
121        * include/rtems/system.h: Only include cpuopts.h when building a
122        multilib configuration.  Some ports still need targopts.h but this
123        small modification lets those ports work non-multilib while
124        fixing being fixed for multilib.
125       
[b72e368c]1262002-01-04      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
127
128        * include/rtems/seterr.h: Add do {..} while (0) in defines.
129        Rename set_errno_and_return_minus_one into
130        rtems_set_errno_and_return_minus_one.
131
[b804d632]1322001-12-19      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
133
134        * inline/rtems/score/object.inl, macros/rtems/score/object.inl: Add
135        add casts to Objects_Id in _Objects_Build_ids to avoid implicit
136        typecasts from enum to int16 on bit16 targets (here: h8300).
137
[ca837f8a]1382001-12-19      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
139
140        * src/Makefile.am: Add multilib support.
141
[89ee0b6]1422001-11-28      Joel Sherrill <joel@OARcorp.com>,
143
144        This was tracked as PR91.
145        * include/rtems/score/isr.h, inline/rtems/score/isr.inl,
146        macros/rtems/score/isr.inl: Modified to allow any port to provide
147        its own implementation of the macro _ISR_Is_in_progress.  If the
148        port overrides this macro, it must provide a non-inlined function
149        implementation.
150
[94ab166]1512001-11-20      Joel Sherrill <joel@OARcorp.com>
152
153        * src/threadhandler.c: When __USE__MAIN__ is defined by the toolset,
154        invoke the global constructors via __main.  Reported as tested by
155        Alexandra Kossovsky <sasha@oktet.ru> and  Victor V. Vengerov
156        <vvv@oktet.ru> in conjunction with a new set of tool RPMs
157        (gcc2.95.3newlib1.9.0-3).  This was tracked as GNATS PR tools/84.
158
[c31c15c]1592001-11-07      Joel Sherrill <joel@OARcorp.com>
160
161        Reported by Todor.Todorov@barco.com and tracked as PR36.
162        * include/rtems/score/object.h: Added prototype for
163        _Objects_Get_by_index().
164        * src/objectget.c, src/objectgetisr.c: Corrected procedure for
165        getting index from Id so it is correct and optimal for both single
166        and multiprocessor configurations.
[43b6f75]167
[6244ab4]1682001-10-22      Joel Sherrill <joel@OARcorp.com>
169
170        * src/threadhandler.c: Use __USE_INIT_FINI__ since USE_INIT_FINI
171        pollutes the application namespace.
172
[4ef484fe]1732001-10-16      Joel Sherrill <joel@OARcorp.com>
174
175        * .cvsignore: Add stamp-h.in.
176
[f11615f]1772001-10-16      Joel Sherrill <joel@OARcorp.com>
178
179        * include/Makefile.am: Fixed path to cpuopts-tmp.h.
180
[ff61414]1812001-10-16      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
182
183        * include/rtems/Makefile.am: Remove.
184        * include/rtems/Makefile.am: Remove.
185        * include/Makefile.am: Handle subdirs, require automake-1.5.
186        * macros/rtems/Makefile.am: Remove.
187        * macros/rtems/score/Makefile.am: Remove.
188        * macros/Makefile.am: Handle subdirs, require automake-1.5.
189        * inline/rtems/Makefile.am: Remove.
190        * inline/rtems/score/Makefile.am: Remove.
191        * inline/Makefile.am: Handle subdirs, require automake-1.5.
192        * Makefile.am: require automake-1.5
193
[3f56f22c]1942001-09-28      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
195
196        * include/rtems/score/Makefile.am: Use 'PREINSTALL_FILES ='.
197        * include/rtems/Makefile.am: Use 'PREINSTALL_FILES ='.
198        * inline/rtems/score/Makefile.am: Use 'PREINSTALL_FILES ='.
199        * macros/rtems/score/Makefile.am: Use 'PREINSTALL_FILES ='.
200
[5b87515d]2012001-09-27      Eric Norum <eric.norum@usask.ca>
202
203        * src/threadhandler.c: Now process C++ global constructors
204        (_init) as part of the first task execution not in BSP space.
205        This depends on the toolset defining USE_INIT_FINI so you
206        have to have the right toolset version.
207
2082001-09-23      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
209
210        * include/rtems/score/Makefile.am: Use 'PREINSTALL_FILES ='.
211        * include/rtems/Makefile.am: Use 'PREINSTALL_FILES ='.
212        * inline/rtems/score/Makefile.am: Use 'PREINSTALL_FILES ='.
213        * macros/rtems/score/Makefile.am: Use 'PREINSTALL_FILES ='.
214
[fb1d8f81]2152001-08-30      Joel Sherrill <joel@OARcorp.com>
216
217        *  src/coremutex.c, src/coremutexseize.c, src/coremutexsurrender.c,
218        inline/rtems/score/coremutex.inl: The per thread field resource_count
219        should only be manipulated when a mutex is priority ceiling or
220        priority inherit.  This was reported by Chris Johns <ccj@acm.org>
221        who also noticed that the use of switches for all disciplines
222        generated less efficient code than using explicit tests for the one
223        or two cases we were really interested in.  Further review of his
224        modifications made it apparent that the "isa" methods to test mutex
225        discipline were not being used so this modification was swept into
226        the code as well.
227
[dc6b5ed3]2282001-08-30      Joel Sherrill <joel@OARcorp.com>
229
230        * src/coremutexseize.c: Add missing code for proper handling
231        of nesting acquisitions.  This only impacts building with
232        inlines disabled on the source with the "fast mutex" optimizations.
233        This was post the 4.5 branch and did not impact released versions.
234
[0a51f80]2352001-08-16      Joel Sherrill <joel@OARcorp.com>
236
237        * src/coremutexsurrender.c: Use holder thread not executing
238        thread because even though they may and often are the same
239        it is not guaranteed unless the proper attribute is set.
240
[7d741413]2412001-08-16      Joel Sherrill <joel@OARcorp.com>
242
243        * include/rtems/score/coremsg.h, src/coremsgsubmit.c: Add a new
244        return status to account for blocking sends.  Otherwise, the
245        caller will think that the returned message status will have
246        the ultimate results of the operation.  If the send times out,
247        the final status will be in the return_code of the thread.
248
[00815403]2492001-08-09      Joel Sherrill <joel@OARcorp.com>
250
251        * include/rtems/score/coremsg.h, inline/rtems/score/coremsg.inl,
252        src/coremsgsubmit.c: Unblocking message queue operations should
253        NOT use _Thread_Executing for return status since it is permissible
254        to invoke message send operations from an ISR.  This was reported
255        by Suvrat Gupta <suvrat@utstar.com>.
256
[fe70df19]2572000-05-25      Sergei Organov <osv@javad.ru>
258
259        * macros/rtems/score/coresem.inl, inline/rtems/score/coresem.inl:
260        Cut and paste problem incorrectly enabled interrupts twice with
261        the first time being too early.
262
[ba91ea3]2632001-05-09      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
264
265        * include/rtems/score/.cvsignore: Add stamp-h, cpuopts.h,
266        cpuopts.h.in, cpuopts-tmp.h.
267
[792eb74]2682001-02-03      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
269
270        * include/rtems/Makefile.am, include/rtems/score/Makefile.am,
271        inline/rtems/score/Makefile.am, macros/rtems/score/Makefile.am
272        Apply include_*HEADERS instead of H_FILES.
273
[a76e2b4]2742001-01-29      Joel Sherrill <joel@OARcorp.com>
275
276        * src/objectextendinformation.c: Added include of string.h to
277        eliminate warning.
278
[81f6e8cc]2792001-01-08      Joel Sherrill <joel@OARcorp.com>
280
281        * src/threadinitialize.c: Fix my bad hack of Ralf's fp_area
282        warning removal patch. :(
283
[ac5c8c7]2842001-01-08      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
285
286        * src/threadinitialize.c: Removed warning.
287
[d6ea098]2882001-01-03      Joel Sherrill <joel@OARcorp.com>
289
290        * src/isr.c: Modify to properly dereference _ISR_Vector_table
291        now that it is dynamically allocated.
292
[3b06e12b]2932000-12-19      Joel Sherrill <joel@OARcorp.com>
294
295        * src/isr.c: Allocate the _ISR_Vector_table all the time not just when
296        we are allocating an interrupt stack.
297
[9928d08]2982000-12-13      Joel Sherrill <joel@OARcorp.com>
299
300        * include/rtems/score/isr.h, src/isr.c: Allocate it from the
301        workspace rather than explicitly declaring it.  This allows
302        the size to be a non-constant from the perspective of score/cpu.
303
[c9fd602]3042000-12-01      Joel Sherrill <joel@OARcorp.com>
305
306        * macros/rtems/score/coresem.inl: Removed comments since convention
307        calls for comments to be in inline versin.
308        * macros/rtems/score/object.inl (Objects_Get_local_object): Fixed
309        style to use _ prefix on variable names and use parentheses.
310        * macros/rtems/score/object.inl (_Objects_Namespace_remove): Added.
311
[43b6f75]3122000-11-30      Joel Sherrill <joel@OARcorp.com>
313
314        * General effort to make things compile with macros not inlines
315        * inline/rtems/score/coremutex.inl: Added comment indicating
316        for macros there is another copy of
317        _CORE_mutex_Seize_interrupt_trylock() in src/coremutexseize.c.
318        * src/coremutexseize.c: Added body of
319        _CORE_mutex_Seize_interrupt_trylock() for macro case.
320        * macros/rtems/score/coremutex.inl: Added prototype for
321        _CORE_mutex_Seize_interrupt_trylock() since there is a real
322        body when macros are enabled.
323        * macros/rtems/score/coresem.inl: Added macro implementation of
324        _CORE_semaphore_Seize_isr_disable.
325        * macros/score/Makefile.am: Fixed typos.
326        * rtems/score/address.inl: Correct macro implementation of
327        _Addresses_Is_aligned() so it would compile.
328        * macros/rtems/score/coremsg.inl: Added closing parentheses.
[66fedb46]329       
3302000-11-28      Chris Johns <ccj@acm.org>
331
332        * src/heapallocate.c: Do not allow the size to overflow when
333        adjusting it.  A test allocated a stack of -1 (~0). This
334        actually resulted in a stack being allocated but with a
335        size of 0xb. The allocator did not test the size to see if
336        it rolled through 0 and so allowed the allocation to happen, the
337        thread to get created. The task crashed as you would expect.
[e94ad1fe]338
[ba41dfd]3392000-11-02      Joel Sherrill <joel@OARcorp.com>
340
341        * include/rtems/system.h: Use proper conditional (RTEMS_POSIX_API)
342        so prototypes for POSIX_MP_NOT_IMPLEMENTED(), POSIX_NOT_IMPLEMENTED(),
343        POSIX_BOTTOM_REACHED() are actually included.
344
[b5c50309]3452000-11-02      Joel Sherrill <joel@OARcorp.com>
346
347        * include/rtems/system.h: Add prototypes for POSIX_MP_NOT_IMPLEMENTED(),
348        POSIX_NOT_IMPLEMENTED(), POSIX_BOTTOM_REACHED() removed from newlib.
349
[252565f]3502000-10-18      Nick Simon <Nick.SIMON@syntegra.bt.co.uk>
351
352        * src/heapgetinfo.c, include/rtems/score/heap.h, src/Makefile.am:
353        Added _Heap_Get_information() and information control block.
354        * src/heapgetinfo.c: New file.
355
[a8d650c]3562000-09-25      Joel Sherrill <joel@OARcorp.com>
357
358        * rtems/system.h: Switched a29k and hppa1.1 to using cpuopts.h not
359        targopts.h to reduce dependency on BSP.
360
[2c6a0491]3612000-09-20      Joel Sherrill <joel@OARcorp.com>
362
363        * src/objectgetbyindex.c: Do not enable dispatching on an
364        error path it was not disabled on.
365
[cc480f9c]3662000-09-04      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
367
368        * src/Makefile.am: Include compile.am.
369
[188c82b]3702000-08-30      Joel Sherrill <joel@OARcorp.com>
371
372        * Many files: Moved posix/include/rtems/posix/seterr.h to
373        score/include/rtems/seterr.h so it would be available within
374        all APIs.
375
[8ca1e808]3762000-08-17      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
377
378        * include/rtems/system.h: Include cpuopts.h for __i386__.
379
[e94ad1fe]3802000-08-10      Joel Sherrill <joel@OARcorp.com>
381
382        * ChangeLog: New file.
Note: See TracBrowser for help on using the repository browser.