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