Lines Matching +full:mode +full:- +full:switch
3 /*-
54 /* To set the stack pointer for a particular mode we must switch
55 * to that mode update the banked r13 and then switch back.
56 * This routine provides an easy way of doing this for any mode
58 * r0 = CPU mode
63 mrs r3, cpsr /* Switch to the appropriate mode */
70 msr cpsr_fsxc, r3 /* Restore the old mode */
74 /* To get the stack pointer for a particular mode we must switch
75 * to that mode copy the banked r13 and then switch back.
76 * This routine provides an easy way of doing this for any mode
78 * r0 = CPU mode
82 mrs r3, cpsr /* Switch to the appropriate mode */
89 msr cpsr_fsxc, r3 /* Restore the old mode */