;/* Save the new top of stack into the first member of the TCB. */\r
str r0, [r2]\r
\r
- ;/* Ensure thread safety of atomic operations. */\r
- clrex\r
-\r
stmdb sp!, {r3}\r
ldr r0, ulMaxSyscallInterruptPriorityConst\r
ldr r1, [r0]\r
" \n"\r
" stmdb r0!, {r4-r11} \n" /* Save the remaining registers. */\r
" str r0, [r2] \n" /* Save the new top of stack into the first member of the TCB. */\r
- " clrex \n" /* Ensure thread safety of atomic operations. */\r
" \n"\r
" stmdb sp!, {r3, r14} \n"\r
" mov r0, %0 \n"\r
" mrs r1, control \n"\r
" stmdb r0!, {r1, r4-r11} \n" /* Save the remaining registers. */\r
" str r0, [r2] \n" /* Save the new top of stack into the first member of the TCB. */\r
- " clrex \n" /* Ensure thread safety of atomic operations. */\r
" \n"\r
" stmdb sp!, {r3, r14} \n"\r
" mov r0, %0 \n"\r
" \n"\r
" stmdb r0!, {r4-r11, r14} \n" /* Save the core registers. */\r
" str r0, [r2] \n" /* Save the new top of stack into the first member of the TCB. */\r
- " clrex \n" /* Ensure thread safety of atomic operations. */\r
" \n"\r
" stmdb sp!, {r3} \n"\r
" mov r0, %0 \n"\r
" mrs r1, control \n"\r
" stmdb r0!, {r1, r4-r11, r14} \n" /* Save the remaining registers. */\r
" str r0, [r2] \n" /* Save the new top of stack into the first member of the TCB. */\r
- " clrex \n" /* Ensure thread safety of atomic operations. */\r
" \n"\r
" stmdb sp!, {r3} \n"\r
" mov r0, %0 \n"\r
" \n"\r
" stmdb r0!, {r4-r11, r14} \n" /* Save the core registers. */\r
" str r0, [r2] \n" /* Save the new top of stack into the first member of the TCB. */\r
- " clrex \n" /* Ensure thread safety of atomic operations. */\r
" \n"\r
" stmdb sp!, {r3} \n"\r
" mov r0, %0 \n"\r
\r
stmdb r0!, {r4-r11} /* Save the remaining registers. */\r
str r0, [r2] /* Save the new top of stack into the first member of the TCB. */\r
- clrex /* Ensure thread safety of atomic operations. */\r
\r
stmdb sp!, {r3, r14}\r
mov r0, #configMAX_SYSCALL_INTERRUPT_PRIORITY\r
/* Save the new top of stack into the first member of the TCB. */\r
str r0, [r2]\r
\r
- /* Ensure thread safety of atomic operations. */\r
- clrex\r
-\r
stmdb sp!, {r3}\r
mov r0, #configMAX_SYSCALL_INTERRUPT_PRIORITY\r
msr basepri, r0\r
/* Save the new top of stack into the first member of the TCB. */\r
str r0, [r2]\r
\r
- /* Ensure thread safety of atomic operations. */\r
- clrex\r
-\r
stmdb sp!, {r3}\r
mov r0, #configMAX_SYSCALL_INTERRUPT_PRIORITY\r
cpsid i\r
\r
str r0, [r2] /* Save the new top of stack into the first member of the TCB. */\r
\r
- clrex /* Ensure thread safety of atomic operations. */\r
-\r
stmdb sp!, (r3)\r
ldr r0, =_ucMaxSyscallInterruptPriority\r
ldr r1, [r0]\r
\r
stmdb r0!, {r4-r11} /* Save the remaining registers. */\r
str r0, [r2] /* Save the new top of stack into the first member of the TCB. */\r
- clrex /* Ensure thread safety of atomic operations. */\r
\r
stmdb sp!, {r3, r14}\r
mov r0, #configMAX_SYSCALL_INTERRUPT_PRIORITY\r
/* Save the new top of stack into the first member of the TCB. */\r
str r0, [r2]\r
\r
- /* Ensure thread safety of atomic operations. */\r
- clrex\r
-\r
stmdb sp!, {r3}\r
mov r0, #configMAX_SYSCALL_INTERRUPT_PRIORITY\r
msr basepri, r0\r
mrs r1, control\r
stmdb r0!, {r1, r4-r11, r14} /* Save the remaining registers. */\r
str r0, [r2] /* Save the new top of stack into the first member of the TCB. */\r
- clrex /* Ensure thread safety of atomic operations. */\r
\r
stmdb sp!, {r3}\r
mov r0, #configMAX_SYSCALL_INTERRUPT_PRIORITY\r
/* Save the new top of stack into the first member of the TCB. */\r
str r0, [r2]\r
\r
- /* Ensure thread safety of atomic operations. */\r
- clrex\r
-\r
stmdb sp!, {r3}\r
mov r0, #configMAX_SYSCALL_INTERRUPT_PRIORITY\r
cpsid i\r