1 /* SPDX-License-Identifier: GPL-2.0 */
3 * arch/alpha/boot/head.S
5 * initial bootloader stuff..
39 .globl switch_to_osf_pal
40 .ent switch_to_osf_pal
62 stq $30,0($17) /* save KSP in PCB */
64 bis $30,$30,$20 /* a4 = KSP */
85 1: call_pal PAL_swppal
86 .end switch_to_osf_pal
105 /* $16 - new stack page */
112 and $0, $30, $1 /* Stack offset */
113 or $1, $16, $16 /* New stack pointer */
116 1: ldq $3, 0($1) /* Move the stack */