1 | 2001-04-26 Joel Sherrill <joel@OARcorp.com> |
---|
2 | |
---|
3 | * include/rtems/score/object.h, inline/rtems/score/object.inl, |
---|
4 | src/objectcomparenamestring.c: Address PR81 that |
---|
5 | reworked POSIX message queues to add a descriptor separate from |
---|
6 | the underlying message queue. This allows non-blocking to follow |
---|
7 | the "open" not the underlying queue. As part of debugging this |
---|
8 | it became clear that _Objects_Compare_name_string was broken |
---|
9 | and a simple version using strncmp() was substituted. |
---|
10 | |
---|
11 | 2002-04-18 Ralf Corsepius <corsepiu@faw.uni-ulm.de> |
---|
12 | |
---|
13 | * include/rtems/system.h: Remove targopts.h. |
---|
14 | |
---|
15 | 2002-04-17 Ralf Corsepius <corsepiu@faw.uni-ulm.de> |
---|
16 | |
---|
17 | * include/rtems/system.h: Add the sparc to the target supporting |
---|
18 | multlibs. |
---|
19 | |
---|
20 | 2002-04-16 Chris Johns <ccj@acm.org> |
---|
21 | |
---|
22 | * src/threadinitialize.c: Per PR181, clear the array of user extension |
---|
23 | pointers. This lets user extensions that have hooked the switch handler |
---|
24 | know if a task has been processed by the user extension before. If a |
---|
25 | user extension is created after a task is started it may not know it. |
---|
26 | |
---|
27 | 2002-04-12 Ralf Corsepius <corsepiu@faw.uni-ulm.de> |
---|
28 | |
---|
29 | * include/rtems/system.h: Add i386 to multilib-able targets. |
---|
30 | |
---|
31 | 2001-04-11 Joel Sherrill <joel@OARcorp.com> |
---|
32 | |
---|
33 | |
---|
34 | * macros/rtems/score/userext.inl: Now works after merging patch for |
---|
35 | functionality requested in PR174. |
---|
36 | * inline/rtems/score/userext.inl: Added a comment explaining the |
---|
37 | order in which routines appear since it is not the obvious order. |
---|
38 | |
---|
39 | 2002-04-08 Chris Johns <ccj@acm.org> |
---|
40 | |
---|
41 | * Per PR141 and PR174, make task switch extension its own list and |
---|
42 | fix all odd problems introduced by providing macro version. |
---|
43 | * inline/rtems/score/userext.inl: Fix. |
---|
44 | |
---|
45 | 2001-04-08 Joel Sherrill <joel@OARcorp.com> |
---|
46 | |
---|
47 | * macros/rtems/score/object.inl: Corrected arguments. |
---|
48 | |
---|
49 | 2001-04-08 Joel Sherrill <joel@OARcorp.com> |
---|
50 | |
---|
51 | * macros/rtems/score/userext.inl: Updated to reflect modifications |
---|
52 | to inline version from PR142. |
---|
53 | * inline/rtems/score/userext.inl: Cleanup as side-effect of above. |
---|
54 | |
---|
55 | 2002-04-08 Chris Johns <ccj@acm.org> |
---|
56 | |
---|
57 | * Per PR142, make task switch extension its own list. |
---|
58 | * include/rtems/score/userext.h: Reflect above by adding |
---|
59 | User_extensions_Switch_control and adding it to User_extenions_Control. |
---|
60 | * inline/rtems/score/userext.inl: Allocate all memory in one chunk |
---|
61 | to minimize overhead. Address processing dedicated switch chain. |
---|
62 | |
---|
63 | 2002-04-08 Chris Johns <ccj@acm.org> |
---|
64 | |
---|
65 | * Per PR142, make task switch extension its own list. |
---|
66 | * include/rtems/score/userext.h: Reflect above by adding |
---|
67 | User_extensions_Switch_control and adding it to User_extenions_Control. |
---|
68 | * inline/rtems/score/userext.inl: Allocate all memory in one chunk |
---|
69 | to minimize overhead. Address processing dedicated switch chain. |
---|
70 | |
---|
71 | 2002-03-27 Ralf Corsepius <corsepiu@faw.uni-ulm.de> |
---|
72 | |
---|
73 | * cpu/Makefile.am: Remove AUTOMAKE_OPTIONS. |
---|
74 | * src/Makefile.am: Remove AUTOMAKE_OPTIONS. |
---|
75 | * Makefile.am: Remove AUTOMAKE_OPTIONS. |
---|
76 | * include/Makefile.am: Remove AUTOMAKE_OPTIONS. |
---|
77 | * inline/Makefile.am: Remove AUTOMAKE_OPTIONS. |
---|
78 | * macros/Makefile.am: Remove AUTOMAKE_OPTIONS. |
---|
79 | |
---|
80 | 2002-01-29 Joel Sherrill <joel@OARcorp.com> |
---|
81 | |
---|
82 | * include/rtems/score/watchdog.h: Added WATCHDOG_MAXIMUM_INTERVAL. |
---|
83 | |
---|
84 | 2002-01-19 Ralf Corsepius <corsepiu@faw.uni-ulm.de> |
---|
85 | |
---|
86 | * include/rtems/system.h: Fix typo in yesterday's change: |
---|
87 | RTEMS_MULTILIBS. |
---|
88 | |
---|
89 | 2001-01-18 Joel Sherrill <joel@OARcorp.com> |
---|
90 | |
---|
91 | * include/rtems/system.h: Only include cpuopts.h when building a |
---|
92 | multilib configuration. Some ports still need targopts.h but this |
---|
93 | small modification lets those ports work non-multilib while |
---|
94 | fixing being fixed for multilib. |
---|
95 | |
---|
96 | 2002-01-04 Ralf Corsepius <corsepiu@faw.uni-ulm.de> |
---|
97 | |
---|
98 | * include/rtems/seterr.h: Add do {..} while (0) in defines. |
---|
99 | Rename set_errno_and_return_minus_one into |
---|
100 | rtems_set_errno_and_return_minus_one. |
---|
101 | |
---|
102 | 2001-12-19 Ralf Corsepius <corsepiu@faw.uni-ulm.de> |
---|
103 | |
---|
104 | * inline/rtems/score/object.inl, macros/rtems/score/object.inl: Add |
---|
105 | add casts to Objects_Id in _Objects_Build_ids to avoid implicit |
---|
106 | typecasts from enum to int16 on bit16 targets (here: h8300). |
---|
107 | |
---|
108 | 2001-12-19 Ralf Corsepius <corsepiu@faw.uni-ulm.de> |
---|
109 | |
---|
110 | * src/Makefile.am: Add multilib support. |
---|
111 | |
---|
112 | 2001-11-28 Joel Sherrill <joel@OARcorp.com>, |
---|
113 | |
---|
114 | This was tracked as PR91. |
---|
115 | * include/rtems/score/isr.h, inline/rtems/score/isr.inl, |
---|
116 | macros/rtems/score/isr.inl: Modified to allow any port to provide |
---|
117 | its own implementation of the macro _ISR_Is_in_progress. If the |
---|
118 | port overrides this macro, it must provide a non-inlined function |
---|
119 | implementation. |
---|
120 | |
---|
121 | 2001-11-20 Joel Sherrill <joel@OARcorp.com> |
---|
122 | |
---|
123 | * src/threadhandler.c: When __USE__MAIN__ is defined by the toolset, |
---|
124 | invoke the global constructors via __main. Reported as tested by |
---|
125 | Alexandra Kossovsky <sasha@oktet.ru> and Victor V. Vengerov |
---|
126 | <vvv@oktet.ru> in conjunction with a new set of tool RPMs |
---|
127 | (gcc2.95.3newlib1.9.0-3). This was tracked as GNATS PR tools/84. |
---|
128 | |
---|
129 | 2001-11-07 Joel Sherrill <joel@OARcorp.com> |
---|
130 | |
---|
131 | Reported by Todor.Todorov@barco.com and tracked as PR36. |
---|
132 | * include/rtems/score/object.h: Added prototype for |
---|
133 | _Objects_Get_by_index(). |
---|
134 | * src/objectget.c, src/objectgetisr.c: Corrected procedure for |
---|
135 | getting index from Id so it is correct and optimal for both single |
---|
136 | and multiprocessor configurations. |
---|
137 | |
---|
138 | 2001-10-22 Joel Sherrill <joel@OARcorp.com> |
---|
139 | |
---|
140 | * src/threadhandler.c: Use __USE_INIT_FINI__ since USE_INIT_FINI |
---|
141 | pollutes the application namespace. |
---|
142 | |
---|
143 | 2001-10-16 Joel Sherrill <joel@OARcorp.com> |
---|
144 | |
---|
145 | * .cvsignore: Add stamp-h.in. |
---|
146 | |
---|
147 | 2001-10-16 Joel Sherrill <joel@OARcorp.com> |
---|
148 | |
---|
149 | * include/Makefile.am: Fixed path to cpuopts-tmp.h. |
---|
150 | |
---|
151 | 2001-10-16 Ralf Corsepius <corsepiu@faw.uni-ulm.de> |
---|
152 | |
---|
153 | * include/rtems/Makefile.am: Remove. |
---|
154 | * include/rtems/Makefile.am: Remove. |
---|
155 | * include/Makefile.am: Handle subdirs, require automake-1.5. |
---|
156 | * macros/rtems/Makefile.am: Remove. |
---|
157 | * macros/rtems/score/Makefile.am: Remove. |
---|
158 | * macros/Makefile.am: Handle subdirs, require automake-1.5. |
---|
159 | * inline/rtems/Makefile.am: Remove. |
---|
160 | * inline/rtems/score/Makefile.am: Remove. |
---|
161 | * inline/Makefile.am: Handle subdirs, require automake-1.5. |
---|
162 | * Makefile.am: require automake-1.5 |
---|
163 | |
---|
164 | 2001-09-28 Ralf Corsepius <corsepiu@faw.uni-ulm.de> |
---|
165 | |
---|
166 | * include/rtems/score/Makefile.am: Use 'PREINSTALL_FILES ='. |
---|
167 | * include/rtems/Makefile.am: Use 'PREINSTALL_FILES ='. |
---|
168 | * inline/rtems/score/Makefile.am: Use 'PREINSTALL_FILES ='. |
---|
169 | * macros/rtems/score/Makefile.am: Use 'PREINSTALL_FILES ='. |
---|
170 | |
---|
171 | 2001-09-27 Eric Norum <eric.norum@usask.ca> |
---|
172 | |
---|
173 | * src/threadhandler.c: Now process C++ global constructors |
---|
174 | (_init) as part of the first task execution not in BSP space. |
---|
175 | This depends on the toolset defining USE_INIT_FINI so you |
---|
176 | have to have the right toolset version. |
---|
177 | |
---|
178 | 2001-09-23 Ralf Corsepius <corsepiu@faw.uni-ulm.de> |
---|
179 | |
---|
180 | * include/rtems/score/Makefile.am: Use 'PREINSTALL_FILES ='. |
---|
181 | * include/rtems/Makefile.am: Use 'PREINSTALL_FILES ='. |
---|
182 | * inline/rtems/score/Makefile.am: Use 'PREINSTALL_FILES ='. |
---|
183 | * macros/rtems/score/Makefile.am: Use 'PREINSTALL_FILES ='. |
---|
184 | |
---|
185 | 2001-08-30 Joel Sherrill <joel@OARcorp.com> |
---|
186 | |
---|
187 | * src/coremutex.c, src/coremutexseize.c, src/coremutexsurrender.c, |
---|
188 | inline/rtems/score/coremutex.inl: The per thread field resource_count |
---|
189 | should only be manipulated when a mutex is priority ceiling or |
---|
190 | priority inherit. This was reported by Chris Johns <ccj@acm.org> |
---|
191 | who also noticed that the use of switches for all disciplines |
---|
192 | generated less efficient code than using explicit tests for the one |
---|
193 | or two cases we were really interested in. Further review of his |
---|
194 | modifications made it apparent that the "isa" methods to test mutex |
---|
195 | discipline were not being used so this modification was swept into |
---|
196 | the code as well. |
---|
197 | |
---|
198 | 2001-08-30 Joel Sherrill <joel@OARcorp.com> |
---|
199 | |
---|
200 | * src/coremutexseize.c: Add missing code for proper handling |
---|
201 | of nesting acquisitions. This only impacts building with |
---|
202 | inlines disabled on the source with the "fast mutex" optimizations. |
---|
203 | This was post the 4.5 branch and did not impact released versions. |
---|
204 | |
---|
205 | 2001-08-16 Joel Sherrill <joel@OARcorp.com> |
---|
206 | |
---|
207 | * src/coremutexsurrender.c: Use holder thread not executing |
---|
208 | thread because even though they may and often are the same |
---|
209 | it is not guaranteed unless the proper attribute is set. |
---|
210 | |
---|
211 | 2001-08-16 Joel Sherrill <joel@OARcorp.com> |
---|
212 | |
---|
213 | * include/rtems/score/coremsg.h, src/coremsgsubmit.c: Add a new |
---|
214 | return status to account for blocking sends. Otherwise, the |
---|
215 | caller will think that the returned message status will have |
---|
216 | the ultimate results of the operation. If the send times out, |
---|
217 | the final status will be in the return_code of the thread. |
---|
218 | |
---|
219 | 2001-08-09 Joel Sherrill <joel@OARcorp.com> |
---|
220 | |
---|
221 | * include/rtems/score/coremsg.h, inline/rtems/score/coremsg.inl, |
---|
222 | src/coremsgsubmit.c: Unblocking message queue operations should |
---|
223 | NOT use _Thread_Executing for return status since it is permissible |
---|
224 | to invoke message send operations from an ISR. This was reported |
---|
225 | by Suvrat Gupta <suvrat@utstar.com>. |
---|
226 | |
---|
227 | 2000-05-25 Sergei Organov <osv@javad.ru> |
---|
228 | |
---|
229 | * macros/rtems/score/coresem.inl, inline/rtems/score/coresem.inl: |
---|
230 | Cut and paste problem incorrectly enabled interrupts twice with |
---|
231 | the first time being too early. |
---|
232 | |
---|
233 | 2001-05-09 Ralf Corsepius <corsepiu@faw.uni-ulm.de> |
---|
234 | |
---|
235 | * include/rtems/score/.cvsignore: Add stamp-h, cpuopts.h, |
---|
236 | cpuopts.h.in, cpuopts-tmp.h. |
---|
237 | |
---|
238 | 2001-02-03 Ralf Corsepius <corsepiu@faw.uni-ulm.de> |
---|
239 | |
---|
240 | * include/rtems/Makefile.am, include/rtems/score/Makefile.am, |
---|
241 | inline/rtems/score/Makefile.am, macros/rtems/score/Makefile.am |
---|
242 | Apply include_*HEADERS instead of H_FILES. |
---|
243 | |
---|
244 | 2001-01-29 Joel Sherrill <joel@OARcorp.com> |
---|
245 | |
---|
246 | * src/objectextendinformation.c: Added include of string.h to |
---|
247 | eliminate warning. |
---|
248 | |
---|
249 | 2001-01-08 Joel Sherrill <joel@OARcorp.com> |
---|
250 | |
---|
251 | * src/threadinitialize.c: Fix my bad hack of Ralf's fp_area |
---|
252 | warning removal patch. :( |
---|
253 | |
---|
254 | 2001-01-08 Ralf Corsepius <corsepiu@faw.uni-ulm.de> |
---|
255 | |
---|
256 | * src/threadinitialize.c: Removed warning. |
---|
257 | |
---|
258 | 2001-01-03 Joel Sherrill <joel@OARcorp.com> |
---|
259 | |
---|
260 | * src/isr.c: Modify to properly dereference _ISR_Vector_table |
---|
261 | now that it is dynamically allocated. |
---|
262 | |
---|
263 | 2000-12-19 Joel Sherrill <joel@OARcorp.com> |
---|
264 | |
---|
265 | * src/isr.c: Allocate the _ISR_Vector_table all the time not just when |
---|
266 | we are allocating an interrupt stack. |
---|
267 | |
---|
268 | 2000-12-13 Joel Sherrill <joel@OARcorp.com> |
---|
269 | |
---|
270 | * include/rtems/score/isr.h, src/isr.c: Allocate it from the |
---|
271 | workspace rather than explicitly declaring it. This allows |
---|
272 | the size to be a non-constant from the perspective of score/cpu. |
---|
273 | |
---|
274 | 2000-12-01 Joel Sherrill <joel@OARcorp.com> |
---|
275 | |
---|
276 | * macros/rtems/score/coresem.inl: Removed comments since convention |
---|
277 | calls for comments to be in inline versin. |
---|
278 | * macros/rtems/score/object.inl (Objects_Get_local_object): Fixed |
---|
279 | style to use _ prefix on variable names and use parentheses. |
---|
280 | * macros/rtems/score/object.inl (_Objects_Namespace_remove): Added. |
---|
281 | |
---|
282 | 2000-11-30 Joel Sherrill <joel@OARcorp.com> |
---|
283 | |
---|
284 | * General effort to make things compile with macros not inlines |
---|
285 | * inline/rtems/score/coremutex.inl: Added comment indicating |
---|
286 | for macros there is another copy of |
---|
287 | _CORE_mutex_Seize_interrupt_trylock() in src/coremutexseize.c. |
---|
288 | * src/coremutexseize.c: Added body of |
---|
289 | _CORE_mutex_Seize_interrupt_trylock() for macro case. |
---|
290 | * macros/rtems/score/coremutex.inl: Added prototype for |
---|
291 | _CORE_mutex_Seize_interrupt_trylock() since there is a real |
---|
292 | body when macros are enabled. |
---|
293 | * macros/rtems/score/coresem.inl: Added macro implementation of |
---|
294 | _CORE_semaphore_Seize_isr_disable. |
---|
295 | * macros/score/Makefile.am: Fixed typos. |
---|
296 | * rtems/score/address.inl: Correct macro implementation of |
---|
297 | _Addresses_Is_aligned() so it would compile. |
---|
298 | * macros/rtems/score/coremsg.inl: Added closing parentheses. |
---|
299 | |
---|
300 | 2000-11-28 Chris Johns <ccj@acm.org> |
---|
301 | |
---|
302 | * src/heapallocate.c: Do not allow the size to overflow when |
---|
303 | adjusting it. A test allocated a stack of -1 (~0). This |
---|
304 | actually resulted in a stack being allocated but with a |
---|
305 | size of 0xb. The allocator did not test the size to see if |
---|
306 | it rolled through 0 and so allowed the allocation to happen, the |
---|
307 | thread to get created. The task crashed as you would expect. |
---|
308 | |
---|
309 | 2000-11-02 Joel Sherrill <joel@OARcorp.com> |
---|
310 | |
---|
311 | * include/rtems/system.h: Use proper conditional (RTEMS_POSIX_API) |
---|
312 | so prototypes for POSIX_MP_NOT_IMPLEMENTED(), POSIX_NOT_IMPLEMENTED(), |
---|
313 | POSIX_BOTTOM_REACHED() are actually included. |
---|
314 | |
---|
315 | 2000-11-02 Joel Sherrill <joel@OARcorp.com> |
---|
316 | |
---|
317 | * include/rtems/system.h: Add prototypes for POSIX_MP_NOT_IMPLEMENTED(), |
---|
318 | POSIX_NOT_IMPLEMENTED(), POSIX_BOTTOM_REACHED() removed from newlib. |
---|
319 | |
---|
320 | 2000-10-18 Nick Simon <Nick.SIMON@syntegra.bt.co.uk> |
---|
321 | |
---|
322 | * src/heapgetinfo.c, include/rtems/score/heap.h, src/Makefile.am: |
---|
323 | Added _Heap_Get_information() and information control block. |
---|
324 | * src/heapgetinfo.c: New file. |
---|
325 | |
---|
326 | 2000-09-25 Joel Sherrill <joel@OARcorp.com> |
---|
327 | |
---|
328 | * rtems/system.h: Switched a29k and hppa1.1 to using cpuopts.h not |
---|
329 | targopts.h to reduce dependency on BSP. |
---|
330 | |
---|
331 | 2000-09-20 Joel Sherrill <joel@OARcorp.com> |
---|
332 | |
---|
333 | * src/objectgetbyindex.c: Do not enable dispatching on an |
---|
334 | error path it was not disabled on. |
---|
335 | |
---|
336 | 2000-09-04 Ralf Corsepius <corsepiu@faw.uni-ulm.de> |
---|
337 | |
---|
338 | * src/Makefile.am: Include compile.am. |
---|
339 | |
---|
340 | 2000-08-30 Joel Sherrill <joel@OARcorp.com> |
---|
341 | |
---|
342 | * Many files: Moved posix/include/rtems/posix/seterr.h to |
---|
343 | score/include/rtems/seterr.h so it would be available within |
---|
344 | all APIs. |
---|
345 | |
---|
346 | 2000-08-17 Ralf Corsepius <corsepiu@faw.uni-ulm.de> |
---|
347 | |
---|
348 | * include/rtems/system.h: Include cpuopts.h for __i386__. |
---|
349 | |
---|
350 | 2000-08-10 Joel Sherrill <joel@OARcorp.com> |
---|
351 | |
---|
352 | * ChangeLog: New file. |
---|