1 | 2003-09-04 Joel Sherrill <joel@OARcorp.com> |
---|
2 | |
---|
3 | * include/rtems/debug.h, include/rtems/seterr.h, |
---|
4 | include/rtems/system.h, include/rtems/score/address.h, |
---|
5 | include/rtems/score/apiext.h, include/rtems/score/apimutex.h, |
---|
6 | include/rtems/score/bitfield.h, include/rtems/score/chain.h, |
---|
7 | include/rtems/score/context.h, include/rtems/score/copyrt.h, |
---|
8 | include/rtems/score/coremsg.h, include/rtems/score/coremutex.h, |
---|
9 | include/rtems/score/coresem.h, include/rtems/score/heap.h, |
---|
10 | include/rtems/score/interr.h, include/rtems/score/isr.h, |
---|
11 | include/rtems/score/mpci.h, include/rtems/score/mppkt.h, |
---|
12 | include/rtems/score/object.h, include/rtems/score/objectmp.h, |
---|
13 | include/rtems/score/priority.h, include/rtems/score/stack.h, |
---|
14 | include/rtems/score/states.h, include/rtems/score/sysstate.h, |
---|
15 | include/rtems/score/thread.h, include/rtems/score/threadmp.h, |
---|
16 | include/rtems/score/threadq.h, include/rtems/score/tod.h, |
---|
17 | include/rtems/score/tqdata.h, include/rtems/score/userext.h, |
---|
18 | include/rtems/score/watchdog.h, include/rtems/score/wkspace.h, |
---|
19 | inline/rtems/score/address.inl, inline/rtems/score/chain.inl, |
---|
20 | inline/rtems/score/coremsg.inl, inline/rtems/score/coremutex.inl, |
---|
21 | inline/rtems/score/coresem.inl, inline/rtems/score/heap.inl, |
---|
22 | inline/rtems/score/isr.inl, inline/rtems/score/mppkt.inl, |
---|
23 | inline/rtems/score/object.inl, inline/rtems/score/objectmp.inl, |
---|
24 | inline/rtems/score/priority.inl, inline/rtems/score/stack.inl, |
---|
25 | inline/rtems/score/states.inl, inline/rtems/score/sysstate.inl, |
---|
26 | inline/rtems/score/thread.inl, inline/rtems/score/threadmp.inl, |
---|
27 | inline/rtems/score/tod.inl, inline/rtems/score/tqdata.inl, |
---|
28 | inline/rtems/score/userext.inl, inline/rtems/score/watchdog.inl, |
---|
29 | inline/rtems/score/wkspace.inl, macros/rtems/score/address.inl, |
---|
30 | macros/rtems/score/chain.inl, macros/rtems/score/coremsg.inl, |
---|
31 | macros/rtems/score/coremutex.inl, macros/rtems/score/coresem.inl, |
---|
32 | macros/rtems/score/heap.inl, macros/rtems/score/isr.inl, |
---|
33 | macros/rtems/score/mppkt.inl, macros/rtems/score/object.inl, |
---|
34 | macros/rtems/score/objectmp.inl, macros/rtems/score/priority.inl, |
---|
35 | macros/rtems/score/stack.inl, macros/rtems/score/states.inl, |
---|
36 | macros/rtems/score/sysstate.inl, macros/rtems/score/thread.inl, |
---|
37 | macros/rtems/score/threadmp.inl, macros/rtems/score/tod.inl, |
---|
38 | macros/rtems/score/tqdata.inl, macros/rtems/score/userext.inl, |
---|
39 | macros/rtems/score/watchdog.inl, macros/rtems/score/wkspace.inl, |
---|
40 | src/apiext.c, src/chain.c, src/coremsg.c, src/coremsgbroadcast.c, |
---|
41 | src/coremsgclose.c, src/coremsgflush.c, src/coremsgflushsupp.c, |
---|
42 | src/coremsgflushwait.c, src/coremsginsert.c, src/coremsgseize.c, |
---|
43 | src/coremsgsubmit.c, src/coremutex.c, src/coremutexflush.c, |
---|
44 | src/coremutexseize.c, src/coremutexsurrender.c, src/coresem.c, |
---|
45 | src/coresemflush.c, src/coresemseize.c, src/coresemsurrender.c, |
---|
46 | src/coretod.c, src/coretodset.c, src/coretodtickle.c, |
---|
47 | src/coretodtoseconds.c, src/coretodvalidate.c, src/heap.c, |
---|
48 | src/heapallocate.c, src/heapextend.c, src/heapfree.c, |
---|
49 | src/heapgetinfo.c, src/heapsizeofuserarea.c, src/heapwalk.c, |
---|
50 | src/interr.c, src/isr.c, src/iterateoverthreads.c, src/mpci.c, |
---|
51 | src/object.c, src/objectallocate.c, src/objectallocatebyindex.c, |
---|
52 | src/objectclearname.c, src/objectcomparenameraw.c, |
---|
53 | src/objectcomparenamestring.c, src/objectcopynameraw.c, |
---|
54 | src/objectcopynamestring.c, src/objectextendinformation.c, |
---|
55 | src/objectfree.c, src/objectget.c, src/objectgetbyindex.c, |
---|
56 | src/objectgetisr.c, src/objectgetnext.c, src/objectgetnoprotection.c, |
---|
57 | src/objectidtoname.c, src/objectinitializeinformation.c, |
---|
58 | src/objectmp.c, src/objectnametoid.c, src/objectshrinkinformation.c, |
---|
59 | src/thread.c, src/threadchangepriority.c, src/threadclearstate.c, |
---|
60 | src/threadclose.c, src/threadcreateidle.c, src/threaddelayended.c, |
---|
61 | src/threaddispatch.c, src/threadevaluatemode.c, src/threadget.c, |
---|
62 | src/threadhandler.c, src/threadidlebody.c, src/threadinitialize.c, |
---|
63 | src/threadloadenv.c, src/threadmp.c, src/threadq.c, |
---|
64 | src/threadqdequeue.c, src/threadqdequeuefifo.c, |
---|
65 | src/threadqdequeuepriority.c, src/threadqenqueue.c, |
---|
66 | src/threadqenqueuefifo.c, src/threadqenqueuepriority.c, |
---|
67 | src/threadqextract.c, src/threadqextractfifo.c, |
---|
68 | src/threadqextractpriority.c, src/threadqextractwithproxy.c, |
---|
69 | src/threadqfirst.c, src/threadqfirstfifo.c, |
---|
70 | src/threadqfirstpriority.c, src/threadqflush.c, src/threadqtimeout.c, |
---|
71 | src/threadready.c, src/threadreset.c, src/threadresettimeslice.c, |
---|
72 | src/threadrestart.c, src/threadresume.c, src/threadrotatequeue.c, |
---|
73 | src/threadsetpriority.c, src/threadsetstate.c, |
---|
74 | src/threadsettransient.c, src/threadstackallocate.c, |
---|
75 | src/threadstackfree.c, src/threadstart.c, |
---|
76 | src/threadstartmultitasking.c, src/threadsuspend.c, |
---|
77 | src/threadtickletimeslice.c, src/threadyieldprocessor.c, |
---|
78 | src/userext.c, src/watchdog.c, src/watchdogadjust.c, |
---|
79 | src/watchdoginsert.c, src/watchdogremove.c, src/watchdogtickle.c, |
---|
80 | src/wkspace.c: URL for license changed. |
---|
81 | |
---|
82 | 2003-08-14 Joel Sherrill <joel@OARcorp.com> |
---|
83 | |
---|
84 | * Makefile.am, include/rtems/score/object.h, |
---|
85 | include/rtems/score/objectmp.h, src/objectmp.c, src/objectnametoid.c: |
---|
86 | Added ID to name lookup service and changed name of id/name |
---|
87 | translation status code. This propagated to multiple functions. The |
---|
88 | user API service added was rtems_object_id_to_name() |
---|
89 | * src/objectidtoname.c: New file. |
---|
90 | |
---|
91 | 2003-08-14 Joel Sherrill <joel@OARcorp.com> |
---|
92 | |
---|
93 | PR 408/filesystem |
---|
94 | * score/Makefile.am, score/include/rtems/score/thread.h: Added |
---|
95 | sync() service. As part of adding this service, the |
---|
96 | new RTEMS service rtems_iterate_over_all_threads() was also added. |
---|
97 | This new service makes it easier to iterate over all the |
---|
98 | tasks/threads in a system and perform an action on them. |
---|
99 | * score/src/iterateoverthreads.c: New file. |
---|
100 | * ChangeLog: Fixed screwup. |
---|
101 | |
---|
102 | 2003-07-18 Till Straumann <strauman@slac.stanford.edu> |
---|
103 | |
---|
104 | PR 430/rtems |
---|
105 | * include/rtems/score/watchdog.h: _Watchdog_Ticks_since_boot should |
---|
106 | be a VOLATILE variable. |
---|
107 | * src/watchdoginsert.c: 'restart' algorithm needs to enforce |
---|
108 | reloading the list head in case a TICK interrupt during ISR_Flash() |
---|
109 | modified the list. This is achieved by a proper VOLATILE cast. |
---|
110 | Also _Watchdog_Sync_count++ should be protected by _ISR_Disable |
---|
111 | (prevent corruption in case ISR calls watchdoginsert) |
---|
112 | * src/watchdogadjust.c: ISR protection added. |
---|
113 | * src/watchdogtickle.c: ISR protection added. |
---|
114 | NOTE: PowerPC BSPs using the new exception processing MUST BE UPDATED |
---|
115 | to maintain _ISR_Nest_level. See also PR288 which provides fixes |
---|
116 | for the affected BSPs distributed with RTEMS. |
---|
117 | |
---|
118 | 2003-07-08 Ralf Corsepius <corsepiu@faw.uni-ulm.de> |
---|
119 | |
---|
120 | * cpu/Makefile.am: Add DIST_SUBDIRS = $(RTEMS_CPU). |
---|
121 | |
---|
122 | 2003-07-07 Joel Sherrill <joel@OARcorp.com> |
---|
123 | |
---|
124 | PR 417/rtems |
---|
125 | * src/coresemsurrender.c: Correct incorrect check for maximum_count |
---|
126 | reported by Sergei Organov <osv@topconrd.ru>. |
---|
127 | |
---|
128 | 2003-06-13 Joel Sherrill <joel@OARcorp.com> |
---|
129 | |
---|
130 | * src/threadloadenv.c: Removed warnings. |
---|
131 | |
---|
132 | 2003-06-12 Joel Sherrill <joel@OARcorp.com> |
---|
133 | |
---|
134 | * src/objectmp.c: Removed warnings. |
---|
135 | |
---|
136 | 2003-03-18 Till Straumann <strauman@slac.stanford.edu> |
---|
137 | |
---|
138 | PR 356/bsps |
---|
139 | * src/threadhandlerc: This patch makes RTEMS/PowerPC eabi compliant. |
---|
140 | Let Thread_Handler verify that _init/_main are non-NULL |
---|
141 | before calling them (gives the linker script/user more |
---|
142 | freedom to handle special cases). |
---|
143 | |
---|
144 | 2002-03-04 Ralf Corsepius <corsepiu@faw.uni-ulm.de> |
---|
145 | |
---|
146 | * include/rtems/system.h: Add __RTEMS_REVISION__. |
---|
147 | |
---|
148 | 2002-02-28 Ralf Corsepius <corsepiu@faw.uni-ulm.de> |
---|
149 | |
---|
150 | * include/rtems/system.h: Add __RTEMS_MAJOR__, __RTEMS_MINOR__. |
---|
151 | |
---|
152 | 2003-02-14 Joel Sherrill <joel@OARcorp.com> |
---|
153 | |
---|
154 | AMD a29k declared obsolete. |
---|
155 | * cpu/Makefile.am: Removed reference. |
---|
156 | * cpu/a29k/.cvsignore, cpu/a29k/ChangeLog, cpu/a29k/Makefile.am, |
---|
157 | cpu/a29k/amd.ah, cpu/a29k/asm.h, cpu/a29k/configure.ac, |
---|
158 | cpu/a29k/cpu.c, cpu/a29k/cpu_asm.S, cpu/a29k/pswmacro.ah, |
---|
159 | cpu/a29k/register.ah, cpu/a29k/sig.S, cpu/a29k/rtems/.cvsignore, |
---|
160 | cpu/a29k/rtems/score/.cvsignore, cpu/a29k/rtems/score/a29k.h, |
---|
161 | cpu/a29k/rtems/score/cpu.h, cpu/a29k/rtems/score/cpu_asm.h, |
---|
162 | cpu/a29k/rtems/score/types.h: Removed. |
---|
163 | |
---|
164 | 2003-01-10 Joel Sherrill <joel@OARcorp.com> |
---|
165 | |
---|
166 | * src/objectmp.c: Corrected use of name parameter to reflect that it |
---|
167 | is actually the name not a pointer to the name. |
---|
168 | |
---|
169 | 2002-12-12 Ralf Corsepius <corsepiu@faw.uni-ulm.de> |
---|
170 | |
---|
171 | Makefile.am: Don't create $ARCH. |
---|
172 | |
---|
173 | 2002-12-09 Ralf Corsepius <corsepiu@faw.uni-ulm.de> |
---|
174 | |
---|
175 | Makefile.am: Fix macro-file installation. |
---|
176 | |
---|
177 | 2002-12-09 Ralf Corsepius <corsepiu@faw.uni-ulm.de> |
---|
178 | |
---|
179 | Makefile.am: Move include/rtems/score/cpuopts.h to STD_H_FILES. |
---|
180 | |
---|
181 | 2002-12-09 Ralf Corsepius <corsepiu@faw.uni-ulm.de> |
---|
182 | |
---|
183 | * include/Makefile.am: Remove. |
---|
184 | * inline/Makefile.am: Remove. |
---|
185 | * macros/Makefile.am: Remove. |
---|
186 | * src/Makefile.am: Remove. |
---|
187 | * Makefile.am: Merge-in removed Makefile.ams. |
---|
188 | |
---|
189 | 2002-12-02 Joel Sherrill <joel@OARcorp.com> |
---|
190 | |
---|
191 | * include/rtems/score/object.h, include/rtems/score/tod.h: |
---|
192 | Added casts to eliminate warnings on 16 bit targets like the h8300. |
---|
193 | |
---|
194 | 2002-11-14 Joel Sherrill <joel@OARcorp.com> |
---|
195 | |
---|
196 | * macros/rtems/score/object.inl: Keep consistent with inline version. |
---|
197 | |
---|
198 | 2002-10-31 Joel Sherrill <joel@OARcorp.com> |
---|
199 | |
---|
200 | * src/heapgetinfo.c: Fixed comment. |
---|
201 | * src/mpci.c: Removed warning. |
---|
202 | |
---|
203 | 2002-10-28 Joel Sherrill <joel@OARcorp.com> |
---|
204 | |
---|
205 | * src/threadhandler.c: Prototype _init() and _main() if they are needed |
---|
206 | to avoid a warning. |
---|
207 | |
---|
208 | 2002-08-14 Joel Sherrill <joel@OARcorp.com> |
---|
209 | |
---|
210 | * macros/rtems/score/coremsg.inl: Add <string.h> to remove warning. |
---|
211 | * src/threadidlebody.c: Add return 0 to avoid warning. |
---|
212 | |
---|
213 | 2002-08-07 Chris Johns <ccj@acm.org> |
---|
214 | |
---|
215 | * src/coretodset.c: Correct calculation of ticks until next section |
---|
216 | boundary. It was incorrectly based upon current time not the |
---|
217 | time that is being set. |
---|
218 | |
---|
219 | 2002-07-31 Ralf Corsepius <corsepiu@faw.uni-ulm.de> |
---|
220 | |
---|
221 | * src/Makefile.am: Build into libscore.a. |
---|
222 | |
---|
223 | 2002-07-22 Joel Sherrill <joel@OARcorp.com> |
---|
224 | |
---|
225 | * include/rtems/score/apimutex.h (_API_Mutex_Lock): Per PR253 |
---|
226 | add the missing _ISR_Disable. This fix was already applied to |
---|
227 | the old location (c/src/exec/score/...). |
---|
228 | |
---|
229 | 2002-07-22 Ralf Corsepius <corsepiu@faw.uni-ulm.de> |
---|
230 | |
---|
231 | * src/Makefile.am: Use .$(OBJEXT) instead of .o. |
---|
232 | |
---|
233 | 2002-07-16 Joel Sherrill <joel@OARcorp.com> |
---|
234 | |
---|
235 | * macros/rtems/score/object.inl: Corrected typos in |
---|
236 | _Objects_Open, _Objects_Close, and _Objects_Namespace_remove. |
---|
237 | |
---|
238 | 2002-07-05 Joel Sherrill <joel@OARcorp.com> |
---|
239 | |
---|
240 | * macros/rtems/score/object.inl: Corrected implementation of |
---|
241 | _Objects_Open, _Objects_Close, and _Objects_Namespace_remove |
---|
242 | to be consistent with the inline implementation. |
---|
243 | |
---|
244 | 2002-07-01 Joel Sherrill <joel@OARcorp.com> |
---|
245 | |
---|
246 | * Mega patch merge to change the format of the object IDs to |
---|
247 | loosen the dependency between the SCORE and the various APIs. |
---|
248 | There was considerable work to simplify the object name management |
---|
249 | and it appears that the name_table field is no longer needed. |
---|
250 | This patch also includes the addition of the internal mutex |
---|
251 | which is currently only used to protect some types of allocation |
---|
252 | and deallocation. This significantly can reduce context |
---|
253 | switch latency under certain circumstances. In particular, |
---|
254 | some heap/region operations were O(n) and had dispatching |
---|
255 | disabled. This should help enormously. With this merge, |
---|
256 | the patch is not as clean as it should be. In particular, |
---|
257 | the documentation has not been modified to reflect the new object |
---|
258 | ID layout, the IDs in the test screens are not updated, and |
---|
259 | _Objects_Get_information needs to be a real routine not inlined. |
---|
260 | As part of this patch a lot of MP code for thread/proxy blocking |
---|
261 | was made conditional and cleaned up. |
---|
262 | * include/Makefile.am, include/rtems/score/coremsg.h, |
---|
263 | include/rtems/score/coremutex.h, include/rtems/score/coresem.h, |
---|
264 | include/rtems/score/object.h, include/rtems/score/threadq.h, |
---|
265 | inline/rtems/score/object.inl, inline/rtems/score/thread.inl, |
---|
266 | macros/rtems/score/object.inl, src/Makefile.am, src/coremsg.c, |
---|
267 | src/coremutex.c, src/coresem.c, src/mpci.c, |
---|
268 | src/objectcomparenameraw.c, src/objectextendinformation.c, |
---|
269 | src/objectinitializeinformation.c, src/objectnametoid.c, |
---|
270 | src/thread.c, src/threadclose.c, src/threadget.c, src/threadq.c, |
---|
271 | src/threadqextractwithproxy.c: Modified as part of above. |
---|
272 | * include/rtems/score/apimutex.h, src/objectgetnoprotection.c: New |
---|
273 | files. |
---|
274 | |
---|
275 | 2001-05-17 Joel Sherrill <joel@OARcorp.com> |
---|
276 | |
---|
277 | * macros/rtems/score/thread..inl: Implemented missing routines |
---|
278 | for new libc reentrancy support. |
---|
279 | |
---|
280 | 2002-05-15 Chris Johns <ccj@acm.org> |
---|
281 | |
---|
282 | * include/rtems/score/thread.h, inline/rtems/score/thread.inl, |
---|
283 | src/threaddispatch.c, src/threadinitialize.c: |
---|
284 | Move the C library re-enterrant support directly into |
---|
285 | the thread dispatch code. RTEMS needs libc and so requiring |
---|
286 | libc to use a user extension with its overhead is not the best |
---|
287 | solution. This patch lowers the overhead to 2 pointer moves. |
---|
288 | |
---|
289 | 2002-05-03 Ralf Corsepius <corsepiu@faw.uni-ulm.de> |
---|
290 | |
---|
291 | * include/Makefile.am: Work-around to autoconf-2.53 adding PACKAGE_* |
---|
292 | to autoheaders - sed out *PACKAGE* from cpuopts-tmp.h. |
---|
293 | |
---|
294 | 2001-05-14 Till Straumann <strauman@slac.stanford.edu> |
---|
295 | |
---|
296 | * src/threaddispatch.c, src/threadhandler.c: Per PR211 fix |
---|
297 | saving/restoring floating point context. The fpsave and fprestore |
---|
298 | routines are only used in a executing context which _is_ fp and hence |
---|
299 | has the FPU enabled. The current behavior required the FPU always to |
---|
300 | be on which is very dangerous if lazy context switching is used. |
---|
301 | [Joel Note: Some ports explicitly enabled the FPU in the FP save and |
---|
302 | restore routines to avoid this.] |
---|
303 | |
---|
304 | The patch also makes sure (on powerpc only) that the FPU is disabled |
---|
305 | for integer tasks. Note that this is crucial if deferred fp context |
---|
306 | switching is used. Otherwise, fp context corruption may go undetected! |
---|
307 | Also note that even tasks which merely push/pop FP registers to/from |
---|
308 | the stack without modifying them still MUST be FP tasks - otherwise |
---|
309 | (if lazy FP context switching is used), FP register corruption (of |
---|
310 | other, FP, tasks may occur)! |
---|
311 | |
---|
312 | Furthermore, (on PPC) by default, lazy FP context save/restore |
---|
313 | is _disabled_. |
---|
314 | |
---|
315 | 2001-04-26 Joel Sherrill <joel@OARcorp.com> |
---|
316 | |
---|
317 | * src/objectcomparenamestring.c: Fix typos. |
---|
318 | |
---|
319 | 2001-04-26 Joel Sherrill <joel@OARcorp.com> |
---|
320 | |
---|
321 | * include/rtems/score/object.h, inline/rtems/score/object.inl, |
---|
322 | src/objectcomparenamestring.c: Address PR81 that |
---|
323 | reworked POSIX message queues to add a descriptor separate from |
---|
324 | the underlying message queue. This allows non-blocking to follow |
---|
325 | the "open" not the underlying queue. As part of debugging this |
---|
326 | it became clear that _Objects_Compare_name_string was broken |
---|
327 | and a simple version using strncmp() was substituted. |
---|
328 | |
---|
329 | 2002-04-18 Ralf Corsepius <corsepiu@faw.uni-ulm.de> |
---|
330 | |
---|
331 | * include/rtems/system.h: Remove targopts.h. |
---|
332 | |
---|
333 | 2002-04-17 Ralf Corsepius <corsepiu@faw.uni-ulm.de> |
---|
334 | |
---|
335 | * include/rtems/system.h: Add the sparc to the target supporting |
---|
336 | multlibs. |
---|
337 | |
---|
338 | 2002-04-16 Chris Johns <ccj@acm.org> |
---|
339 | |
---|
340 | * src/threadinitialize.c: Per PR181, clear the array of user extension |
---|
341 | pointers. This lets user extensions that have hooked the switch handler |
---|
342 | know if a task has been processed by the user extension before. If a |
---|
343 | user extension is created after a task is started it may not know it. |
---|
344 | |
---|
345 | 2002-04-12 Ralf Corsepius <corsepiu@faw.uni-ulm.de> |
---|
346 | |
---|
347 | * include/rtems/system.h: Add i386 to multilib-able targets. |
---|
348 | |
---|
349 | 2001-04-11 Joel Sherrill <joel@OARcorp.com> |
---|
350 | |
---|
351 | |
---|
352 | * macros/rtems/score/userext.inl: Now works after merging patch for |
---|
353 | functionality requested in PR174. |
---|
354 | * inline/rtems/score/userext.inl: Added a comment explaining the |
---|
355 | order in which routines appear since it is not the obvious order. |
---|
356 | |
---|
357 | 2002-04-08 Chris Johns <ccj@acm.org> |
---|
358 | |
---|
359 | * Per PR141 and PR174, make task switch extension its own list and |
---|
360 | fix all odd problems introduced by providing macro version. |
---|
361 | * inline/rtems/score/userext.inl: Fix. |
---|
362 | |
---|
363 | 2001-04-08 Joel Sherrill <joel@OARcorp.com> |
---|
364 | |
---|
365 | * macros/rtems/score/object.inl: Corrected arguments. |
---|
366 | |
---|
367 | 2001-04-08 Joel Sherrill <joel@OARcorp.com> |
---|
368 | |
---|
369 | * macros/rtems/score/userext.inl: Updated to reflect modifications |
---|
370 | to inline version from PR142. |
---|
371 | * inline/rtems/score/userext.inl: Cleanup as side-effect of above. |
---|
372 | |
---|
373 | 2002-04-08 Chris Johns <ccj@acm.org> |
---|
374 | |
---|
375 | * Per PR142, make task switch extension its own list. |
---|
376 | * include/rtems/score/userext.h: Reflect above by adding |
---|
377 | User_extensions_Switch_control and adding it to User_extenions_Control. |
---|
378 | * inline/rtems/score/userext.inl: Allocate all memory in one chunk |
---|
379 | to minimize overhead. Address processing dedicated switch chain. |
---|
380 | |
---|
381 | 2002-04-08 Chris Johns <ccj@acm.org> |
---|
382 | |
---|
383 | * Per PR142, make task switch extension its own list. |
---|
384 | * include/rtems/score/userext.h: Reflect above by adding |
---|
385 | User_extensions_Switch_control and adding it to User_extenions_Control. |
---|
386 | * inline/rtems/score/userext.inl: Allocate all memory in one chunk |
---|
387 | to minimize overhead. Address processing dedicated switch chain. |
---|
388 | |
---|
389 | 2002-03-27 Ralf Corsepius <corsepiu@faw.uni-ulm.de> |
---|
390 | |
---|
391 | * cpu/Makefile.am: Remove AUTOMAKE_OPTIONS. |
---|
392 | * src/Makefile.am: Remove AUTOMAKE_OPTIONS. |
---|
393 | * Makefile.am: Remove AUTOMAKE_OPTIONS. |
---|
394 | * include/Makefile.am: Remove AUTOMAKE_OPTIONS. |
---|
395 | * inline/Makefile.am: Remove AUTOMAKE_OPTIONS. |
---|
396 | * macros/Makefile.am: Remove AUTOMAKE_OPTIONS. |
---|
397 | |
---|
398 | 2002-01-29 Joel Sherrill <joel@OARcorp.com> |
---|
399 | |
---|
400 | * include/rtems/score/watchdog.h: Added WATCHDOG_MAXIMUM_INTERVAL. |
---|
401 | |
---|
402 | 2002-01-19 Ralf Corsepius <corsepiu@faw.uni-ulm.de> |
---|
403 | |
---|
404 | * include/rtems/system.h: Fix typo in yesterday's change: |
---|
405 | RTEMS_MULTILIBS. |
---|
406 | |
---|
407 | 2001-01-18 Joel Sherrill <joel@OARcorp.com> |
---|
408 | |
---|
409 | * include/rtems/system.h: Only include cpuopts.h when building a |
---|
410 | multilib configuration. Some ports still need targopts.h but this |
---|
411 | small modification lets those ports work non-multilib while |
---|
412 | fixing being fixed for multilib. |
---|
413 | |
---|
414 | 2002-01-04 Ralf Corsepius <corsepiu@faw.uni-ulm.de> |
---|
415 | |
---|
416 | * include/rtems/seterr.h: Add do {..} while (0) in defines. |
---|
417 | Rename set_errno_and_return_minus_one into |
---|
418 | rtems_set_errno_and_return_minus_one. |
---|
419 | |
---|
420 | 2001-12-19 Ralf Corsepius <corsepiu@faw.uni-ulm.de> |
---|
421 | |
---|
422 | * inline/rtems/score/object.inl, macros/rtems/score/object.inl: Add |
---|
423 | add casts to Objects_Id in _Objects_Build_ids to avoid implicit |
---|
424 | typecasts from enum to int16 on bit16 targets (here: h8300). |
---|
425 | |
---|
426 | 2001-12-19 Ralf Corsepius <corsepiu@faw.uni-ulm.de> |
---|
427 | |
---|
428 | * src/Makefile.am: Add multilib support. |
---|
429 | |
---|
430 | 2001-11-28 Joel Sherrill <joel@OARcorp.com>, |
---|
431 | |
---|
432 | This was tracked as PR91. |
---|
433 | * include/rtems/score/isr.h, inline/rtems/score/isr.inl, |
---|
434 | macros/rtems/score/isr.inl: Modified to allow any port to provide |
---|
435 | its own implementation of the macro _ISR_Is_in_progress. If the |
---|
436 | port overrides this macro, it must provide a non-inlined function |
---|
437 | implementation. |
---|
438 | |
---|
439 | 2001-11-20 Joel Sherrill <joel@OARcorp.com> |
---|
440 | |
---|
441 | * src/threadhandler.c: When __USE__MAIN__ is defined by the toolset, |
---|
442 | invoke the global constructors via __main. Reported as tested by |
---|
443 | Alexandra Kossovsky <sasha@oktet.ru> and Victor V. Vengerov |
---|
444 | <vvv@oktet.ru> in conjunction with a new set of tool RPMs |
---|
445 | (gcc2.95.3newlib1.9.0-3). This was tracked as GNATS PR tools/84. |
---|
446 | |
---|
447 | 2001-11-07 Joel Sherrill <joel@OARcorp.com> |
---|
448 | |
---|
449 | Reported by Todor.Todorov@barco.com and tracked as PR36. |
---|
450 | * include/rtems/score/object.h: Added prototype for |
---|
451 | _Objects_Get_by_index(). |
---|
452 | * src/objectget.c, src/objectgetisr.c: Corrected procedure for |
---|
453 | getting index from Id so it is correct and optimal for both single |
---|
454 | and multiprocessor configurations. |
---|
455 | |
---|
456 | 2001-10-22 Joel Sherrill <joel@OARcorp.com> |
---|
457 | |
---|
458 | * src/threadhandler.c: Use __USE_INIT_FINI__ since USE_INIT_FINI |
---|
459 | pollutes the application namespace. |
---|
460 | |
---|
461 | 2001-10-16 Joel Sherrill <joel@OARcorp.com> |
---|
462 | |
---|
463 | * .cvsignore: Add stamp-h.in. |
---|
464 | |
---|
465 | 2001-10-16 Joel Sherrill <joel@OARcorp.com> |
---|
466 | |
---|
467 | * include/Makefile.am: Fixed path to cpuopts-tmp.h. |
---|
468 | |
---|
469 | 2001-10-16 Ralf Corsepius <corsepiu@faw.uni-ulm.de> |
---|
470 | |
---|
471 | * include/rtems/Makefile.am: Remove. |
---|
472 | * include/rtems/Makefile.am: Remove. |
---|
473 | * include/Makefile.am: Handle subdirs, require automake-1.5. |
---|
474 | * macros/rtems/Makefile.am: Remove. |
---|
475 | * macros/rtems/score/Makefile.am: Remove. |
---|
476 | * macros/Makefile.am: Handle subdirs, require automake-1.5. |
---|
477 | * inline/rtems/Makefile.am: Remove. |
---|
478 | * inline/rtems/score/Makefile.am: Remove. |
---|
479 | * inline/Makefile.am: Handle subdirs, require automake-1.5. |
---|
480 | * Makefile.am: require automake-1.5 |
---|
481 | |
---|
482 | 2001-09-28 Ralf Corsepius <corsepiu@faw.uni-ulm.de> |
---|
483 | |
---|
484 | * include/rtems/score/Makefile.am: Use 'PREINSTALL_FILES ='. |
---|
485 | * include/rtems/Makefile.am: Use 'PREINSTALL_FILES ='. |
---|
486 | * inline/rtems/score/Makefile.am: Use 'PREINSTALL_FILES ='. |
---|
487 | * macros/rtems/score/Makefile.am: Use 'PREINSTALL_FILES ='. |
---|
488 | |
---|
489 | 2001-09-27 Eric Norum <eric.norum@usask.ca> |
---|
490 | |
---|
491 | * src/threadhandler.c: Now process C++ global constructors |
---|
492 | (_init) as part of the first task execution not in BSP space. |
---|
493 | This depends on the toolset defining USE_INIT_FINI so you |
---|
494 | have to have the right toolset version. |
---|
495 | |
---|
496 | 2001-09-23 Ralf Corsepius <corsepiu@faw.uni-ulm.de> |
---|
497 | |
---|
498 | * include/rtems/score/Makefile.am: Use 'PREINSTALL_FILES ='. |
---|
499 | * include/rtems/Makefile.am: Use 'PREINSTALL_FILES ='. |
---|
500 | * inline/rtems/score/Makefile.am: Use 'PREINSTALL_FILES ='. |
---|
501 | * macros/rtems/score/Makefile.am: Use 'PREINSTALL_FILES ='. |
---|
502 | |
---|
503 | 2001-08-30 Joel Sherrill <joel@OARcorp.com> |
---|
504 | |
---|
505 | * src/coremutex.c, src/coremutexseize.c, src/coremutexsurrender.c, |
---|
506 | inline/rtems/score/coremutex.inl: The per thread field resource_count |
---|
507 | should only be manipulated when a mutex is priority ceiling or |
---|
508 | priority inherit. This was reported by Chris Johns <ccj@acm.org> |
---|
509 | who also noticed that the use of switches for all disciplines |
---|
510 | generated less efficient code than using explicit tests for the one |
---|
511 | or two cases we were really interested in. Further review of his |
---|
512 | modifications made it apparent that the "isa" methods to test mutex |
---|
513 | discipline were not being used so this modification was swept into |
---|
514 | the code as well. |
---|
515 | |
---|
516 | 2001-08-30 Joel Sherrill <joel@OARcorp.com> |
---|
517 | |
---|
518 | * src/coremutexseize.c: Add missing code for proper handling |
---|
519 | of nesting acquisitions. This only impacts building with |
---|
520 | inlines disabled on the source with the "fast mutex" optimizations. |
---|
521 | This was post the 4.5 branch and did not impact released versions. |
---|
522 | |
---|
523 | 2001-08-16 Joel Sherrill <joel@OARcorp.com> |
---|
524 | |
---|
525 | * src/coremutexsurrender.c: Use holder thread not executing |
---|
526 | thread because even though they may and often are the same |
---|
527 | it is not guaranteed unless the proper attribute is set. |
---|
528 | |
---|
529 | 2001-08-16 Joel Sherrill <joel@OARcorp.com> |
---|
530 | |
---|
531 | * include/rtems/score/coremsg.h, src/coremsgsubmit.c: Add a new |
---|
532 | return status to account for blocking sends. Otherwise, the |
---|
533 | caller will think that the returned message status will have |
---|
534 | the ultimate results of the operation. If the send times out, |
---|
535 | the final status will be in the return_code of the thread. |
---|
536 | |
---|
537 | 2001-08-09 Joel Sherrill <joel@OARcorp.com> |
---|
538 | |
---|
539 | * include/rtems/score/coremsg.h, inline/rtems/score/coremsg.inl, |
---|
540 | src/coremsgsubmit.c: Unblocking message queue operations should |
---|
541 | NOT use _Thread_Executing for return status since it is permissible |
---|
542 | to invoke message send operations from an ISR. This was reported |
---|
543 | by Suvrat Gupta <suvrat@utstar.com>. |
---|
544 | |
---|
545 | 2000-05-25 Sergei Organov <osv@javad.ru> |
---|
546 | |
---|
547 | * macros/rtems/score/coresem.inl, inline/rtems/score/coresem.inl: |
---|
548 | Cut and paste problem incorrectly enabled interrupts twice with |
---|
549 | the first time being too early. |
---|
550 | |
---|
551 | 2001-05-09 Ralf Corsepius <corsepiu@faw.uni-ulm.de> |
---|
552 | |
---|
553 | * include/rtems/score/.cvsignore: Add stamp-h, cpuopts.h, |
---|
554 | cpuopts.h.in, cpuopts-tmp.h. |
---|
555 | |
---|
556 | 2001-02-03 Ralf Corsepius <corsepiu@faw.uni-ulm.de> |
---|
557 | |
---|
558 | * include/rtems/Makefile.am, include/rtems/score/Makefile.am, |
---|
559 | inline/rtems/score/Makefile.am, macros/rtems/score/Makefile.am |
---|
560 | Apply include_*HEADERS instead of H_FILES. |
---|
561 | |
---|
562 | 2001-01-29 Joel Sherrill <joel@OARcorp.com> |
---|
563 | |
---|
564 | * src/objectextendinformation.c: Added include of string.h to |
---|
565 | eliminate warning. |
---|
566 | |
---|
567 | 2001-01-08 Joel Sherrill <joel@OARcorp.com> |
---|
568 | |
---|
569 | * src/threadinitialize.c: Fix my bad hack of Ralf's fp_area |
---|
570 | warning removal patch. :( |
---|
571 | |
---|
572 | 2001-01-08 Ralf Corsepius <corsepiu@faw.uni-ulm.de> |
---|
573 | |
---|
574 | * src/threadinitialize.c: Removed warning. |
---|
575 | |
---|
576 | 2001-01-03 Joel Sherrill <joel@OARcorp.com> |
---|
577 | |
---|
578 | * src/isr.c: Modify to properly dereference _ISR_Vector_table |
---|
579 | now that it is dynamically allocated. |
---|
580 | |
---|
581 | 2000-12-19 Joel Sherrill <joel@OARcorp.com> |
---|
582 | |
---|
583 | * src/isr.c: Allocate the _ISR_Vector_table all the time not just when |
---|
584 | we are allocating an interrupt stack. |
---|
585 | |
---|
586 | 2000-12-13 Joel Sherrill <joel@OARcorp.com> |
---|
587 | |
---|
588 | * include/rtems/score/isr.h, src/isr.c: Allocate it from the |
---|
589 | workspace rather than explicitly declaring it. This allows |
---|
590 | the size to be a non-constant from the perspective of score/cpu. |
---|
591 | |
---|
592 | 2000-12-01 Joel Sherrill <joel@OARcorp.com> |
---|
593 | |
---|
594 | * macros/rtems/score/coresem.inl: Removed comments since convention |
---|
595 | calls for comments to be in inline versin. |
---|
596 | * macros/rtems/score/object.inl (Objects_Get_local_object): Fixed |
---|
597 | style to use _ prefix on variable names and use parentheses. |
---|
598 | * macros/rtems/score/object.inl (_Objects_Namespace_remove): Added. |
---|
599 | |
---|
600 | 2000-11-30 Joel Sherrill <joel@OARcorp.com> |
---|
601 | |
---|
602 | * General effort to make things compile with macros not inlines |
---|
603 | * inline/rtems/score/coremutex.inl: Added comment indicating |
---|
604 | for macros there is another copy of |
---|
605 | _CORE_mutex_Seize_interrupt_trylock() in src/coremutexseize.c. |
---|
606 | * src/coremutexseize.c: Added body of |
---|
607 | _CORE_mutex_Seize_interrupt_trylock() for macro case. |
---|
608 | * macros/rtems/score/coremutex.inl: Added prototype for |
---|
609 | _CORE_mutex_Seize_interrupt_trylock() since there is a real |
---|
610 | body when macros are enabled. |
---|
611 | * macros/rtems/score/coresem.inl: Added macro implementation of |
---|
612 | _CORE_semaphore_Seize_isr_disable. |
---|
613 | * macros/score/Makefile.am: Fixed typos. |
---|
614 | * rtems/score/address.inl: Correct macro implementation of |
---|
615 | _Addresses_Is_aligned() so it would compile. |
---|
616 | * macros/rtems/score/coremsg.inl: Added closing parentheses. |
---|
617 | |
---|
618 | 2000-11-28 Chris Johns <ccj@acm.org> |
---|
619 | |
---|
620 | * src/heapallocate.c: Do not allow the size to overflow when |
---|
621 | adjusting it. A test allocated a stack of -1 (~0). This |
---|
622 | actually resulted in a stack being allocated but with a |
---|
623 | size of 0xb. The allocator did not test the size to see if |
---|
624 | it rolled through 0 and so allowed the allocation to happen, the |
---|
625 | thread to get created. The task crashed as you would expect. |
---|
626 | |
---|
627 | 2000-11-02 Joel Sherrill <joel@OARcorp.com> |
---|
628 | |
---|
629 | * include/rtems/system.h: Use proper conditional (RTEMS_POSIX_API) |
---|
630 | so prototypes for POSIX_MP_NOT_IMPLEMENTED(), POSIX_NOT_IMPLEMENTED(), |
---|
631 | POSIX_BOTTOM_REACHED() are actually included. |
---|
632 | |
---|
633 | 2000-11-02 Joel Sherrill <joel@OARcorp.com> |
---|
634 | |
---|
635 | * include/rtems/system.h: Add prototypes for POSIX_MP_NOT_IMPLEMENTED(), |
---|
636 | POSIX_NOT_IMPLEMENTED(), POSIX_BOTTOM_REACHED() removed from newlib. |
---|
637 | |
---|
638 | 2000-10-18 Nick Simon <Nick.SIMON@syntegra.bt.co.uk> |
---|
639 | |
---|
640 | * src/heapgetinfo.c, include/rtems/score/heap.h, src/Makefile.am: |
---|
641 | Added _Heap_Get_information() and information control block. |
---|
642 | * src/heapgetinfo.c: New file. |
---|
643 | |
---|
644 | 2000-09-25 Joel Sherrill <joel@OARcorp.com> |
---|
645 | |
---|
646 | * rtems/system.h: Switched a29k and hppa1.1 to using cpuopts.h not |
---|
647 | targopts.h to reduce dependency on BSP. |
---|
648 | |
---|
649 | 2000-09-20 Joel Sherrill <joel@OARcorp.com> |
---|
650 | |
---|
651 | * src/objectgetbyindex.c: Do not enable dispatching on an |
---|
652 | error path it was not disabled on. |
---|
653 | |
---|
654 | 2000-09-04 Ralf Corsepius <corsepiu@faw.uni-ulm.de> |
---|
655 | |
---|
656 | * src/Makefile.am: Include compile.am. |
---|
657 | |
---|
658 | 2000-08-30 Joel Sherrill <joel@OARcorp.com> |
---|
659 | |
---|
660 | * Many files: Moved posix/include/rtems/posix/seterr.h to |
---|
661 | score/include/rtems/seterr.h so it would be available within |
---|
662 | all APIs. |
---|
663 | |
---|
664 | 2000-08-17 Ralf Corsepius <corsepiu@faw.uni-ulm.de> |
---|
665 | |
---|
666 | * include/rtems/system.h: Include cpuopts.h for __i386__. |
---|
667 | |
---|
668 | 2000-08-10 Joel Sherrill <joel@OARcorp.com> |
---|
669 | |
---|
670 | * ChangeLog: New file. |
---|