Subject: CVS commit: syssrc/sys/arch/arm/arm
To: None <source-changes@netbsd.org>
From: Chris Gilbert <chris@netbsd.org>
List: source-changes
Date: 12/08/2001 23:18:51
Module Name:	syssrc
Committed By:	chris
Date:		Sat Dec  8 21:18:51 UTC 2001

Modified Files:
	syssrc/sys/arch/arm/arm: in_cksum_arm.c

Log Message:
Fix the asm macros
The tmpx registers are now outputs, this makes them all unique.
Add the fact that cc is changed by the asm (not believed to be used but rather be correct)
Correctly specify w as an input and output register, I think this was hiding the bug below!
Allow sum to be in a different input and output register.

Correct bug in psuedo header handling for in4_cksum.  Seems that the new macros turned up a latent bug in the psuedo header handling, the code was moving a pointer forward 16 bytes twice, not found before as the ADD16 macro wasn't 100% accurate, as it didn't output w, even though it modified it.


To generate a diff of this commit:
cvs rdiff -r1.2 -r1.3 syssrc/sys/arch/arm/arm/in_cksum_arm.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.