Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/arm32/arm32 Fix copyin() with zero length. (Argumen...



details:   https://anonhg.NetBSD.org/src/rev/0edc237ab216
branches:  trunk
changeset: 473075:0edc237ab216
user:      scw <scw%NetBSD.org@localhost>
date:      Wed May 19 07:50:06 1999 +0000

description:
Fix copyin() with zero length. (Arguments to 'moveq' were swapped).
CVo: ----------------------------------------------------------------------

diffstat:

 sys/arch/arm32/arm32/bcopyinout.S |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 0f0807db1041 -r 0edc237ab216 sys/arch/arm32/arm32/bcopyinout.S
--- a/sys/arch/arm32/arm32/bcopyinout.S Wed May 19 07:08:43 1999 +0000
+++ b/sys/arch/arm32/arm32/bcopyinout.S Wed May 19 07:50:06 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: bcopyinout.S,v 1.18 1999/03/24 05:50:53 mrg Exp $      */
+/*     $NetBSD: bcopyinout.S,v 1.19 1999/05/19 07:50:06 scw Exp $      */
 
 /*
  * Copyright (c) 1995-1998 Mark Brinicombe.
@@ -84,7 +84,7 @@
        /* Quick exit if length is zero */      
        teq     r2, #0
        moveq   r0, #0
-       moveq   lr, pc
+       moveq   pc, lr
 
        /* Do the actual copy */
        b       do_copyinout



Home | Main Index | Thread Index | Old Index