patch-2.1.126 linux/arch/alpha/lib/srm_dispatch.S
Next file: linux/arch/alpha/lib/srm_fixup.S
Previous file: linux/arch/alpha/lib/Makefile
Back to the patch index
Back to the overall index
- Lines: 44
- Date:
Mon Oct 12 11:40:12 1998
- Orig file:
v2.1.125/linux/arch/alpha/lib/srm_dispatch.S
- Orig date:
Wed Dec 31 16:00:00 1969
diff -u --recursive --new-file v2.1.125/linux/arch/alpha/lib/srm_dispatch.S linux/arch/alpha/lib/srm_dispatch.S
@@ -0,0 +1,43 @@
+/*
+ * arch/alpha/lib/srm_dispatch.S
+ */
+
+.globl srm_dispatch
+.ent srm_dispatch
+srm_dispatch:
+ .frame $30,30,$26
+ subq $30,80,$30
+ stq $26,0($30)
+ stq $8,8($30)
+ stq $9,16($30)
+ stq $10,24($30)
+ stq $11,32($30)
+ stq $12,40($30)
+ stq $13,48($30)
+ stq $14,56($30)
+ stq $15,64($30)
+ stq $29,72($30)
+ .mask 0x2400FF00, -80
+ .prologue 0
+
+ ldq $1,hwrpb
+ ldq $2,0xc0($1) /* crb offset */
+ addq $2,$1,$2 /* crb */
+ ldq $27,0($2) /* dispatch procedure value */
+
+ ldq $2,8($27) /* dispatch call address */
+ jsr $26,($2) /* call it (weird VMS call seq) */
+
+ ldq $26,0($30)
+ ldq $8,8($30)
+ ldq $9,16($30)
+ ldq $10,24($30)
+ ldq $11,32($30)
+ ldq $12,40($30)
+ ldq $13,48($30)
+ ldq $14,56($30)
+ ldq $15,64($30)
+ ldq $29,72($30)
+ addq $30,80,$30
+ ret $31,($26),1
+.end srm_dispatch
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov