patch-2.0.34 linux/arch/alpha/kernel/head.S
Next file: linux/arch/alpha/kernel/irq.c
Previous file: linux/arch/alpha/kernel/entry.S
Back to the patch index
Back to the overall index
- Lines: 51
- Date:
Wed Jun 3 15:17:46 1998
- Orig file:
v2.0.33/linux/arch/alpha/kernel/head.S
- Orig date:
Mon Jul 1 10:06:05 1996
diff -u --recursive --new-file v2.0.33/linux/arch/alpha/kernel/head.S linux/arch/alpha/kernel/head.S
@@ -92,6 +92,50 @@
ret ($26)
.end wrmces
+ .align 3
+ .globl whami
+ .ent whami
+whami:
+ call_pal PAL_whami
+ ret ($26)
+ .end whami
+
+ .align 3
+ .globl wripir
+ .ent wripir
+wripir:
+ call_pal PAL_wripir
+ ret ($26)
+ .end wripir
+
+ .align 3
+ .globl cserve_ena
+ .ent cserve_ena
+cserve_ena:
+ lda $30,-0x08($30)
+ stq $17,0($30)
+ bis $16,$16,$17
+ lda $16,52($31)
+ call_pal PAL_cserve
+ ldq $17,0($30)
+ lda $30,0x08($30)
+ ret ($26)
+ .end cserve_ena
+
+ .align 3
+ .globl cserve_dis
+ .ent cserve_dis
+cserve_dis:
+ lda $30,-0x08($30)
+ stq $17,0($30)
+ bis $16,$16,$17
+ lda $16,53($31)
+ call_pal PAL_cserve
+ ldq $17,0($30)
+ lda $30,0x08($30)
+ ret ($26)
+ .end cserve_dis
+
#
# The following two functions don't need trapb/excb instructions
# around the mf_fpcr/mt_fpcr instructions because (a) the kernel
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov