Lines Matching refs:sp

24     addi sp, sp, -\cxt_size
25 sw ra, RV_STK_RA(sp)
26 sw tp, RV_STK_TP(sp)
27 sw t0, RV_STK_T0(sp)
28 sw t1, RV_STK_T1(sp)
29 sw t2, RV_STK_T2(sp)
30 sw s0, RV_STK_S0(sp)
31 sw s1, RV_STK_S1(sp)
32 sw a0, RV_STK_A0(sp)
33 sw a1, RV_STK_A1(sp)
34 sw a2, RV_STK_A2(sp)
35 sw a3, RV_STK_A3(sp)
36 sw a4, RV_STK_A4(sp)
37 sw a5, RV_STK_A5(sp)
38 sw a6, RV_STK_A6(sp)
39 sw a7, RV_STK_A7(sp)
40 sw s2, RV_STK_S2(sp)
41 sw s3, RV_STK_S3(sp)
42 sw s4, RV_STK_S4(sp)
43 sw s5, RV_STK_S5(sp)
44 sw s6, RV_STK_S6(sp)
45 sw s7, RV_STK_S7(sp)
46 sw s8, RV_STK_S8(sp)
47 sw s9, RV_STK_S9(sp)
48 sw s10, RV_STK_S10(sp)
49 sw s11, RV_STK_S11(sp)
50 sw t3, RV_STK_T3(sp)
51 sw t4, RV_STK_T4(sp)
52 sw t5, RV_STK_T5(sp)
53 sw t6, RV_STK_T6(sp)
58 sw t0, RV_STK_MEPC(sp)
65 lw ra, RV_STK_RA(sp)
66 lw tp, RV_STK_TP(sp)
67 lw t0, RV_STK_T0(sp)
68 lw t1, RV_STK_T1(sp)
69 lw t2, RV_STK_T2(sp)
70 lw s0, RV_STK_S0(sp)
71 lw s1, RV_STK_S1(sp)
72 lw a0, RV_STK_A0(sp)
73 lw a1, RV_STK_A1(sp)
74 lw a2, RV_STK_A2(sp)
75 lw a3, RV_STK_A3(sp)
76 lw a4, RV_STK_A4(sp)
77 lw a5, RV_STK_A5(sp)
78 lw a6, RV_STK_A6(sp)
79 lw a7, RV_STK_A7(sp)
80 lw s2, RV_STK_S2(sp)
81 lw s3, RV_STK_S3(sp)
82 lw s4, RV_STK_S4(sp)
83 lw s5, RV_STK_S5(sp)
84 lw s6, RV_STK_S6(sp)
85 lw s7, RV_STK_S7(sp)
86 lw s8, RV_STK_S8(sp)
87 lw s9, RV_STK_S9(sp)
88 lw s10, RV_STK_S10(sp)
89 lw s11, RV_STK_S11(sp)
90 lw t3, RV_STK_T3(sp)
91 lw t4, RV_STK_T4(sp)
92 lw t5, RV_STK_T5(sp)
93 lw t6, RV_STK_T6(sp)
94 addi sp,sp, \cxt_size
98 lw t0, RV_STK_MEPC(sp)
148 sw gp, RV_STK_GP(sp)
151 addi t0, sp, RV_STK_FRMSZ /* restore sp with the value when trap happened */
154 sw t0, RV_STK_SP(sp)
156 sw t0, RV_STK_MEPC(sp)
158 sw t0, RV_STK_MSTATUS(sp)
160 sw t0, RV_STK_MTVEC(sp)
162 sw t0, RV_STK_MTVAL(sp)
164 sw t0, RV_STK_MHARTID(sp)
171 mv a0, sp
177 sw a1, RV_STK_MCAUSE(sp)
188 sw a1, RV_STK_MCAUSE(sp)
200 lw gp, RV_STK_GP(sp)
224 sw gp, RV_STK_GP(sp)
226 addi t0, sp, CONTEXT_SIZE /* restore sp with the value when interrupt happened */
228 sw t0, RV_STK_SP(sp)
232 mv a0, sp
276 mv a0, sp /* argument 1, stack pointer */
295 mv a0, sp
300 mv sp, a0