Home
last modified time | relevance | path

Searched refs:sp (Results 1 – 25 of 37) sorted by relevance

12

/arch/mips/
A Dvectors.S20 addiu $sp, -88
23 sw $at, 0($sp)
24 sw $v0, 4($sp)
25 sw $v1, 8($sp)
26 sw $a0, 12($sp)
27 sw $a1, 16($sp)
28 sw $a2, 20($sp)
29 sw $a3, 24($sp)
30 sw $t0, 28($sp)
87 addiu $sp, 88
[all …]
A Dasm.S28 sw $sp, 40($a0)
41 lw $sp, 40($a1)
A Dthread.c47 t->arch.cs_frame.sp = (vaddr_t)t->stack + t->stack_size; in arch_thread_initialize()
59 dprintf(INFO, "sp 0x%x\n", t->arch.cs_frame.sp); in arch_dump_thread()
/arch/riscv/
A Dasm.S20 STR sp, REGOFF(1)(a0)
46 LDR sp, REGOFF(1)(a1)
53 addi sp, sp, -RISCV_IFRAME_LEN // subtract a multiple of 16 to align the stack in 32bit
56 STR tp, RISCV_IFRAME_TP(sp)
86 STR ra, RISCV_IFRAME_RA(sp)
92 mv a2, sp
131 LDR sp, RISCV_IFRAME_SP(sp)
133 addi sp, sp, RISCV_IFRAME_LEN
141 csrrw sp, RISCV_CSR_XSCRATCH, sp
142 bnez sp, 1f
[all …]
A Dstart.S42 lla sp, default_stack_top
48 sub sp, sp, t1
238 add sp, sp, t0
/arch/m68k/
A Dexceptions_asm.S20 moveml %d0-%d7/%a0-%a6, %sp@-
22 movel %sp,%sp@-
24 add #4, %sp
26 moveml %sp@+, %d0-%d7/%a0-%a6
32 moveml %d0-%d7/%a0-%a6, %sp@-
34 movel %sp,%sp@-
36 add #4, %sp
38 moveml %sp@+, %d0-%d7/%a0-%a6
A Dstart.S14 movl %sp@(4),%d0
15 movl %sp@(8),%d1
16 movl %sp@(12),%d2
17 movl %sp@(16),%d3
54 lea _default_stack_top,%sp
57 movl %d3,%sp@-
58 movl %d2,%sp@-
59 movl %d1,%sp@-
60 movl %d0,%sp@-
A Dasm.S12 movel %sp@+,%d0 // pop PC off the stack
13 movel %sp@,%a0 // oldcs
14 movel %sp@(4),%a1 // newcs
17 movel %sp, %a0@(0) // oldcs.sp
22 movel %a1@(0), %sp // newcs.sp
23 movel %a1@(4), %sp@- // newcs.pc -> stack
/arch/arm/arm/
A Dexceptions.S21 mov \tempreg, sp
22 tst sp, #4
23 subeq sp, #4
32 mov sp, \tempreg
69 sub sp, #8
70 stmia sp, { r13, r14 }^
99 add sp, #8
104 rfeia sp!
121 sub sp, #8
151 add sp, #8
[all …]
A Dthread.c62 t->arch.sp = (vaddr_t)frame; in arch_thread_initialize()
75 arm_context_switch(&oldthread->arch.sp, newthread->arch.sp); in arch_context_switch()
81 dprintf(INFO, "sp 0x%lx\n", t->arch.sp); in arch_dump_thread()
A Dstart.S226 mov sp, r12
229 mov sp, r12
232 mov sp, r12
235 mov sp, r12
238 mov sp, r12
363 mov sp, r1
366 mov sp, r1
369 mov sp, r1
372 mov sp, r1
375 mov sp, r1
[all …]
A Dasm.S29 str sp, [r0]
42 mov sp, r1
100 ldr r3, [sp]
/arch/arm64/
A Dexceptions.S19 sub sp, sp, #32
43 sub sp, sp, #32
81 add sp, sp, #32
99 add sp, sp, #32
105 mov x0, sp
113 mov x0, sp
144 mov x0, sp
155 mov x0, sp
167 mov x0, sp
178 mov x0, sp
[all …]
A Dthread.c71 t->arch.sp = (vaddr_t)frame; in arch_thread_initialize()
80 arm64_context_switch(&oldthread->arch.sp, newthread->arch.sp); in arch_context_switch()
86 dprintf(INFO, "sp 0x%lx\n", t->arch.sp); in arch_dump_thread()
A Dasm.S26 mov x15, sp
30 mov sp, x1
92 mov x4, sp
/arch/x86/
A Dthread.c77 t->arch.sp = (vaddr_t)frame; in arch_thread_initialize()
83 dprintf(INFO, "sp 0x%lx\n", t->arch.sp); in arch_dump_thread()
108 : "d" (&oldthread->arch.sp), "a" (newthread->arch.sp) in arch_context_switch()
142 x86_64_context_switch(&oldthread->arch.sp, newthread->arch.sp); in arch_context_switch()
/arch/arm/arm-m/
A Dthread.c89 uint32_t *sp = (void *)ROUNDDOWN((vaddr_t)t->stack + t->stack_size, 8); in arch_thread_initialize() local
91 struct arm_cm_exception_frame *frame = (void *)sp; in arch_thread_initialize()
101 t->arch.sp = (addr_t)frame; in arch_thread_initialize()
118 _prev_running_thread->arch.sp = old_frame; in pendsv_swap_sp()
120 return _current_thread->arch.sp; in pendsv_swap_sp()
213 dprintf(INFO, "sp 0x%lx", t->arch.sp); in arch_dump_thread()
215 const struct arm_cm_exception_frame *frame = (struct arm_cm_exception_frame *)t->arch.sp; in arch_dump_thread()
/arch/arm/arm-m/include/arch/
A Darch_thread.h15 vaddr_t sp; member
/arch/x86/include/arch/
A Darch_thread.h14 vaddr_t sp; member
/arch/arm/arm/include/arch/
A Darch_thread.h14 vaddr_t sp; member
/arch/riscv/include/arch/riscv/
A Diframe.h51 unsigned long sp; member
64 static_assert(offsetof(struct riscv_short_iframe, sp) == RISCV_IFRAME_SP, "");
/arch/arm64/include/arch/
A Darch_thread.h20 vaddr_t sp; member
/arch/mips/include/arch/
A Darch_thread.h24 uint32_t sp; member
/arch/m68k/include/arch/
A Darch_thread.h13 uint32_t sp; member
/arch/riscv/include/arch/
A Darch_thread.h20 unsigned long sp; // stack pointer (x2) member

Completed in 30 milliseconds

12