Changeset 057c294 in rtems
- Timestamp:
- 12/03/13 08:55:52 (10 years ago)
- Branches:
- 4.11, 5, master
- Children:
- b4e8306
- Parents:
- f339afb
- git-author:
- Sebastian Huber <sebastian.huber@…> (12/03/13 08:55:52)
- git-committer:
- Sebastian Huber <sebastian.huber@…> (12/03/13 11:58:47)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
c/src/lib/libcpu/powerpc/new-exceptions/cpu_asm.S
rf339afb r057c294 268 268 mflr r6 269 269 mfcr r7 270 #if defined(RTEMS_MULTIPROCESSING) || defined(RTEMS_SMP) 270 271 271 /* 272 272 * We have to clear the reservation of the executing thread. See also 273 * Book E section 6.1.6.2 "Atomic Update Primitives". 273 * Book E section 6.1.6.2 "Atomic Update Primitives". Recent GCC 274 * versions use atomic operations in the C++ library for example. 274 275 */ 275 276 277 276 #if PPC_CONTEXT_OFFSET_GPR1 != PPC_CONTEXT_CACHE_LINE_0 \ 277 || !BSP_DATA_CACHE_ENABLED \ 278 || PPC_CACHE_ALIGNMENT != 32 278 279 li r10, PPC_CONTEXT_OFFSET_GPR1 279 280 #endif 280 281 stwcx. r1, r3, r10 281 #endif 282 282 283 stw r1, PPC_CONTEXT_OFFSET_GPR1(r3) 283 284 stw r5, PPC_CONTEXT_OFFSET_MSR(r3)
Note: See TracChangeset
for help on using the changeset viewer.