Changeset 6765c07 in mainline
- Timestamp:
- 2007-06-20T23:07:13Z (18 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 3ae470a
- Parents:
- 0eb58f1
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/arm32/src/userspace.c
r0eb58f1 r6765c07 88 88 /* set user mode, set registers, jump */ 89 89 asm volatile ( 90 "mov r0, %0 \n"90 "mov sp, %0 \n" 91 91 "msr spsr_c, %1 \n" 92 "ldmfd r0!, {r0-r12, sp, lr}^ \n"93 "ldmfd r0!, {pc}^\n"92 "ldmfd sp!, {r0-r12, sp, lr}^ \n" 93 "ldmfd sp!, {pc}^\n" 94 94 : 95 95 : "r" (&ustate), "r" (user_mode) 96 : "r0", "r1"97 96 ); 98 97
Note:
See TracChangeset
for help on using the changeset viewer.