[61129cc5] | 1 | 2001-01-18 Joel Sherrill <joel@OARcorp.com> |
---|
| 2 | |
---|
| 3 | * include/rtems/system.h: Only include cpuopts.h when building a |
---|
| 4 | multilib configuration. Some ports still need targopts.h but this |
---|
| 5 | small modification lets those ports work non-multilib while |
---|
| 6 | fixing being fixed for multilib. |
---|
| 7 | |
---|
[b72e368c] | 8 | 2002-01-04 Ralf Corsepius <corsepiu@faw.uni-ulm.de> |
---|
| 9 | |
---|
| 10 | * include/rtems/seterr.h: Add do {..} while (0) in defines. |
---|
| 11 | Rename set_errno_and_return_minus_one into |
---|
| 12 | rtems_set_errno_and_return_minus_one. |
---|
| 13 | |
---|
[b804d632] | 14 | 2001-12-19 Ralf Corsepius <corsepiu@faw.uni-ulm.de> |
---|
| 15 | |
---|
| 16 | * inline/rtems/score/object.inl, macros/rtems/score/object.inl: Add |
---|
| 17 | add casts to Objects_Id in _Objects_Build_ids to avoid implicit |
---|
| 18 | typecasts from enum to int16 on bit16 targets (here: h8300). |
---|
| 19 | |
---|
[ca837f8a] | 20 | 2001-12-19 Ralf Corsepius <corsepiu@faw.uni-ulm.de> |
---|
| 21 | |
---|
| 22 | * src/Makefile.am: Add multilib support. |
---|
| 23 | |
---|
[89ee0b6] | 24 | 2001-11-28 Joel Sherrill <joel@OARcorp.com>, |
---|
| 25 | |
---|
| 26 | This was tracked as PR91. |
---|
| 27 | * include/rtems/score/isr.h, inline/rtems/score/isr.inl, |
---|
| 28 | macros/rtems/score/isr.inl: Modified to allow any port to provide |
---|
| 29 | its own implementation of the macro _ISR_Is_in_progress. If the |
---|
| 30 | port overrides this macro, it must provide a non-inlined function |
---|
| 31 | implementation. |
---|
| 32 | |
---|
[94ab166] | 33 | 2001-11-20 Joel Sherrill <joel@OARcorp.com> |
---|
| 34 | |
---|
| 35 | * src/threadhandler.c: When __USE__MAIN__ is defined by the toolset, |
---|
| 36 | invoke the global constructors via __main. Reported as tested by |
---|
| 37 | Alexandra Kossovsky <sasha@oktet.ru> and Victor V. Vengerov |
---|
| 38 | <vvv@oktet.ru> in conjunction with a new set of tool RPMs |
---|
| 39 | (gcc2.95.3newlib1.9.0-3). This was tracked as GNATS PR tools/84. |
---|
| 40 | |
---|
[c31c15c] | 41 | 2001-11-07 Joel Sherrill <joel@OARcorp.com> |
---|
| 42 | |
---|
| 43 | Reported by Todor.Todorov@barco.com and tracked as PR36. |
---|
| 44 | * include/rtems/score/object.h: Added prototype for |
---|
| 45 | _Objects_Get_by_index(). |
---|
| 46 | * src/objectget.c, src/objectgetisr.c: Corrected procedure for |
---|
| 47 | getting index from Id so it is correct and optimal for both single |
---|
| 48 | and multiprocessor configurations. |
---|
[43b6f75] | 49 | |
---|
[6244ab4] | 50 | 2001-10-22 Joel Sherrill <joel@OARcorp.com> |
---|
| 51 | |
---|
| 52 | * src/threadhandler.c: Use __USE_INIT_FINI__ since USE_INIT_FINI |
---|
| 53 | pollutes the application namespace. |
---|
| 54 | |
---|
[4ef484fe] | 55 | 2001-10-16 Joel Sherrill <joel@OARcorp.com> |
---|
| 56 | |
---|
| 57 | * .cvsignore: Add stamp-h.in. |
---|
| 58 | |
---|
[f11615f] | 59 | 2001-10-16 Joel Sherrill <joel@OARcorp.com> |
---|
| 60 | |
---|
| 61 | * include/Makefile.am: Fixed path to cpuopts-tmp.h. |
---|
| 62 | |
---|
[ff61414] | 63 | 2001-10-16 Ralf Corsepius <corsepiu@faw.uni-ulm.de> |
---|
| 64 | |
---|
| 65 | * include/rtems/Makefile.am: Remove. |
---|
| 66 | * include/rtems/Makefile.am: Remove. |
---|
| 67 | * include/Makefile.am: Handle subdirs, require automake-1.5. |
---|
| 68 | * macros/rtems/Makefile.am: Remove. |
---|
| 69 | * macros/rtems/score/Makefile.am: Remove. |
---|
| 70 | * macros/Makefile.am: Handle subdirs, require automake-1.5. |
---|
| 71 | * inline/rtems/Makefile.am: Remove. |
---|
| 72 | * inline/rtems/score/Makefile.am: Remove. |
---|
| 73 | * inline/Makefile.am: Handle subdirs, require automake-1.5. |
---|
| 74 | * Makefile.am: require automake-1.5 |
---|
| 75 | |
---|
[3f56f22c] | 76 | 2001-09-28 Ralf Corsepius <corsepiu@faw.uni-ulm.de> |
---|
| 77 | |
---|
| 78 | * include/rtems/score/Makefile.am: Use 'PREINSTALL_FILES ='. |
---|
| 79 | * include/rtems/Makefile.am: Use 'PREINSTALL_FILES ='. |
---|
| 80 | * inline/rtems/score/Makefile.am: Use 'PREINSTALL_FILES ='. |
---|
| 81 | * macros/rtems/score/Makefile.am: Use 'PREINSTALL_FILES ='. |
---|
| 82 | |
---|
[5b87515d] | 83 | 2001-09-27 Eric Norum <eric.norum@usask.ca> |
---|
| 84 | |
---|
| 85 | * src/threadhandler.c: Now process C++ global constructors |
---|
| 86 | (_init) as part of the first task execution not in BSP space. |
---|
| 87 | This depends on the toolset defining USE_INIT_FINI so you |
---|
| 88 | have to have the right toolset version. |
---|
| 89 | |
---|
| 90 | 2001-09-23 Ralf Corsepius <corsepiu@faw.uni-ulm.de> |
---|
| 91 | |
---|
| 92 | * include/rtems/score/Makefile.am: Use 'PREINSTALL_FILES ='. |
---|
| 93 | * include/rtems/Makefile.am: Use 'PREINSTALL_FILES ='. |
---|
| 94 | * inline/rtems/score/Makefile.am: Use 'PREINSTALL_FILES ='. |
---|
| 95 | * macros/rtems/score/Makefile.am: Use 'PREINSTALL_FILES ='. |
---|
| 96 | |
---|
[fb1d8f81] | 97 | 2001-08-30 Joel Sherrill <joel@OARcorp.com> |
---|
| 98 | |
---|
| 99 | * src/coremutex.c, src/coremutexseize.c, src/coremutexsurrender.c, |
---|
| 100 | inline/rtems/score/coremutex.inl: The per thread field resource_count |
---|
| 101 | should only be manipulated when a mutex is priority ceiling or |
---|
| 102 | priority inherit. This was reported by Chris Johns <ccj@acm.org> |
---|
| 103 | who also noticed that the use of switches for all disciplines |
---|
| 104 | generated less efficient code than using explicit tests for the one |
---|
| 105 | or two cases we were really interested in. Further review of his |
---|
| 106 | modifications made it apparent that the "isa" methods to test mutex |
---|
| 107 | discipline were not being used so this modification was swept into |
---|
| 108 | the code as well. |
---|
| 109 | |
---|
[dc6b5ed3] | 110 | 2001-08-30 Joel Sherrill <joel@OARcorp.com> |
---|
| 111 | |
---|
| 112 | * src/coremutexseize.c: Add missing code for proper handling |
---|
| 113 | of nesting acquisitions. This only impacts building with |
---|
| 114 | inlines disabled on the source with the "fast mutex" optimizations. |
---|
| 115 | This was post the 4.5 branch and did not impact released versions. |
---|
| 116 | |
---|
[0a51f80] | 117 | 2001-08-16 Joel Sherrill <joel@OARcorp.com> |
---|
| 118 | |
---|
| 119 | * src/coremutexsurrender.c: Use holder thread not executing |
---|
| 120 | thread because even though they may and often are the same |
---|
| 121 | it is not guaranteed unless the proper attribute is set. |
---|
| 122 | |
---|
[7d741413] | 123 | 2001-08-16 Joel Sherrill <joel@OARcorp.com> |
---|
| 124 | |
---|
| 125 | * include/rtems/score/coremsg.h, src/coremsgsubmit.c: Add a new |
---|
| 126 | return status to account for blocking sends. Otherwise, the |
---|
| 127 | caller will think that the returned message status will have |
---|
| 128 | the ultimate results of the operation. If the send times out, |
---|
| 129 | the final status will be in the return_code of the thread. |
---|
| 130 | |
---|
[00815403] | 131 | 2001-08-09 Joel Sherrill <joel@OARcorp.com> |
---|
| 132 | |
---|
| 133 | * include/rtems/score/coremsg.h, inline/rtems/score/coremsg.inl, |
---|
| 134 | src/coremsgsubmit.c: Unblocking message queue operations should |
---|
| 135 | NOT use _Thread_Executing for return status since it is permissible |
---|
| 136 | to invoke message send operations from an ISR. This was reported |
---|
| 137 | by Suvrat Gupta <suvrat@utstar.com>. |
---|
| 138 | |
---|
[fe70df19] | 139 | 2000-05-25 Sergei Organov <osv@javad.ru> |
---|
| 140 | |
---|
| 141 | * macros/rtems/score/coresem.inl, inline/rtems/score/coresem.inl: |
---|
| 142 | Cut and paste problem incorrectly enabled interrupts twice with |
---|
| 143 | the first time being too early. |
---|
| 144 | |
---|
[ba91ea3] | 145 | 2001-05-09 Ralf Corsepius <corsepiu@faw.uni-ulm.de> |
---|
| 146 | |
---|
| 147 | * include/rtems/score/.cvsignore: Add stamp-h, cpuopts.h, |
---|
| 148 | cpuopts.h.in, cpuopts-tmp.h. |
---|
| 149 | |
---|
[792eb74] | 150 | 2001-02-03 Ralf Corsepius <corsepiu@faw.uni-ulm.de> |
---|
| 151 | |
---|
| 152 | * include/rtems/Makefile.am, include/rtems/score/Makefile.am, |
---|
| 153 | inline/rtems/score/Makefile.am, macros/rtems/score/Makefile.am |
---|
| 154 | Apply include_*HEADERS instead of H_FILES. |
---|
| 155 | |
---|
[a76e2b4] | 156 | 2001-01-29 Joel Sherrill <joel@OARcorp.com> |
---|
| 157 | |
---|
| 158 | * src/objectextendinformation.c: Added include of string.h to |
---|
| 159 | eliminate warning. |
---|
| 160 | |
---|
[81f6e8cc] | 161 | 2001-01-08 Joel Sherrill <joel@OARcorp.com> |
---|
| 162 | |
---|
| 163 | * src/threadinitialize.c: Fix my bad hack of Ralf's fp_area |
---|
| 164 | warning removal patch. :( |
---|
| 165 | |
---|
[ac5c8c7] | 166 | 2001-01-08 Ralf Corsepius <corsepiu@faw.uni-ulm.de> |
---|
| 167 | |
---|
| 168 | * src/threadinitialize.c: Removed warning. |
---|
| 169 | |
---|
[d6ea098] | 170 | 2001-01-03 Joel Sherrill <joel@OARcorp.com> |
---|
| 171 | |
---|
| 172 | * src/isr.c: Modify to properly dereference _ISR_Vector_table |
---|
| 173 | now that it is dynamically allocated. |
---|
| 174 | |
---|
[3b06e12b] | 175 | 2000-12-19 Joel Sherrill <joel@OARcorp.com> |
---|
| 176 | |
---|
| 177 | * src/isr.c: Allocate the _ISR_Vector_table all the time not just when |
---|
| 178 | we are allocating an interrupt stack. |
---|
| 179 | |
---|
[9928d08] | 180 | 2000-12-13 Joel Sherrill <joel@OARcorp.com> |
---|
| 181 | |
---|
| 182 | * include/rtems/score/isr.h, src/isr.c: Allocate it from the |
---|
| 183 | workspace rather than explicitly declaring it. This allows |
---|
| 184 | the size to be a non-constant from the perspective of score/cpu. |
---|
| 185 | |
---|
[c9fd602] | 186 | 2000-12-01 Joel Sherrill <joel@OARcorp.com> |
---|
| 187 | |
---|
| 188 | * macros/rtems/score/coresem.inl: Removed comments since convention |
---|
| 189 | calls for comments to be in inline versin. |
---|
| 190 | * macros/rtems/score/object.inl (Objects_Get_local_object): Fixed |
---|
| 191 | style to use _ prefix on variable names and use parentheses. |
---|
| 192 | * macros/rtems/score/object.inl (_Objects_Namespace_remove): Added. |
---|
| 193 | |
---|
[43b6f75] | 194 | 2000-11-30 Joel Sherrill <joel@OARcorp.com> |
---|
| 195 | |
---|
| 196 | * General effort to make things compile with macros not inlines |
---|
| 197 | * inline/rtems/score/coremutex.inl: Added comment indicating |
---|
| 198 | for macros there is another copy of |
---|
| 199 | _CORE_mutex_Seize_interrupt_trylock() in src/coremutexseize.c. |
---|
| 200 | * src/coremutexseize.c: Added body of |
---|
| 201 | _CORE_mutex_Seize_interrupt_trylock() for macro case. |
---|
| 202 | * macros/rtems/score/coremutex.inl: Added prototype for |
---|
| 203 | _CORE_mutex_Seize_interrupt_trylock() since there is a real |
---|
| 204 | body when macros are enabled. |
---|
| 205 | * macros/rtems/score/coresem.inl: Added macro implementation of |
---|
| 206 | _CORE_semaphore_Seize_isr_disable. |
---|
| 207 | * macros/score/Makefile.am: Fixed typos. |
---|
| 208 | * rtems/score/address.inl: Correct macro implementation of |
---|
| 209 | _Addresses_Is_aligned() so it would compile. |
---|
| 210 | * macros/rtems/score/coremsg.inl: Added closing parentheses. |
---|
[66fedb46] | 211 | |
---|
| 212 | 2000-11-28 Chris Johns <ccj@acm.org> |
---|
| 213 | |
---|
| 214 | * src/heapallocate.c: Do not allow the size to overflow when |
---|
| 215 | adjusting it. A test allocated a stack of -1 (~0). This |
---|
| 216 | actually resulted in a stack being allocated but with a |
---|
| 217 | size of 0xb. The allocator did not test the size to see if |
---|
| 218 | it rolled through 0 and so allowed the allocation to happen, the |
---|
| 219 | thread to get created. The task crashed as you would expect. |
---|
[e94ad1fe] | 220 | |
---|
[ba41dfd] | 221 | 2000-11-02 Joel Sherrill <joel@OARcorp.com> |
---|
| 222 | |
---|
| 223 | * include/rtems/system.h: Use proper conditional (RTEMS_POSIX_API) |
---|
| 224 | so prototypes for POSIX_MP_NOT_IMPLEMENTED(), POSIX_NOT_IMPLEMENTED(), |
---|
| 225 | POSIX_BOTTOM_REACHED() are actually included. |
---|
| 226 | |
---|
[b5c50309] | 227 | 2000-11-02 Joel Sherrill <joel@OARcorp.com> |
---|
| 228 | |
---|
| 229 | * include/rtems/system.h: Add prototypes for POSIX_MP_NOT_IMPLEMENTED(), |
---|
| 230 | POSIX_NOT_IMPLEMENTED(), POSIX_BOTTOM_REACHED() removed from newlib. |
---|
| 231 | |
---|
[252565f] | 232 | 2000-10-18 Nick Simon <Nick.SIMON@syntegra.bt.co.uk> |
---|
| 233 | |
---|
| 234 | * src/heapgetinfo.c, include/rtems/score/heap.h, src/Makefile.am: |
---|
| 235 | Added _Heap_Get_information() and information control block. |
---|
| 236 | * src/heapgetinfo.c: New file. |
---|
| 237 | |
---|
[a8d650c] | 238 | 2000-09-25 Joel Sherrill <joel@OARcorp.com> |
---|
| 239 | |
---|
| 240 | * rtems/system.h: Switched a29k and hppa1.1 to using cpuopts.h not |
---|
| 241 | targopts.h to reduce dependency on BSP. |
---|
| 242 | |
---|
[2c6a0491] | 243 | 2000-09-20 Joel Sherrill <joel@OARcorp.com> |
---|
| 244 | |
---|
| 245 | * src/objectgetbyindex.c: Do not enable dispatching on an |
---|
| 246 | error path it was not disabled on. |
---|
| 247 | |
---|
[cc480f9c] | 248 | 2000-09-04 Ralf Corsepius <corsepiu@faw.uni-ulm.de> |
---|
| 249 | |
---|
| 250 | * src/Makefile.am: Include compile.am. |
---|
| 251 | |
---|
[188c82b] | 252 | 2000-08-30 Joel Sherrill <joel@OARcorp.com> |
---|
| 253 | |
---|
| 254 | * Many files: Moved posix/include/rtems/posix/seterr.h to |
---|
| 255 | score/include/rtems/seterr.h so it would be available within |
---|
| 256 | all APIs. |
---|
| 257 | |
---|
[8ca1e808] | 258 | 2000-08-17 Ralf Corsepius <corsepiu@faw.uni-ulm.de> |
---|
| 259 | |
---|
| 260 | * include/rtems/system.h: Include cpuopts.h for __i386__. |
---|
| 261 | |
---|
[e94ad1fe] | 262 | 2000-08-10 Joel Sherrill <joel@OARcorp.com> |
---|
| 263 | |
---|
| 264 | * ChangeLog: New file. |
---|