Lines Matching refs:sp
32 REG_S sp, TASK_TI_KERNEL_SP(tp)
35 addi sp, sp, -(PT_SIZE_ON_STACK)
36 srli sp, sp, THREAD_SHIFT
37 andi sp, sp, 0x1
38 bnez sp, handle_kernel_stack_overflow
39 REG_L sp, TASK_TI_KERNEL_SP(tp)
43 REG_S sp, TASK_TI_USER_SP(tp)
44 REG_L sp, TASK_TI_KERNEL_SP(tp)
45 addi sp, sp, -(PT_SIZE_ON_STACK)
46 REG_S x1, PT_RA(sp)
47 REG_S x3, PT_GP(sp)
48 REG_S x5, PT_T0(sp)
49 REG_S x6, PT_T1(sp)
50 REG_S x7, PT_T2(sp)
51 REG_S x8, PT_S0(sp)
52 REG_S x9, PT_S1(sp)
53 REG_S x10, PT_A0(sp)
54 REG_S x11, PT_A1(sp)
55 REG_S x12, PT_A2(sp)
56 REG_S x13, PT_A3(sp)
57 REG_S x14, PT_A4(sp)
58 REG_S x15, PT_A5(sp)
59 REG_S x16, PT_A6(sp)
60 REG_S x17, PT_A7(sp)
61 REG_S x18, PT_S2(sp)
62 REG_S x19, PT_S3(sp)
63 REG_S x20, PT_S4(sp)
64 REG_S x21, PT_S5(sp)
65 REG_S x22, PT_S6(sp)
66 REG_S x23, PT_S7(sp)
67 REG_S x24, PT_S8(sp)
68 REG_S x25, PT_S9(sp)
69 REG_S x26, PT_S10(sp)
70 REG_S x27, PT_S11(sp)
71 REG_S x28, PT_T3(sp)
72 REG_S x29, PT_T4(sp)
73 REG_S x30, PT_T5(sp)
74 REG_S x31, PT_T6(sp)
91 REG_S s0, PT_SP(sp)
92 REG_S s1, PT_STATUS(sp)
93 REG_S s2, PT_EPC(sp)
94 REG_S s3, PT_BADADDR(sp)
95 REG_S s4, PT_CAUSE(sp)
96 REG_S s5, PT_TP(sp)
132 move a0, sp /* pt_regs */
160 move a0, sp /* pt_regs */
181 REG_L a0, PT_A0(sp)
182 REG_L a1, PT_A1(sp)
183 REG_L a2, PT_A2(sp)
184 REG_L a3, PT_A3(sp)
185 REG_L a4, PT_A4(sp)
186 REG_L a5, PT_A5(sp)
187 REG_L a6, PT_A6(sp)
188 REG_L a7, PT_A7(sp)
191 REG_S a0, PT_ORIG_A0(sp)
197 REG_S s2, PT_EPC(sp)
221 REG_S a0, PT_A0(sp)
234 REG_L s0, PT_STATUS(sp)
259 addi s0, sp, PT_SIZE_ON_STACK
270 REG_L s1, PT_STATUS(sp)
279 REG_L a0, PT_STATUS(sp)
297 REG_L a2, PT_EPC(sp)
298 REG_SC x0, a2, PT_EPC(sp)
303 REG_L x1, PT_RA(sp)
304 REG_L x3, PT_GP(sp)
305 REG_L x4, PT_TP(sp)
306 REG_L x5, PT_T0(sp)
307 REG_L x6, PT_T1(sp)
308 REG_L x7, PT_T2(sp)
309 REG_L x8, PT_S0(sp)
310 REG_L x9, PT_S1(sp)
311 REG_L x10, PT_A0(sp)
312 REG_L x11, PT_A1(sp)
313 REG_L x12, PT_A2(sp)
314 REG_L x13, PT_A3(sp)
315 REG_L x14, PT_A4(sp)
316 REG_L x15, PT_A5(sp)
317 REG_L x16, PT_A6(sp)
318 REG_L x17, PT_A7(sp)
319 REG_L x18, PT_S2(sp)
320 REG_L x19, PT_S3(sp)
321 REG_L x20, PT_S4(sp)
322 REG_L x21, PT_S5(sp)
323 REG_L x22, PT_S6(sp)
324 REG_L x23, PT_S7(sp)
325 REG_L x24, PT_S8(sp)
326 REG_L x25, PT_S9(sp)
327 REG_L x26, PT_S10(sp)
328 REG_L x27, PT_S11(sp)
329 REG_L x28, PT_T3(sp)
330 REG_L x29, PT_T4(sp)
331 REG_L x30, PT_T5(sp)
332 REG_L x31, PT_T6(sp)
334 REG_L x2, PT_SP(sp)
361 move a0, sp /* pt_regs */
369 move a0, sp
372 REG_L a0, PT_A0(sp)
373 REG_L a1, PT_A1(sp)
374 REG_L a2, PT_A2(sp)
375 REG_L a3, PT_A3(sp)
376 REG_L a4, PT_A4(sp)
377 REG_L a5, PT_A5(sp)
378 REG_L a6, PT_A6(sp)
379 REG_L a7, PT_A7(sp)
383 move a0, sp
389 la sp, shadow_stack
390 addi sp, sp, SHADOW_OVERFLOW_STACK_SIZE
393 addi sp, sp, -(PT_SIZE_ON_STACK)
394 REG_S x1, PT_RA(sp)
395 REG_S x5, PT_T0(sp)
396 REG_S x6, PT_T1(sp)
397 REG_S x7, PT_T2(sp)
398 REG_S x10, PT_A0(sp)
399 REG_S x11, PT_A1(sp)
400 REG_S x12, PT_A2(sp)
401 REG_S x13, PT_A3(sp)
402 REG_S x14, PT_A4(sp)
403 REG_S x15, PT_A5(sp)
404 REG_S x16, PT_A6(sp)
405 REG_S x17, PT_A7(sp)
406 REG_S x28, PT_T3(sp)
407 REG_S x29, PT_T4(sp)
408 REG_S x30, PT_T5(sp)
409 REG_S x31, PT_T6(sp)
416 REG_S a0, -8(sp)
418 REG_L x1, PT_RA(sp)
419 REG_L x5, PT_T0(sp)
420 REG_L x6, PT_T1(sp)
421 REG_L x7, PT_T2(sp)
422 REG_L x10, PT_A0(sp)
423 REG_L x11, PT_A1(sp)
424 REG_L x12, PT_A2(sp)
425 REG_L x13, PT_A3(sp)
426 REG_L x14, PT_A4(sp)
427 REG_L x15, PT_A5(sp)
428 REG_L x16, PT_A6(sp)
429 REG_L x17, PT_A7(sp)
430 REG_L x28, PT_T3(sp)
431 REG_L x29, PT_T4(sp)
432 REG_L x30, PT_T5(sp)
433 REG_L x31, PT_T6(sp)
436 REG_L sp, -8(sp)
437 addi sp, sp, -(PT_SIZE_ON_STACK)
440 REG_S x1, PT_RA(sp)
441 REG_S x3, PT_GP(sp)
442 REG_S x5, PT_T0(sp)
443 REG_S x6, PT_T1(sp)
444 REG_S x7, PT_T2(sp)
445 REG_S x8, PT_S0(sp)
446 REG_S x9, PT_S1(sp)
447 REG_S x10, PT_A0(sp)
448 REG_S x11, PT_A1(sp)
449 REG_S x12, PT_A2(sp)
450 REG_S x13, PT_A3(sp)
451 REG_S x14, PT_A4(sp)
452 REG_S x15, PT_A5(sp)
453 REG_S x16, PT_A6(sp)
454 REG_S x17, PT_A7(sp)
455 REG_S x18, PT_S2(sp)
456 REG_S x19, PT_S3(sp)
457 REG_S x20, PT_S4(sp)
458 REG_S x21, PT_S5(sp)
459 REG_S x22, PT_S6(sp)
460 REG_S x23, PT_S7(sp)
461 REG_S x24, PT_S8(sp)
462 REG_S x25, PT_S9(sp)
463 REG_S x26, PT_S10(sp)
464 REG_S x27, PT_S11(sp)
465 REG_S x28, PT_T3(sp)
466 REG_S x29, PT_T4(sp)
467 REG_S x30, PT_T5(sp)
468 REG_S x31, PT_T6(sp)
476 REG_S s0, PT_SP(sp)
477 REG_S s1, PT_STATUS(sp)
478 REG_S s2, PT_EPC(sp)
479 REG_S s3, PT_BADADDR(sp)
480 REG_S s4, PT_CAUSE(sp)
481 REG_S s5, PT_TP(sp)
482 move a0, sp
518 REG_S sp, TASK_THREAD_SP_RA(a3)
533 REG_L sp, TASK_THREAD_SP_RA(a4)