Changeset 32573ff in mainline for kernel/arch/arm32/src/context.S
- Timestamp:
- 2016-05-02T20:58:16Z (9 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 7c4b26c
- Parents:
- 6adb775f (diff), 5035ba05 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/arm32/src/context.S
r6adb775f r32573ff 27 27 # 28 28 29 #include <abi/asmtool.h> 30 29 31 .text 30 32 31 .global context_save_arch 32 .global context_restore_arch 33 34 context_save_arch: 33 FUNCTION_BEGIN(context_save_arch) 35 34 stmfd sp!, {r1} 36 35 mrs r1, cpsr … … 44 43 mov r0, #1 45 44 mov pc, lr 45 FUNCTION_END(context_save_arch) 46 46 47 48 context_restore_arch: 47 FUNCTION_BEGIN(context_restore_arch) 49 48 ldmia r0!, {r4} 50 49 mrs r5, cpsr … … 58 57 mov r0, #0 59 58 mov pc, lr 59 FUNCTION_END(context_restore_arch) 60
Note:
See TracChangeset
for help on using the changeset viewer.