Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 11 Mar 2004 22:17:36 -0800 (PST)
From:      Juli Mallett <jmallett@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 48766 for review
Message-ID:  <200403120617.i2C6Haal066902@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=48766

Change 48766 by jmallett@jmallett_oingo on 2004/03/11 22:17:31

	The problem I've been chasing for a few months in vfs_init was
	an off-by-one in bcopy/memcpy.  Shoot me now :D

Affected files ...

.. //depot/projects/mips/sys/mips/mips/support.S#9 edit

Differences ...

==== //depot/projects/mips/sys/mips/mips/support.S#9 (text+ko) ====

@@ -45,7 +45,6 @@
 ENTRY(bcopy)
 	beqz	a2, 2f
 	nop
-	subu	a2, 1
 1:	lbu	t0, (a0)
 	addu	a0, 1
 	sb	t0, (a1)
@@ -63,7 +62,6 @@
 ENTRY(bzero)
 	beqz	a1, 2f
 	nop
-	subu	a1, 1
 1:	sb	zero, (a0)
 	subu	a1, 1
 	bnezl	a1, 1b
@@ -79,7 +77,6 @@
 ENTRY(memcpy)
 	beqz	a2, 2f
 	move	v0, a0
-	subu	a2, 1
 1:	lbu	t0, (a1)
 	addu	a1, 1
 	sb	t0, (a0)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200403120617.i2C6Haal066902>