Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/arch/arm32/src/userspace.c

    rdfd735a1 r82a04c6  
    9797                "mov sp, %[ustate]\n"
    9898                "msr spsr_c, %[user_mode]\n"
    99                 "ldmfd sp, {r0-r12, sp, lr}^\n"
    100                 "nop\n"         /* Cannot access sp immediately after ldm(2) */
    101                 "add sp, sp, #(15*4)\n"
     99                "ldmfd sp!, {r0-r12, sp, lr}^\n"
    102100                "ldmfd sp!, {pc}^\n"
    103101                :: [ustate] "r" (&ustate), [user_mode] "r" (user_mode)
Note: See TracChangeset for help on using the changeset viewer.