Lines Matching full: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)
212 REG_L s0, PT_STATUS(sp)
235 REG_S a0, PT_A0(sp)
243 move a0, sp
252 REG_L s0, PT_STATUS(sp)
277 addi s0, sp, PT_SIZE_ON_STACK
288 REG_L s1, PT_STATUS(sp)
297 REG_L a0, PT_STATUS(sp)
315 REG_L a2, PT_EPC(sp)
316 REG_SC x0, a2, PT_EPC(sp)
321 REG_L x1, PT_RA(sp)
322 REG_L x3, PT_GP(sp)
323 REG_L x4, PT_TP(sp)
324 REG_L x5, PT_T0(sp)
325 REG_L x6, PT_T1(sp)
326 REG_L x7, PT_T2(sp)
327 REG_L x8, PT_S0(sp)
328 REG_L x9, PT_S1(sp)
329 REG_L x10, PT_A0(sp)
330 REG_L x11, PT_A1(sp)
331 REG_L x12, PT_A2(sp)
332 REG_L x13, PT_A3(sp)
333 REG_L x14, PT_A4(sp)
334 REG_L x15, PT_A5(sp)
335 REG_L x16, PT_A6(sp)
336 REG_L x17, PT_A7(sp)
337 REG_L x18, PT_S2(sp)
338 REG_L x19, PT_S3(sp)
339 REG_L x20, PT_S4(sp)
340 REG_L x21, PT_S5(sp)
341 REG_L x22, PT_S6(sp)
342 REG_L x23, PT_S7(sp)
343 REG_L x24, PT_S8(sp)
344 REG_L x25, PT_S9(sp)
345 REG_L x26, PT_S10(sp)
346 REG_L x27, PT_S11(sp)
347 REG_L x28, PT_T3(sp)
348 REG_L x29, PT_T4(sp)
349 REG_L x30, PT_T5(sp)
350 REG_L x31, PT_T6(sp)
352 REG_L x2, PT_SP(sp)
379 move a0, sp /* pt_regs */
387 move a0, sp
390 REG_L a0, PT_A0(sp)
391 REG_L a1, PT_A1(sp)
392 REG_L a2, PT_A2(sp)
393 REG_L a3, PT_A3(sp)
394 REG_L a4, PT_A4(sp)
395 REG_L a5, PT_A5(sp)
396 REG_L a6, PT_A6(sp)
397 REG_L a7, PT_A7(sp)
401 move a0, sp
411 * already we only have SP to use as a scratch register. So we just
416 1: la sp, spin_shadow_stack
417 REG_AMOSWAP_AQ sp, sp, (sp)
418 bnez sp, 1b
420 la sp, shadow_stack
421 addi sp, sp, SHADOW_OVERFLOW_STACK_SIZE
424 addi sp, sp, -(PT_SIZE_ON_STACK)
425 REG_S x1, PT_RA(sp)
426 REG_S x5, PT_T0(sp)
427 REG_S x6, PT_T1(sp)
428 REG_S x7, PT_T2(sp)
429 REG_S x10, PT_A0(sp)
430 REG_S x11, PT_A1(sp)
431 REG_S x12, PT_A2(sp)
432 REG_S x13, PT_A3(sp)
433 REG_S x14, PT_A4(sp)
434 REG_S x15, PT_A5(sp)
435 REG_S x16, PT_A6(sp)
436 REG_S x17, PT_A7(sp)
437 REG_S x28, PT_T3(sp)
438 REG_S x29, PT_T4(sp)
439 REG_S x30, PT_T5(sp)
440 REG_S x31, PT_T6(sp)
447 REG_S a0, -8(sp)
449 REG_L x1, PT_RA(sp)
450 REG_L x5, PT_T0(sp)
451 REG_L x6, PT_T1(sp)
452 REG_L x7, PT_T2(sp)
453 REG_L x10, PT_A0(sp)
454 REG_L x11, PT_A1(sp)
455 REG_L x12, PT_A2(sp)
456 REG_L x13, PT_A3(sp)
457 REG_L x14, PT_A4(sp)
458 REG_L x15, PT_A5(sp)
459 REG_L x16, PT_A6(sp)
460 REG_L x17, PT_A7(sp)
461 REG_L x28, PT_T3(sp)
462 REG_L x29, PT_T4(sp)
463 REG_L x30, PT_T5(sp)
464 REG_L x31, PT_T6(sp)
467 REG_L sp, -8(sp)
468 addi sp, sp, -(PT_SIZE_ON_STACK)
471 REG_S x1, PT_RA(sp)
472 REG_S x3, PT_GP(sp)
473 REG_S x5, PT_T0(sp)
474 REG_S x6, PT_T1(sp)
475 REG_S x7, PT_T2(sp)
476 REG_S x8, PT_S0(sp)
477 REG_S x9, PT_S1(sp)
478 REG_S x10, PT_A0(sp)
479 REG_S x11, PT_A1(sp)
480 REG_S x12, PT_A2(sp)
481 REG_S x13, PT_A3(sp)
482 REG_S x14, PT_A4(sp)
483 REG_S x15, PT_A5(sp)
484 REG_S x16, PT_A6(sp)
485 REG_S x17, PT_A7(sp)
486 REG_S x18, PT_S2(sp)
487 REG_S x19, PT_S3(sp)
488 REG_S x20, PT_S4(sp)
489 REG_S x21, PT_S5(sp)
490 REG_S x22, PT_S6(sp)
491 REG_S x23, PT_S7(sp)
492 REG_S x24, PT_S8(sp)
493 REG_S x25, PT_S9(sp)
494 REG_S x26, PT_S10(sp)
495 REG_S x27, PT_S11(sp)
496 REG_S x28, PT_T3(sp)
497 REG_S x29, PT_T4(sp)
498 REG_S x30, PT_T5(sp)
499 REG_S x31, PT_T6(sp)
507 REG_S s0, PT_SP(sp)
508 REG_S s1, PT_STATUS(sp)
509 REG_S s2, PT_EPC(sp)
510 REG_S s3, PT_BADADDR(sp)
511 REG_S s4, PT_CAUSE(sp)
512 REG_S s5, PT_TP(sp)
513 move a0, sp
549 REG_S sp, TASK_THREAD_SP_RA(a3)
564 REG_L sp, TASK_THREAD_SP_RA(a4)