Lines Matching +full:23 +full:- +full:64

1 /* SPDX-License-Identifier: GPL-2.0 */
5 * Kernel entry-points.
8 #include <asm/asm-offsets.h>
24 .cfi_return_column 64
26 .cfi_rel_offset 64, 8
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.
67 stq $8, 64($sp)
73 stq $23, 104($sp)
85 .cfi_rel_offset $8, 64
90 .cfi_rel_offset $23, 104
110 ldq $8, 64($sp)
119 ldq $23, 104($sp)
139 .cfi_restore $23
145 .cfi_adjust_cfa_offset -SP_OFF
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. */
197 subq $sp, 64, $sp
198 .cfi_adjust_cfa_offset 64
213 addq $sp, 64, $19
226 addq $sp, 64, $sp
234 .cfi_adjust_cfa_offset -64
249 lda $sp, -256($sp)
260 bne $0, entUnaUser /* yup -> do user-level unaligned fault */
264 stq $8, 64($sp)
272 /* 16-18 PAL-saved */
277 stq $23, 184($sp)
304 .cfi_rel_offset $23, 23*8
323 ldq $8, 64($sp)
331 /* 16-18 PAL-saved */
336 ldq $23, 184($sp)
363 .cfi_restore $23
370 .cfi_adjust_cfa_offset -256
379 .cfi_adjust_cfa_offset -256
381 lda $sp, -64($sp)
382 .cfi_adjust_cfa_offset 64
398 addq $sp, 64, $19
408 lda $sp, 64($sp)
416 .cfi_adjust_cfa_offset -64
437 * Note that a0-a2 are not saved by PALcode as with the other entry points.
444 .cfi_return_column 64
446 .cfi_rel_offset 64, 8
483 cmovne $26, 0, $18 /* $18 = 0 => non-restartable */
639 * Save and restore the switch stack -- aka the balance of the user context.
645 .cfi_return_column 64
647 .cfi_register 64, $1
649 lda $sp, -SWITCH_STACK_SIZE($sp)
661 .size do_switch_stack, .-do_switch_stack
667 .cfi_register 64, $1
680 .size undo_switch_stack, .-undo_switch_stack
693 V(20); V(21); V(22); V(23)
701 .size __save_fpu, .-__save_fpu
716 V(20); V(21); V(22); V(23)
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