| /libcpu/risc-v/common/ |
| A D | interrupt_gcc.S | 26 addi sp, sp, -32 * FREGBYTES 62 addi sp, sp, -32 * REGBYTES 64 addi sp, sp, -16 * REGBYTES 101 csrrw sp,mscratch,sp 109 csrrw sp,mscratch,sp 171 addi sp, sp, 32 * REGBYTES 173 addi sp, sp, 16 * REGBYTES 210 addi sp, sp, 32 * FREGBYTES 221 addi sp, sp, -32 * FREGBYTES 260 addi sp, sp, -32 * REGBYTES [all …]
|
| A D | context_gcc.S | 65 LOAD sp, (a0) 95 addi sp, sp, -32 * FREGBYTES 132 addi sp, sp, -32 * REGBYTES 134 addi sp, sp, -16 * REGBYTES 137 STORE sp, (a0) 184 LOAD sp, (a1) 219 mv a0, sp 230 mv sp, a0 277 addi sp, sp, 32 * REGBYTES 279 addi sp, sp, 16 * REGBYTES [all …]
|
| /libcpu/nios/nios_ii/ |
| A D | context_gcc.S | 45 addi sp,sp,-72 48 stw r2, 4(sp) 55 stw r3, 8(sp) 82 stw sp, (r4) 92 ldw sp, (r4) 117 addi sp, sp, 72 131 addi sp,sp,-72 161 stw sp, (r4) 173 ldw sp, (r5) 199 addi sp, sp, 72 [all …]
|
| A D | vector.S | 8 ldw r5, 68(sp) 11 ldw ea, 72(sp) 23 ldw ra, 0(sp) 32 ldw r1, 8(sp) 33 ldw r2, 12(sp) 34 ldw r3, 16(sp) 35 ldw r4, 20(sp) 36 ldw r5, 24(sp) 37 ldw r6, 28(sp) 38 ldw r7, 32(sp) [all …]
|
| /libcpu/mips/common/ |
| A D | stackframe.h | 32 s.d $f0, PT_FPU_R0(sp) 33 s.d $f2, PT_FPU_R2(sp) 34 s.d $f4, PT_FPU_R4(sp) 65 sw v1, PT_HI(sp) 69 sw v1, PT_LO(sp) 93 move k1, sp 94 move k0, sp 166 lw $24, PT_LO(sp) 170 lw $24, PT_HI(sp) 227 LONG_L sp, PT_R29(sp) [all …]
|
| /libcpu/aarch64/common/include/ |
| A D | vector_gcc.h | 23 SAVE_FPU sp 24 stp x0, x1, [sp, #-0x10]! 25 stp x2, x3, [sp, #-0x10]! 26 stp x4, x5, [sp, #-0x10]! 27 stp x6, x7, [sp, #-0x10]! 28 stp x8, x9, [sp, #-0x10]! 58 ldp x2, x3, [sp], #0x10 78 ldp x8, x9, [sp], #0x10 79 ldp x6, x7, [sp], #0x10 80 ldp x4, x5, [sp], #0x10 [all …]
|
| A D | context_gcc.h | 17 SAVE_FPU sp 19 stp x19, x20, [sp, #-0x10]! 20 stp x21, x22, [sp, #-0x10]! 21 stp x23, x24, [sp, #-0x10]! 22 stp x25, x26, [sp, #-0x10]! 23 stp x27, x28, [sp, #-0x10]! 39 add sp, sp, #-1 * CONTEXT_FPU_SIZE 41 add sp, sp, #-7 * 16 55 ldp x19, x20, [sp], #0x10 59 ldp x29, x19, [sp], #0x10 [all …]
|
| /libcpu/risc-v/common64/ |
| A D | stackframe.h | 71 addi sp, sp, -CTX_FPU_REG_NR * REGBYTES 75 addi sp, sp, -CTX_VECTOR_REG_NR * REGBYTES 79 addi sp, sp, -CTX_GENERAL_REG_NR * REGBYTES 80 STORE x1, 1 * REGBYTES(sp) 86 STORE x1, 0 * REGBYTES(sp) 88 STORE x3, 3 * REGBYTES(sp) 90 STORE x5, 5 * REGBYTES(sp) 118 STORE t0, 32 * REGBYTES(sp) 122 mv t1, sp 255 LOAD x1, 0 * REGBYTES(sp) [all …]
|
| A D | cpuport_gcc.S | 16 LOAD ra, REGBYTES(sp) /* thread exit */ 17 addi sp, sp, 2 * REGBYTES 18 LOAD a0, (sp) /* parameter */ 19 LOAD t0, REGBYTES(sp) /* tentry */ 20 addi sp, sp, 2 * REGBYTES
|
| A D | cpuport.c | 52 void *_rt_hw_stack_init(rt_ubase_t *sp, rt_ubase_t ra, rt_ubase_t sstatus) in _rt_hw_stack_init() argument 55 ((rt_ubase_t)sp - sizeof(struct rt_hw_switch_frame)); in _rt_hw_stack_init() 88 rt_ubase_t *sp = (rt_ubase_t *)stack_addr; in rt_hw_stack_init() local 90 sp = (rt_ubase_t *)RT_ALIGN_DOWN((rt_ubase_t)sp, 16); in rt_hw_stack_init() 92 (*--sp) = (rt_ubase_t)tentry; in rt_hw_stack_init() 93 (*--sp) = (rt_ubase_t)parameter; in rt_hw_stack_init() 94 (*--sp) = (rt_ubase_t)texit; in rt_hw_stack_init() 95 --sp; /* alignment */ in rt_hw_stack_init() 99 return (rt_uint8_t *)_rt_hw_stack_init(sp, (rt_ubase_t)_rt_thread_entry, K_SSTATUS_DEFAULT); in rt_hw_stack_init()
|
| /libcpu/aarch64/common/mp/ |
| A D | context_gcc.h | 33 ldp x29, x30, [sp], #0x10 35 ldp x28, x29, [sp], #0x10 38 ldp x28, x29, [sp], #0x10 39 ldp x26, x27, [sp], #0x10 40 ldp x24, x25, [sp], #0x10 48 ldp x8, x9, [sp], #0x10 49 ldp x6, x7, [sp], #0x10 50 ldp x4, x5, [sp], #0x10 51 ldp x2, x3, [sp], #0x10 52 ldp x0, x1, [sp], #0x10 [all …]
|
| /libcpu/sparc-v8/bm3803/ |
| A D | start_gcc.S | 137 mov %g1, %sp 184 st %l2, [%sp + 0x68] 185 st %g1, [%sp + 0x6c] 229 mov %sp, %o1 295 ldd [%sp + 8], %l2 322 sub %fp, 0x20, %sp 328 mov %sp, %g3 455 mov %g3, %sp 461 add %sp, 0x20, %fp 517 mov %sp, %g3 [all …]
|
| /libcpu/arm/lpc214x/ |
| A D | context_gcc.S | 49 STMFD sp!, {r0-r12, lr} /* push lr & register file */ 53 STMFD sp!, {r4} /* push cpsr */ 56 STMFD sp!, {r4} /* push spsr */ 59 STR sp, [r0] /* store sp in preempted tasks TCB */ 62 LDR sp, [r1] /* get new task stack pointer */ 66 LDMFD sp!, {r4} /* pop new task spsr */ 69 LDMFD sp!, {r4} /* pop new task cpsr */ 73 LDMFD sp!, {r0-r12, lr, pc} /* pop new task r0-r12, lr & pc */ 79 LDR sp, [r0] /* get new task stack pointer */ 82 LDMFD sp!, {r4} /* pop new task spsr */ [all …]
|
| /libcpu/arm/am335x/ |
| A D | start_gcc.S | 90 mov sp, r0 95 mov sp, r0 100 mov sp, r0 105 mov sp, r0 110 mov sp, r0 114 mov sp, r0 122 sub sp, sp, #72 145 add sp, sp, #72 161 sub sp, sp, #72 176 add sp, sp, #72 [all …]
|
| /libcpu/arm/AT91SAM7S/ |
| A D | context_gcc.S | 39 stmfd sp!, {r0-r12, lr} /* push lr & register file */ 42 stmfd sp!, {r4} /* push cpsr */ 44 stmfd sp!, {r4} /* push spsr */ 46 str sp, [r0] /* store sp in preempted tasks TCB */ 47 ldr sp, [r1] /* get new task stack pointer */ 49 ldmfd sp!, {r4} /* pop new task spsr */ 51 ldmfd sp!, {r4} /* pop new task cpsr */ 54 ldmfd sp!, {r0-r12, lr, pc} /* pop new task r0-r12, lr & pc */ 62 ldr sp, [r0] /* get new task stack pointer */ 64 ldmfd sp!, {r4} /* pop new task spsr */ [all …]
|
| /libcpu/arm/cortex-a/ |
| A D | start_gcc.S | 67 mov sp, r0 370 mov sp, r8 430 add sp, sp, #4*4 448 sub sp, #8 495 add sp, #8 518 mov r0, sp 519 add sp, sp, #17 * 4 547 sub sp, sp, #17 * 4 550 add sp, sp, #17 * 4 569 mov r0, sp [all …]
|
| /libcpu/avr32/uc3/ |
| A D | context_gcc.S | 43 stm --sp, r8-r12, lr /* Push R8-R12, LR */ 44 st.w --sp, lr /* Push LR (instead of PC) */ 47 st.w --sp, r8 /* Push SR */ 48 stm --sp, r0-r7 /* Push R0-R7 */ 51 st.w r12[0], sp /* Store SP in preempted tasks TCB */ 52 ld.w sp, r11[0] /* Get new task stack pointer */ 54 ldm sp++, r0-r7 /* pop R0-R7 */ 55 ld.w r8, sp++ /* pop SR */ 66 ld.w sp, r12[0] /* Get new task stack pointer */ 68 ldm sp++, r0-r7 /* pop R0-R7 */ [all …]
|
| /libcpu/arm/s3c24x0/ |
| A D | start_gcc.S | 218 stmfd sp!, {r0-r1} 221 ldmfd sp!, {r0-r1} 250 sub sp, sp, #S_FRAME_SIZE 252 add r8, sp, #S_PC 258 mov r0, sp 272 sub sp, sp, #S_FRAME_SIZE 274 add r8, sp, #S_PC 280 mov r0, sp 310 stmfd sp!,{r0-r7,lr} 321 mov r1, sp [all …]
|
| A D | context_gcc.S | 44 stmfd sp!, {r0-r12, lr} @ push lr & register file 47 stmfd sp!, {r4} @ push cpsr 49 stmfd sp!, {r4} @ push spsr 51 str sp, [r0] @ store sp in preempted tasks TCB 52 ldr sp, [r1] @ get new task stack pointer 54 ldmfd sp!, {r4} @ pop new task spsr 56 ldmfd sp!, {r4} @ pop new task cpsr 59 ldmfd sp!, {r0-r12, lr, pc}^ @ pop new task r0-r12, lr & pc 67 ldr sp, [r0] @ get new task stack pointer 69 ldmfd sp!, {r4} @ pop new task spsr [all …]
|
| /libcpu/unicore32/sep6200/ |
| A D | context_gcc.S | 25 stw.w r1, [sp-], #4 29 ldw.w r1, [sp]+, #4 49 stm.w (lr), [sp-] 53 stm.w (r4), [sp-] 55 stm.w (r4), [sp-] 57 stw sp, [r0+] 58 ldw sp, [r1+] 60 ldm.w (r4), [sp]+ 62 ldm.w (r4), [sp]+ 74 ldw sp, [r0+] [all …]
|
| A D | start_gcc.S | 250 stm.w (lr), [sp-] 252 stm.w (r0 - r15), [sp-] 266 ldm.w (lr), [sp]+ 281 ldm.w (lr), [sp]+ 285 mov r1, sp 286 add sp, sp, #16 /* restore sp */ 296 stm.w (lr), [sp-] 324 ldm.w (lr), [sp]+ 325 ldm.w (pc), [sp]+ 335 ldw sp, [r0+] [all …]
|
| /libcpu/arm/arm926/ |
| A D | start_gcc.S | 220 stmfd sp!,{r0-r7,lr} 244 mov r1, sp 245 add sp, sp, #4*4 252 stmfd sp!, {r2} 255 stmfd sp!, {r1-r4} 256 stmfd sp!, {r0} 260 str sp, [r5] 264 ldr sp, [r6] 266 ldmfd sp!, {r4} 273 sub sp, sp, #17 * 4 [all …]
|
| /libcpu/arm/s3c44b0/ |
| A D | context_gcc.S | 44 stmfd sp!, {r0-r12, lr} @ push lr & register file 47 stmfd sp!, {r4} @ push cpsr 49 stmfd sp!, {r4} @ push spsr 51 str sp, [r0] @ store sp in preempted tasks TCB 52 ldr sp, [r1] @ get new task stack pointer 54 ldmfd sp!, {r4} @ pop new task spsr 56 ldmfd sp!, {r4} @ pop new task cpsr 59 ldmfd sp!, {r0-r12, lr, pc} @ pop new task r0-r12, lr & pc 67 ldr sp, [r0] @ get new task stack pointer 69 ldmfd sp!, {r4} @ pop new task spsr [all …]
|
| /libcpu/arm/lpc24xx/ |
| A D | context_gcc.S | 44 stmfd sp!, {r0-r12, lr} @ push lr & register file 47 stmfd sp!, {r4} @ push cpsr 49 stmfd sp!, {r4} @ push spsr 51 str sp, [r0] @ store sp in preempted tasks TCB 52 ldr sp, [r1] @ get new task stack pointer 54 ldmfd sp!, {r4} @ pop new task spsr 56 ldmfd sp!, {r4} @ pop new task cpsr 59 ldmfd sp!, {r0-r12, lr, pc} @ pop new task r0-r12, lr & pc 67 ldr sp, [r0] @ get new task stack pointer 69 ldmfd sp!, {r4} @ pop new task spsr [all …]
|
| /libcpu/arm/AT91SAM7X/ |
| A D | context_gcc.S | 44 stmfd sp!, {r0-r12, lr} @ push lr & register file 47 stmfd sp!, {r4} @ push cpsr 49 stmfd sp!, {r4} @ push spsr 51 str sp, [r0] @ store sp in preempted tasks TCB 52 ldr sp, [r1] @ get new task stack pointer 54 ldmfd sp!, {r4} @ pop new task spsr 56 ldmfd sp!, {r4} @ pop new task cpsr 59 ldmfd sp!, {r0-r12, lr, pc} @ pop new task r0-r12, lr & pc 67 ldr sp, [r0] @ get new task stack pointer 69 ldmfd sp!, {r4} @ pop new task spsr [all …]
|