[d2c26e4b] | 1 | 2002-03-04 Ralf Corsepius <corsepiu@faw.uni-ulm.de> |
---|
| 2 | |
---|
| 3 | * include/rtems/system.h: Add __RTEMS_REVISION__. |
---|
| 4 | |
---|
[9c59c2d9] | 5 | 2002-02-28 Ralf Corsepius <corsepiu@faw.uni-ulm.de> |
---|
| 6 | |
---|
| 7 | * include/rtems/system.h: Add __RTEMS_MAJOR__, __RTEMS_MINOR__. |
---|
| 8 | |
---|
[0404011] | 9 | 2003-02-14 Joel Sherrill <joel@OARcorp.com> |
---|
| 10 | |
---|
| 11 | AMD a29k declared obsolete. |
---|
| 12 | * cpu/Makefile.am: Removed reference. |
---|
| 13 | * cpu/a29k/.cvsignore, cpu/a29k/ChangeLog, cpu/a29k/Makefile.am, |
---|
| 14 | cpu/a29k/amd.ah, cpu/a29k/asm.h, cpu/a29k/configure.ac, |
---|
| 15 | cpu/a29k/cpu.c, cpu/a29k/cpu_asm.S, cpu/a29k/pswmacro.ah, |
---|
| 16 | cpu/a29k/register.ah, cpu/a29k/sig.S, cpu/a29k/rtems/.cvsignore, |
---|
| 17 | cpu/a29k/rtems/score/.cvsignore, cpu/a29k/rtems/score/a29k.h, |
---|
| 18 | cpu/a29k/rtems/score/cpu.h, cpu/a29k/rtems/score/cpu_asm.h, |
---|
| 19 | cpu/a29k/rtems/score/types.h: Removed. |
---|
| 20 | |
---|
[eb7cddd3] | 21 | 2003-01-10 Joel Sherrill <joel@OARcorp.com> |
---|
| 22 | |
---|
| 23 | * src/objectmp.c: Corrected use of name parameter to reflect that it |
---|
| 24 | is actually the name not a pointer to the name. |
---|
| 25 | |
---|
[a2e4e49] | 26 | 2002-12-12 Ralf Corsepius <corsepiu@faw.uni-ulm.de> |
---|
| 27 | |
---|
| 28 | Makefile.am: Don't create $ARCH. |
---|
| 29 | |
---|
[976ed90] | 30 | 2002-12-09 Ralf Corsepius <corsepiu@faw.uni-ulm.de> |
---|
| 31 | |
---|
| 32 | Makefile.am: Fix macro-file installation. |
---|
| 33 | |
---|
[e3e93eb] | 34 | 2002-12-09 Ralf Corsepius <corsepiu@faw.uni-ulm.de> |
---|
| 35 | |
---|
| 36 | Makefile.am: Move include/rtems/score/cpuopts.h to STD_H_FILES. |
---|
| 37 | |
---|
[0c819966] | 38 | 2002-12-09 Ralf Corsepius <corsepiu@faw.uni-ulm.de> |
---|
| 39 | |
---|
| 40 | * include/Makefile.am: Remove. |
---|
| 41 | * inline/Makefile.am: Remove. |
---|
| 42 | * macros/Makefile.am: Remove. |
---|
| 43 | * src/Makefile.am: Remove. |
---|
| 44 | * Makefile.am: Merge-in removed Makefile.ams. |
---|
| 45 | |
---|
[2728d9cf] | 46 | 2002-12-02 Joel Sherrill <joel@OARcorp.com> |
---|
| 47 | |
---|
| 48 | * include/rtems/score/object.h, include/rtems/score/tod.h: |
---|
| 49 | Added casts to eliminate warnings on 16 bit targets like the h8300. |
---|
| 50 | |
---|
[1d6e0f99] | 51 | 2002-11-14 Joel Sherrill <joel@OARcorp.com> |
---|
| 52 | |
---|
| 53 | * macros/rtems/score/object.inl: Keep consistent with inline version. |
---|
| 54 | |
---|
[b041968] | 55 | 2002-10-31 Joel Sherrill <joel@OARcorp.com> |
---|
| 56 | |
---|
| 57 | * src/heapgetinfo.c: Fixed comment. |
---|
| 58 | * src/mpci.c: Removed warning. |
---|
| 59 | |
---|
[78f6323] | 60 | 2002-10-28 Joel Sherrill <joel@OARcorp.com> |
---|
| 61 | |
---|
| 62 | * src/threadhandler.c: Prototype _init() and _main() if they are needed |
---|
| 63 | to avoid a warning. |
---|
| 64 | |
---|
[a50b011f] | 65 | 2002-08-14 Joel Sherrill <joel@OARcorp.com> |
---|
| 66 | |
---|
| 67 | * macros/rtems/score/coremsg.inl: Add <string.h> to remove warning. |
---|
| 68 | * src/threadidlebody.c: Add return 0 to avoid warning. |
---|
| 69 | |
---|
[41c4785] | 70 | 2002-08-07 Chris Johns <ccj@acm.org> |
---|
| 71 | |
---|
| 72 | * src/coretodset.c: Correct calculation of ticks until next section |
---|
| 73 | boundary. It was incorrectly based upon current time not the |
---|
| 74 | time that is being set. |
---|
| 75 | |
---|
[35fc54b1] | 76 | 2002-07-31 Ralf Corsepius <corsepiu@faw.uni-ulm.de> |
---|
| 77 | |
---|
| 78 | * src/Makefile.am: Build into libscore.a. |
---|
| 79 | |
---|
[323845bd] | 80 | 2002-07-22 Joel Sherrill <joel@OARcorp.com> |
---|
| 81 | |
---|
| 82 | * include/rtems/score/apimutex.h (_API_Mutex_Lock): Per PR253 |
---|
| 83 | add the missing _ISR_Disable. This fix was already applied to |
---|
| 84 | the old location (c/src/exec/score/...). |
---|
| 85 | |
---|
[38ae496e] | 86 | 2002-07-22 Ralf Corsepius <corsepiu@faw.uni-ulm.de> |
---|
| 87 | |
---|
| 88 | * src/Makefile.am: Use .$(OBJEXT) instead of .o. |
---|
| 89 | |
---|
[18c19a7] | 90 | 2002-07-16 Joel Sherrill <joel@OARcorp.com> |
---|
| 91 | |
---|
| 92 | * macros/rtems/score/object.inl: Corrected typos in |
---|
| 93 | _Objects_Open, _Objects_Close, and _Objects_Namespace_remove. |
---|
| 94 | |
---|
[e90ff51f] | 95 | 2002-07-05 Joel Sherrill <joel@OARcorp.com> |
---|
| 96 | |
---|
| 97 | * macros/rtems/score/object.inl: Corrected implementation of |
---|
| 98 | _Objects_Open, _Objects_Close, and _Objects_Namespace_remove |
---|
| 99 | to be consistent with the inline implementation. |
---|
| 100 | |
---|
[ef9505a9] | 101 | 2002-07-01 Joel Sherrill <joel@OARcorp.com> |
---|
| 102 | |
---|
| 103 | * Mega patch merge to change the format of the object IDs to |
---|
| 104 | loosen the dependency between the SCORE and the various APIs. |
---|
| 105 | There was considerable work to simplify the object name management |
---|
| 106 | and it appears that the name_table field is no longer needed. |
---|
| 107 | This patch also includes the addition of the internal mutex |
---|
| 108 | which is currently only used to protect some types of allocation |
---|
| 109 | and deallocation. This significantly can reduce context |
---|
| 110 | switch latency under certain circumstances. In particular, |
---|
| 111 | some heap/region operations were O(n) and had dispatching |
---|
| 112 | disabled. This should help enormously. With this merge, |
---|
| 113 | the patch is not as clean as it should be. In particular, |
---|
| 114 | the documentation has not been modified to reflect the new object |
---|
| 115 | ID layout, the IDs in the test screens are not updated, and |
---|
| 116 | _Objects_Get_information needs to be a real routine not inlined. |
---|
| 117 | As part of this patch a lot of MP code for thread/proxy blocking |
---|
| 118 | was made conditional and cleaned up. |
---|
| 119 | * include/Makefile.am, include/rtems/score/coremsg.h, |
---|
| 120 | include/rtems/score/coremutex.h, include/rtems/score/coresem.h, |
---|
| 121 | include/rtems/score/object.h, include/rtems/score/threadq.h, |
---|
| 122 | inline/rtems/score/object.inl, inline/rtems/score/thread.inl, |
---|
| 123 | macros/rtems/score/object.inl, src/Makefile.am, src/coremsg.c, |
---|
| 124 | src/coremutex.c, src/coresem.c, src/mpci.c, |
---|
| 125 | src/objectcomparenameraw.c, src/objectextendinformation.c, |
---|
| 126 | src/objectinitializeinformation.c, src/objectnametoid.c, |
---|
| 127 | src/thread.c, src/threadclose.c, src/threadget.c, src/threadq.c, |
---|
| 128 | src/threadqextractwithproxy.c: Modified as part of above. |
---|
| 129 | * include/rtems/score/apimutex.h, src/objectgetnoprotection.c: New |
---|
| 130 | files. |
---|
| 131 | |
---|
[1b074a1] | 132 | 2001-05-17 Joel Sherrill <joel@OARcorp.com> |
---|
| 133 | |
---|
| 134 | * macros/rtems/score/thread..inl: Implemented missing routines |
---|
| 135 | for new libc reentrancy support. |
---|
| 136 | |
---|
[0df8293e] | 137 | 2002-05-15 Chris Johns <ccj@acm.org> |
---|
| 138 | |
---|
| 139 | * include/rtems/score/thread.h, inline/rtems/score/thread.inl, |
---|
| 140 | src/threaddispatch.c, src/threadinitialize.c: |
---|
| 141 | Move the C library re-enterrant support directly into |
---|
| 142 | the thread dispatch code. RTEMS needs libc and so requiring |
---|
| 143 | libc to use a user extension with its overhead is not the best |
---|
| 144 | solution. This patch lowers the overhead to 2 pointer moves. |
---|
| 145 | |
---|
[bd9265d] | 146 | 2002-05-03 Ralf Corsepius <corsepiu@faw.uni-ulm.de> |
---|
| 147 | |
---|
| 148 | * include/Makefile.am: Work-around to autoconf-2.53 adding PACKAGE_* |
---|
| 149 | to autoheaders - sed out *PACKAGE* from cpuopts-tmp.h. |
---|
| 150 | |
---|
[48f89683] | 151 | 2001-05-14 Till Straumann <strauman@slac.stanford.edu> |
---|
| 152 | |
---|
| 153 | * src/threaddispatch.c, src/threadhandler.c: Per PR211 fix |
---|
| 154 | saving/restoring floating point context. The fpsave and fprestore |
---|
| 155 | routines are only used in a executing context which _is_ fp and hence |
---|
| 156 | has the FPU enabled. The current behavior required the FPU always to |
---|
| 157 | be on which is very dangerous if lazy context switching is used. |
---|
| 158 | [Joel Note: Some ports explicitly enabled the FPU in the FP save and |
---|
| 159 | restore routines to avoid this.] |
---|
| 160 | |
---|
| 161 | The patch also makes sure (on powerpc only) that the FPU is disabled |
---|
| 162 | for integer tasks. Note that this is crucial if deferred fp context |
---|
| 163 | switching is used. Otherwise, fp context corruption may go undetected! |
---|
| 164 | Also note that even tasks which merely push/pop FP registers to/from |
---|
| 165 | the stack without modifying them still MUST be FP tasks - otherwise |
---|
| 166 | (if lazy FP context switching is used), FP register corruption (of |
---|
| 167 | other, FP, tasks may occur)! |
---|
| 168 | |
---|
| 169 | Furthermore, (on PPC) by default, lazy FP context save/restore |
---|
| 170 | is _disabled_. |
---|
| 171 | |
---|
[bf99393f] | 172 | 2001-04-26 Joel Sherrill <joel@OARcorp.com> |
---|
| 173 | |
---|
| 174 | * src/objectcomparenamestring.c: Fix typos. |
---|
| 175 | |
---|
[2b454fa] | 176 | 2001-04-26 Joel Sherrill <joel@OARcorp.com> |
---|
| 177 | |
---|
| 178 | * include/rtems/score/object.h, inline/rtems/score/object.inl, |
---|
| 179 | src/objectcomparenamestring.c: Address PR81 that |
---|
| 180 | reworked POSIX message queues to add a descriptor separate from |
---|
| 181 | the underlying message queue. This allows non-blocking to follow |
---|
| 182 | the "open" not the underlying queue. As part of debugging this |
---|
| 183 | it became clear that _Objects_Compare_name_string was broken |
---|
| 184 | and a simple version using strncmp() was substituted. |
---|
| 185 | |
---|
[9779f3d] | 186 | 2002-04-18 Ralf Corsepius <corsepiu@faw.uni-ulm.de> |
---|
| 187 | |
---|
| 188 | * include/rtems/system.h: Remove targopts.h. |
---|
| 189 | |
---|
[cf80584] | 190 | 2002-04-17 Ralf Corsepius <corsepiu@faw.uni-ulm.de> |
---|
| 191 | |
---|
| 192 | * include/rtems/system.h: Add the sparc to the target supporting |
---|
| 193 | multlibs. |
---|
| 194 | |
---|
[f918e74] | 195 | 2002-04-16 Chris Johns <ccj@acm.org> |
---|
| 196 | |
---|
| 197 | * src/threadinitialize.c: Per PR181, clear the array of user extension |
---|
| 198 | pointers. This lets user extensions that have hooked the switch handler |
---|
| 199 | know if a task has been processed by the user extension before. If a |
---|
| 200 | user extension is created after a task is started it may not know it. |
---|
| 201 | |
---|
[231fccb] | 202 | 2002-04-12 Ralf Corsepius <corsepiu@faw.uni-ulm.de> |
---|
| 203 | |
---|
| 204 | * include/rtems/system.h: Add i386 to multilib-able targets. |
---|
| 205 | |
---|
[ed11413b] | 206 | 2001-04-11 Joel Sherrill <joel@OARcorp.com> |
---|
| 207 | |
---|
| 208 | |
---|
| 209 | * macros/rtems/score/userext.inl: Now works after merging patch for |
---|
| 210 | functionality requested in PR174. |
---|
| 211 | * inline/rtems/score/userext.inl: Added a comment explaining the |
---|
| 212 | order in which routines appear since it is not the obvious order. |
---|
| 213 | |
---|
[02a200d] | 214 | 2002-04-08 Chris Johns <ccj@acm.org> |
---|
| 215 | |
---|
| 216 | * Per PR141 and PR174, make task switch extension its own list and |
---|
| 217 | fix all odd problems introduced by providing macro version. |
---|
| 218 | * inline/rtems/score/userext.inl: Fix. |
---|
| 219 | |
---|
[ab377aa] | 220 | 2001-04-08 Joel Sherrill <joel@OARcorp.com> |
---|
| 221 | |
---|
| 222 | * macros/rtems/score/object.inl: Corrected arguments. |
---|
| 223 | |
---|
[aadb6b0] | 224 | 2001-04-08 Joel Sherrill <joel@OARcorp.com> |
---|
| 225 | |
---|
| 226 | * macros/rtems/score/userext.inl: Updated to reflect modifications |
---|
| 227 | to inline version from PR142. |
---|
| 228 | * inline/rtems/score/userext.inl: Cleanup as side-effect of above. |
---|
| 229 | |
---|
[7af623bf] | 230 | 2002-04-08 Chris Johns <ccj@acm.org> |
---|
| 231 | |
---|
| 232 | * Per PR142, make task switch extension its own list. |
---|
| 233 | * include/rtems/score/userext.h: Reflect above by adding |
---|
| 234 | User_extensions_Switch_control and adding it to User_extenions_Control. |
---|
| 235 | * inline/rtems/score/userext.inl: Allocate all memory in one chunk |
---|
| 236 | to minimize overhead. Address processing dedicated switch chain. |
---|
| 237 | |
---|
[e2c488a4] | 238 | 2002-04-08 Chris Johns <ccj@acm.org> |
---|
| 239 | |
---|
| 240 | * Per PR142, make task switch extension its own list. |
---|
| 241 | * include/rtems/score/userext.h: Reflect above by adding |
---|
| 242 | User_extensions_Switch_control and adding it to User_extenions_Control. |
---|
| 243 | * inline/rtems/score/userext.inl: Allocate all memory in one chunk |
---|
| 244 | to minimize overhead. Address processing dedicated switch chain. |
---|
| 245 | |
---|
[c43484b] | 246 | 2002-03-27 Ralf Corsepius <corsepiu@faw.uni-ulm.de> |
---|
| 247 | |
---|
| 248 | * cpu/Makefile.am: Remove AUTOMAKE_OPTIONS. |
---|
| 249 | * src/Makefile.am: Remove AUTOMAKE_OPTIONS. |
---|
| 250 | * Makefile.am: Remove AUTOMAKE_OPTIONS. |
---|
| 251 | * include/Makefile.am: Remove AUTOMAKE_OPTIONS. |
---|
| 252 | * inline/Makefile.am: Remove AUTOMAKE_OPTIONS. |
---|
| 253 | * macros/Makefile.am: Remove AUTOMAKE_OPTIONS. |
---|
| 254 | |
---|
[a94c2fbb] | 255 | 2002-01-29 Joel Sherrill <joel@OARcorp.com> |
---|
| 256 | |
---|
| 257 | * include/rtems/score/watchdog.h: Added WATCHDOG_MAXIMUM_INTERVAL. |
---|
| 258 | |
---|
[5addee5] | 259 | 2002-01-19 Ralf Corsepius <corsepiu@faw.uni-ulm.de> |
---|
| 260 | |
---|
| 261 | * include/rtems/system.h: Fix typo in yesterday's change: |
---|
| 262 | RTEMS_MULTILIBS. |
---|
| 263 | |
---|
[61129cc5] | 264 | 2001-01-18 Joel Sherrill <joel@OARcorp.com> |
---|
| 265 | |
---|
| 266 | * include/rtems/system.h: Only include cpuopts.h when building a |
---|
| 267 | multilib configuration. Some ports still need targopts.h but this |
---|
| 268 | small modification lets those ports work non-multilib while |
---|
| 269 | fixing being fixed for multilib. |
---|
| 270 | |
---|
[b72e368c] | 271 | 2002-01-04 Ralf Corsepius <corsepiu@faw.uni-ulm.de> |
---|
| 272 | |
---|
| 273 | * include/rtems/seterr.h: Add do {..} while (0) in defines. |
---|
| 274 | Rename set_errno_and_return_minus_one into |
---|
| 275 | rtems_set_errno_and_return_minus_one. |
---|
| 276 | |
---|
[b804d632] | 277 | 2001-12-19 Ralf Corsepius <corsepiu@faw.uni-ulm.de> |
---|
| 278 | |
---|
| 279 | * inline/rtems/score/object.inl, macros/rtems/score/object.inl: Add |
---|
| 280 | add casts to Objects_Id in _Objects_Build_ids to avoid implicit |
---|
| 281 | typecasts from enum to int16 on bit16 targets (here: h8300). |
---|
| 282 | |
---|
[ca837f8a] | 283 | 2001-12-19 Ralf Corsepius <corsepiu@faw.uni-ulm.de> |
---|
| 284 | |
---|
| 285 | * src/Makefile.am: Add multilib support. |
---|
| 286 | |
---|
[89ee0b6] | 287 | 2001-11-28 Joel Sherrill <joel@OARcorp.com>, |
---|
| 288 | |
---|
| 289 | This was tracked as PR91. |
---|
| 290 | * include/rtems/score/isr.h, inline/rtems/score/isr.inl, |
---|
| 291 | macros/rtems/score/isr.inl: Modified to allow any port to provide |
---|
| 292 | its own implementation of the macro _ISR_Is_in_progress. If the |
---|
| 293 | port overrides this macro, it must provide a non-inlined function |
---|
| 294 | implementation. |
---|
| 295 | |
---|
[94ab166] | 296 | 2001-11-20 Joel Sherrill <joel@OARcorp.com> |
---|
| 297 | |
---|
| 298 | * src/threadhandler.c: When __USE__MAIN__ is defined by the toolset, |
---|
| 299 | invoke the global constructors via __main. Reported as tested by |
---|
| 300 | Alexandra Kossovsky <sasha@oktet.ru> and Victor V. Vengerov |
---|
| 301 | <vvv@oktet.ru> in conjunction with a new set of tool RPMs |
---|
| 302 | (gcc2.95.3newlib1.9.0-3). This was tracked as GNATS PR tools/84. |
---|
| 303 | |
---|
[c31c15c] | 304 | 2001-11-07 Joel Sherrill <joel@OARcorp.com> |
---|
| 305 | |
---|
| 306 | Reported by Todor.Todorov@barco.com and tracked as PR36. |
---|
| 307 | * include/rtems/score/object.h: Added prototype for |
---|
| 308 | _Objects_Get_by_index(). |
---|
| 309 | * src/objectget.c, src/objectgetisr.c: Corrected procedure for |
---|
| 310 | getting index from Id so it is correct and optimal for both single |
---|
| 311 | and multiprocessor configurations. |
---|
[43b6f75] | 312 | |
---|
[6244ab4] | 313 | 2001-10-22 Joel Sherrill <joel@OARcorp.com> |
---|
| 314 | |
---|
| 315 | * src/threadhandler.c: Use __USE_INIT_FINI__ since USE_INIT_FINI |
---|
| 316 | pollutes the application namespace. |
---|
| 317 | |
---|
[4ef484fe] | 318 | 2001-10-16 Joel Sherrill <joel@OARcorp.com> |
---|
| 319 | |
---|
| 320 | * .cvsignore: Add stamp-h.in. |
---|
| 321 | |
---|
[f11615f] | 322 | 2001-10-16 Joel Sherrill <joel@OARcorp.com> |
---|
| 323 | |
---|
| 324 | * include/Makefile.am: Fixed path to cpuopts-tmp.h. |
---|
| 325 | |
---|
[ff61414] | 326 | 2001-10-16 Ralf Corsepius <corsepiu@faw.uni-ulm.de> |
---|
| 327 | |
---|
| 328 | * include/rtems/Makefile.am: Remove. |
---|
| 329 | * include/rtems/Makefile.am: Remove. |
---|
| 330 | * include/Makefile.am: Handle subdirs, require automake-1.5. |
---|
| 331 | * macros/rtems/Makefile.am: Remove. |
---|
| 332 | * macros/rtems/score/Makefile.am: Remove. |
---|
| 333 | * macros/Makefile.am: Handle subdirs, require automake-1.5. |
---|
| 334 | * inline/rtems/Makefile.am: Remove. |
---|
| 335 | * inline/rtems/score/Makefile.am: Remove. |
---|
| 336 | * inline/Makefile.am: Handle subdirs, require automake-1.5. |
---|
| 337 | * Makefile.am: require automake-1.5 |
---|
| 338 | |
---|
[3f56f22c] | 339 | 2001-09-28 Ralf Corsepius <corsepiu@faw.uni-ulm.de> |
---|
| 340 | |
---|
| 341 | * include/rtems/score/Makefile.am: Use 'PREINSTALL_FILES ='. |
---|
| 342 | * include/rtems/Makefile.am: Use 'PREINSTALL_FILES ='. |
---|
| 343 | * inline/rtems/score/Makefile.am: Use 'PREINSTALL_FILES ='. |
---|
| 344 | * macros/rtems/score/Makefile.am: Use 'PREINSTALL_FILES ='. |
---|
| 345 | |
---|
[5b87515d] | 346 | 2001-09-27 Eric Norum <eric.norum@usask.ca> |
---|
| 347 | |
---|
| 348 | * src/threadhandler.c: Now process C++ global constructors |
---|
| 349 | (_init) as part of the first task execution not in BSP space. |
---|
| 350 | This depends on the toolset defining USE_INIT_FINI so you |
---|
| 351 | have to have the right toolset version. |
---|
| 352 | |
---|
| 353 | 2001-09-23 Ralf Corsepius <corsepiu@faw.uni-ulm.de> |
---|
| 354 | |
---|
| 355 | * include/rtems/score/Makefile.am: Use 'PREINSTALL_FILES ='. |
---|
| 356 | * include/rtems/Makefile.am: Use 'PREINSTALL_FILES ='. |
---|
| 357 | * inline/rtems/score/Makefile.am: Use 'PREINSTALL_FILES ='. |
---|
| 358 | * macros/rtems/score/Makefile.am: Use 'PREINSTALL_FILES ='. |
---|
| 359 | |
---|
[fb1d8f81] | 360 | 2001-08-30 Joel Sherrill <joel@OARcorp.com> |
---|
| 361 | |
---|
| 362 | * src/coremutex.c, src/coremutexseize.c, src/coremutexsurrender.c, |
---|
| 363 | inline/rtems/score/coremutex.inl: The per thread field resource_count |
---|
| 364 | should only be manipulated when a mutex is priority ceiling or |
---|
| 365 | priority inherit. This was reported by Chris Johns <ccj@acm.org> |
---|
| 366 | who also noticed that the use of switches for all disciplines |
---|
| 367 | generated less efficient code than using explicit tests for the one |
---|
| 368 | or two cases we were really interested in. Further review of his |
---|
| 369 | modifications made it apparent that the "isa" methods to test mutex |
---|
| 370 | discipline were not being used so this modification was swept into |
---|
| 371 | the code as well. |
---|
| 372 | |
---|
[dc6b5ed3] | 373 | 2001-08-30 Joel Sherrill <joel@OARcorp.com> |
---|
| 374 | |
---|
| 375 | * src/coremutexseize.c: Add missing code for proper handling |
---|
| 376 | of nesting acquisitions. This only impacts building with |
---|
| 377 | inlines disabled on the source with the "fast mutex" optimizations. |
---|
| 378 | This was post the 4.5 branch and did not impact released versions. |
---|
| 379 | |
---|
[0a51f80] | 380 | 2001-08-16 Joel Sherrill <joel@OARcorp.com> |
---|
| 381 | |
---|
| 382 | * src/coremutexsurrender.c: Use holder thread not executing |
---|
| 383 | thread because even though they may and often are the same |
---|
| 384 | it is not guaranteed unless the proper attribute is set. |
---|
| 385 | |
---|
[7d741413] | 386 | 2001-08-16 Joel Sherrill <joel@OARcorp.com> |
---|
| 387 | |
---|
| 388 | * include/rtems/score/coremsg.h, src/coremsgsubmit.c: Add a new |
---|
| 389 | return status to account for blocking sends. Otherwise, the |
---|
| 390 | caller will think that the returned message status will have |
---|
| 391 | the ultimate results of the operation. If the send times out, |
---|
| 392 | the final status will be in the return_code of the thread. |
---|
| 393 | |
---|
[00815403] | 394 | 2001-08-09 Joel Sherrill <joel@OARcorp.com> |
---|
| 395 | |
---|
| 396 | * include/rtems/score/coremsg.h, inline/rtems/score/coremsg.inl, |
---|
| 397 | src/coremsgsubmit.c: Unblocking message queue operations should |
---|
| 398 | NOT use _Thread_Executing for return status since it is permissible |
---|
| 399 | to invoke message send operations from an ISR. This was reported |
---|
| 400 | by Suvrat Gupta <suvrat@utstar.com>. |
---|
| 401 | |
---|
[fe70df19] | 402 | 2000-05-25 Sergei Organov <osv@javad.ru> |
---|
| 403 | |
---|
| 404 | * macros/rtems/score/coresem.inl, inline/rtems/score/coresem.inl: |
---|
| 405 | Cut and paste problem incorrectly enabled interrupts twice with |
---|
| 406 | the first time being too early. |
---|
| 407 | |
---|
[ba91ea3] | 408 | 2001-05-09 Ralf Corsepius <corsepiu@faw.uni-ulm.de> |
---|
| 409 | |
---|
| 410 | * include/rtems/score/.cvsignore: Add stamp-h, cpuopts.h, |
---|
| 411 | cpuopts.h.in, cpuopts-tmp.h. |
---|
| 412 | |
---|
[792eb74] | 413 | 2001-02-03 Ralf Corsepius <corsepiu@faw.uni-ulm.de> |
---|
| 414 | |
---|
| 415 | * include/rtems/Makefile.am, include/rtems/score/Makefile.am, |
---|
| 416 | inline/rtems/score/Makefile.am, macros/rtems/score/Makefile.am |
---|
| 417 | Apply include_*HEADERS instead of H_FILES. |
---|
| 418 | |
---|
[a76e2b4] | 419 | 2001-01-29 Joel Sherrill <joel@OARcorp.com> |
---|
| 420 | |
---|
| 421 | * src/objectextendinformation.c: Added include of string.h to |
---|
| 422 | eliminate warning. |
---|
| 423 | |
---|
[81f6e8cc] | 424 | 2001-01-08 Joel Sherrill <joel@OARcorp.com> |
---|
| 425 | |
---|
| 426 | * src/threadinitialize.c: Fix my bad hack of Ralf's fp_area |
---|
| 427 | warning removal patch. :( |
---|
| 428 | |
---|
[ac5c8c7] | 429 | 2001-01-08 Ralf Corsepius <corsepiu@faw.uni-ulm.de> |
---|
| 430 | |
---|
| 431 | * src/threadinitialize.c: Removed warning. |
---|
| 432 | |
---|
[d6ea098] | 433 | 2001-01-03 Joel Sherrill <joel@OARcorp.com> |
---|
| 434 | |
---|
| 435 | * src/isr.c: Modify to properly dereference _ISR_Vector_table |
---|
| 436 | now that it is dynamically allocated. |
---|
| 437 | |
---|
[3b06e12b] | 438 | 2000-12-19 Joel Sherrill <joel@OARcorp.com> |
---|
| 439 | |
---|
| 440 | * src/isr.c: Allocate the _ISR_Vector_table all the time not just when |
---|
| 441 | we are allocating an interrupt stack. |
---|
| 442 | |
---|
[9928d08] | 443 | 2000-12-13 Joel Sherrill <joel@OARcorp.com> |
---|
| 444 | |
---|
| 445 | * include/rtems/score/isr.h, src/isr.c: Allocate it from the |
---|
| 446 | workspace rather than explicitly declaring it. This allows |
---|
| 447 | the size to be a non-constant from the perspective of score/cpu. |
---|
| 448 | |
---|
[c9fd602] | 449 | 2000-12-01 Joel Sherrill <joel@OARcorp.com> |
---|
| 450 | |
---|
| 451 | * macros/rtems/score/coresem.inl: Removed comments since convention |
---|
| 452 | calls for comments to be in inline versin. |
---|
| 453 | * macros/rtems/score/object.inl (Objects_Get_local_object): Fixed |
---|
| 454 | style to use _ prefix on variable names and use parentheses. |
---|
| 455 | * macros/rtems/score/object.inl (_Objects_Namespace_remove): Added. |
---|
| 456 | |
---|
[43b6f75] | 457 | 2000-11-30 Joel Sherrill <joel@OARcorp.com> |
---|
| 458 | |
---|
| 459 | * General effort to make things compile with macros not inlines |
---|
| 460 | * inline/rtems/score/coremutex.inl: Added comment indicating |
---|
| 461 | for macros there is another copy of |
---|
| 462 | _CORE_mutex_Seize_interrupt_trylock() in src/coremutexseize.c. |
---|
| 463 | * src/coremutexseize.c: Added body of |
---|
| 464 | _CORE_mutex_Seize_interrupt_trylock() for macro case. |
---|
| 465 | * macros/rtems/score/coremutex.inl: Added prototype for |
---|
| 466 | _CORE_mutex_Seize_interrupt_trylock() since there is a real |
---|
| 467 | body when macros are enabled. |
---|
| 468 | * macros/rtems/score/coresem.inl: Added macro implementation of |
---|
| 469 | _CORE_semaphore_Seize_isr_disable. |
---|
| 470 | * macros/score/Makefile.am: Fixed typos. |
---|
| 471 | * rtems/score/address.inl: Correct macro implementation of |
---|
| 472 | _Addresses_Is_aligned() so it would compile. |
---|
| 473 | * macros/rtems/score/coremsg.inl: Added closing parentheses. |
---|
[66fedb46] | 474 | |
---|
| 475 | 2000-11-28 Chris Johns <ccj@acm.org> |
---|
| 476 | |
---|
| 477 | * src/heapallocate.c: Do not allow the size to overflow when |
---|
| 478 | adjusting it. A test allocated a stack of -1 (~0). This |
---|
| 479 | actually resulted in a stack being allocated but with a |
---|
| 480 | size of 0xb. The allocator did not test the size to see if |
---|
| 481 | it rolled through 0 and so allowed the allocation to happen, the |
---|
| 482 | thread to get created. The task crashed as you would expect. |
---|
[e94ad1fe] | 483 | |
---|
[ba41dfd] | 484 | 2000-11-02 Joel Sherrill <joel@OARcorp.com> |
---|
| 485 | |
---|
| 486 | * include/rtems/system.h: Use proper conditional (RTEMS_POSIX_API) |
---|
| 487 | so prototypes for POSIX_MP_NOT_IMPLEMENTED(), POSIX_NOT_IMPLEMENTED(), |
---|
| 488 | POSIX_BOTTOM_REACHED() are actually included. |
---|
| 489 | |
---|
[b5c50309] | 490 | 2000-11-02 Joel Sherrill <joel@OARcorp.com> |
---|
| 491 | |
---|
| 492 | * include/rtems/system.h: Add prototypes for POSIX_MP_NOT_IMPLEMENTED(), |
---|
| 493 | POSIX_NOT_IMPLEMENTED(), POSIX_BOTTOM_REACHED() removed from newlib. |
---|
| 494 | |
---|
[252565f] | 495 | 2000-10-18 Nick Simon <Nick.SIMON@syntegra.bt.co.uk> |
---|
| 496 | |
---|
| 497 | * src/heapgetinfo.c, include/rtems/score/heap.h, src/Makefile.am: |
---|
| 498 | Added _Heap_Get_information() and information control block. |
---|
| 499 | * src/heapgetinfo.c: New file. |
---|
| 500 | |
---|
[a8d650c] | 501 | 2000-09-25 Joel Sherrill <joel@OARcorp.com> |
---|
| 502 | |
---|
| 503 | * rtems/system.h: Switched a29k and hppa1.1 to using cpuopts.h not |
---|
| 504 | targopts.h to reduce dependency on BSP. |
---|
| 505 | |
---|
[2c6a0491] | 506 | 2000-09-20 Joel Sherrill <joel@OARcorp.com> |
---|
| 507 | |
---|
| 508 | * src/objectgetbyindex.c: Do not enable dispatching on an |
---|
| 509 | error path it was not disabled on. |
---|
| 510 | |
---|
[cc480f9c] | 511 | 2000-09-04 Ralf Corsepius <corsepiu@faw.uni-ulm.de> |
---|
| 512 | |
---|
| 513 | * src/Makefile.am: Include compile.am. |
---|
| 514 | |
---|
[188c82b] | 515 | 2000-08-30 Joel Sherrill <joel@OARcorp.com> |
---|
| 516 | |
---|
| 517 | * Many files: Moved posix/include/rtems/posix/seterr.h to |
---|
| 518 | score/include/rtems/seterr.h so it would be available within |
---|
| 519 | all APIs. |
---|
| 520 | |
---|
[8ca1e808] | 521 | 2000-08-17 Ralf Corsepius <corsepiu@faw.uni-ulm.de> |
---|
| 522 | |
---|
| 523 | * include/rtems/system.h: Include cpuopts.h for __i386__. |
---|
| 524 | |
---|
[e94ad1fe] | 525 | 2000-08-10 Joel Sherrill <joel@OARcorp.com> |
---|
| 526 | |
---|
| 527 | * ChangeLog: New file. |
---|