Changeset dfd735a1 in mainline
- Timestamp:
- 2010-07-16T11:40:06Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 24697c3
- Parents:
- 5c16ce7
- Location:
- kernel/arch/arm32/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/arm32/src/exc_handler.S
r5c16ce7 rdfd735a1 96 96 ldmfd r3!, {r4-r7} 97 97 stmfd r13!, {r4-r7} 98 stmfd r13, {r13, lr}^ 98 mov r4, r13 99 stmfd r4, {r13, lr}^ 100 nop /* Cannot access r13 immediately after stm(2) */ 99 101 sub r13, r13, #8 100 102 stmfd r13!, {r2} … … 138 140 139 141 # return to user mode 140 ldmfd r13, {r13, lr}^ 142 mov r0, r13 143 ldmfd r0, {r13, lr}^ 144 nop /* Cannot access r13 immediately after ldm(2) */ 141 145 add r13, r13, #8 142 146 b 2f -
kernel/arch/arm32/src/userspace.c
r5c16ce7 rdfd735a1 98 98 "msr spsr_c, %[user_mode]\n" 99 99 "ldmfd sp, {r0-r12, sp, lr}^\n" 100 "nop\n" /* Cannot access sp immediately after ldm(2) */ 100 101 "add sp, sp, #(15*4)\n" 101 102 "ldmfd sp!, {pc}^\n"
Note:
See TracChangeset
for help on using the changeset viewer.