Lines Matching +full:- +full:15 +full:v
1 /* SPDX-License-Identifier: GPL-2.0 */
5 * Kernel entry-points.
8 #include <asm/asm-offsets.h>
39 .size \func, . - \func
43 * This defines the normal kernel pt-regs layout.
45 * regs 9-15 preserved by C code
46 * regs 16-18 saved by PAL-code
47 * regs 29-30 saved and set up by PAL-code
48 * JRP - Save regs 16-18 in a special area of the stack, so that
49 * the palcode-provided values are available to the signal handler.
149 .cfi_adjust_cfa_offset -SP_OFF
161 .cfi_rel_offset $15, 48
172 .cfi_restore $15
173 .cfi_adjust_cfa_offset -SWITCH_STACK_SIZE
177 * Non-syscall kernel entry points.
200 /* save $9 - $15 so the inline exception code can manipulate them. */
209 stq $15, 48($sp)
216 .cfi_rel_offset $15, 48
229 ldq $15, 48($sp)
237 .cfi_restore $15
238 .cfi_adjust_cfa_offset -56
253 lda $sp, -256($sp)
264 bne $0, entUnaUser /* yup -> do user-level unaligned fault */
275 stq $15, 120($sp)
276 /* 16-18 PAL-saved */
303 .cfi_rel_offset $15, 15*8
334 ldq $15, 120($sp)
335 /* 16-18 PAL-saved */
362 .cfi_restore $15
374 .cfi_adjust_cfa_offset -256
383 .cfi_adjust_cfa_offset -256
385 lda $sp, -56($sp)
393 stq $15, 48($sp)
400 .cfi_rel_offset $15, 48
411 ldq $15, 48($sp)
419 .cfi_restore $15
420 .cfi_adjust_cfa_offset -56
441 * Note that a0-a2 are not saved by PALcode as with the other entry points.
487 cmovne $26, 0, $18 /* $18 = 0 => non-restartable */
643 * Save and restore the switch stack -- aka the balance of the user context.
653 lda $sp, -SWITCH_STACK_SIZE($sp)
661 stq $15, 48($sp)
665 .size do_switch_stack, .-do_switch_stack
679 ldq $15, 48($sp)
684 .size undo_switch_stack, .-undo_switch_stack
691 #define V(n) stt $f##n, FR(n) macro
692 V( 0); V( 1); V( 2); V( 3)
693 V( 4); V( 5); V( 6); V( 7)
694 V( 8); V( 9); V(10); V(11)
695 V(12); V(13); V(14); V(15)
696 V(16); V(17); V(18); V(19)
697 V(20); V(21); V(22); V(23)
698 V(24); V(25); V(26); V(27)
700 V(28); V(29); V(30)
704 #undef V
705 .size __save_fpu, .-__save_fpu
712 #define V(n) ldt $f##n, FR(n) macro
714 V( 0); V( 1); V( 2); V( 3)
716 V( 4); V( 5); V( 6); V( 7)
717 V( 8); V( 9); V(10); V(11)
718 V(12); V(13); V(14); V(15)
719 V(16); V(17); V(18); V(19)
720 V(20); V(21); V(22); V(23)
721 V(24); V(25); V(26); V(27)
722 V(28); V(29); V(30)
725 #undef V
753 .size alpha_switch_to, .-alpha_switch_to
769 * ... and new kernel threads - here
824 lda $sp, -SWITCH_STACK_SIZE($sp)
846 Store a non-zero there - -ENOSYS we need in register
849 lda $0, -ENOSYS