Lines Matching +full:- +full:12 +full:v
1 /* SPDX-License-Identifier: GPL-2.0 */
5 * Kernel entry-points.
8 #include <asm/asm-offsets.h>
35 .size \func, . - \func
39 * This defines the normal kernel pt-regs layout.
41 * regs 9-15 preserved by C code
42 * regs 16-18 saved by PAL-code
43 * regs 29-30 saved and set up by PAL-code
44 * JRP - Save regs 16-18 in a special area of the stack, so that
45 * the palcode-provided values are available to the signal handler.
145 .cfi_adjust_cfa_offset -SP_OFF
154 .cfi_rel_offset $12, 24
165 .cfi_restore $12
169 .cfi_adjust_cfa_offset -SWITCH_STACK_SIZE
173 * Non-syscall kernel entry points.
196 /* save $9 - $15 so the inline exception code can manipulate them. */
202 stq $12, 24($sp)
209 .cfi_rel_offset $12, 24
222 ldq $12, 24($sp)
230 .cfi_restore $12
234 .cfi_adjust_cfa_offset -64
249 lda $sp, -256($sp)
260 bne $0, entUnaUser /* yup -> do user-level unaligned fault */
268 stq $12, 96($sp)
272 /* 16-18 PAL-saved */
296 .cfi_rel_offset $12, 12*8
327 ldq $12, 96($sp)
331 /* 16-18 PAL-saved */
355 .cfi_restore $12
370 .cfi_adjust_cfa_offset -256
379 .cfi_adjust_cfa_offset -256
381 lda $sp, -64($sp)
386 stq $12, 24($sp)
393 .cfi_rel_offset $12, 24
404 ldq $12, 24($sp)
412 .cfi_restore $12
416 .cfi_adjust_cfa_offset -64
437 * Note that a0-a2 are not saved by PALcode as with the other entry points.
483 cmovne $26, 0, $18 /* $18 = 0 => non-restartable */
639 * Save and restore the switch stack -- aka the balance of the user context.
649 lda $sp, -SWITCH_STACK_SIZE($sp)
654 stq $12, 24($sp)
661 .size do_switch_stack, .-do_switch_stack
672 ldq $12, 24($sp)
680 .size undo_switch_stack, .-undo_switch_stack
687 #define V(n) stt $f##n, FR(n) macro
688 V( 0); V( 1); V( 2); V( 3)
689 V( 4); V( 5); V( 6); V( 7)
690 V( 8); V( 9); V(10); V(11)
691 V(12); V(13); V(14); V(15)
692 V(16); V(17); V(18); V(19)
693 V(20); V(21); V(22); V(23)
694 V(24); V(25); V(26); V(27)
696 V(28); V(29); V(30)
700 #undef V
701 .size __save_fpu, .-__save_fpu
708 #define V(n) ldt $f##n, FR(n) macro
710 V( 0); V( 1); V( 2); V( 3)
712 V( 4); V( 5); V( 6); V( 7)
713 V( 8); V( 9); V(10); V(11)
714 V(12); V(13); V(14); V(15)
715 V(16); V(17); V(18); V(19)
716 V(20); V(21); V(22); V(23)
717 V(24); V(25); V(26); V(27)
718 V(28); V(29); V(30)
721 #undef V
749 .size alpha_switch_to, .-alpha_switch_to
765 * ... and new kernel threads - here
820 lda $sp, -SWITCH_STACK_SIZE($sp)
842 Store a non-zero there - -ENOSYS we need in register
845 lda $0, -ENOSYS