patch-2.1.115 linux/arch/mips/lib/csum.S
Next file: linux/arch/mips/lib/csum_partial.S
Previous file: linux/arch/mips/lib/Makefile
Back to the patch index
Back to the overall index
- Lines: 26
- Date:
Wed Dec 31 16:00:00 1969
- Orig file:
v2.1.114/linux/arch/mips/lib/csum.S
- Orig date:
Thu Jun 26 12:33:37 1997
diff -u --recursive --new-file v2.1.114/linux/arch/mips/lib/csum.S linux/arch/mips/lib/csum.S
@@ -1,25 +0,0 @@
-#include <asm/addrspace.h>
-#include <asm/asm.h>
-#include <asm/regdef.h>
-
-/*
- * Compute kernel code checksum to check kernel code against corruption
- * (Ancient debugging trash ...)
- */
- LEAF(csum)
- LONG_L t0,cacheflush
- move t8,ra
- jalr t0
- li t0,KSEG1
- la t1,final
- li t2,KSEG1
- or t0,t2
- or t1,t2
- move v0,zero
-1: lw t2,(t0)
- addiu t0,4
- bne t0,t1,1b
- xor v0,t2
- jr t8
- nop
- END(csum)
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov