Source-Changes-HG archive

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

[src/netbsd-1-6]: src/sys/arch/arm/arm Pull up revision 1.2 (requested by bri...



details:   https://anonhg.NetBSD.org/src/rev/788033ac3883
branches:  netbsd-1-6
changeset: 529664:788033ac3883
user:      he <he%NetBSD.org@localhost>
date:      Sat Dec 07 20:11:25 2002 +0000

description:
Pull up revision 1.2 (requested by briggs in ticket #748):
  Add generic_bs_sr_4.

diffstat:

 sys/arch/arm/arm/bus_space_asm_generic.S |  15 ++++++++++++++-
 1 files changed, 14 insertions(+), 1 deletions(-)

diffs (29 lines):

diff -r 7e3d2db66c1a -r 788033ac3883 sys/arch/arm/arm/bus_space_asm_generic.S
--- a/sys/arch/arm/arm/bus_space_asm_generic.S  Sat Dec 07 19:40:24 2002 +0000
+++ b/sys/arch/arm/arm/bus_space_asm_generic.S  Sat Dec 07 20:11:25 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: bus_space_asm_generic.S,v 1.1 2002/04/12 18:56:57 thorpej Exp $        */
+/*     $NetBSD: bus_space_asm_generic.S,v 1.1.6.1 2002/12/07 20:11:25 he Exp $ */
 
 /*
  * Copyright (c) 1997 Causality Limited.
@@ -274,6 +274,19 @@
        mov     pc, lr
 #endif
 
+ENTRY(generic_bs_sr_4)
+       add     r0, r1, r2
+       mov     r1, r3
+       ldr     r2, [sp, #0]
+       teq     r2, #0
+       moveq   pc, lr
+
+1:     str     r1, [r0], #4
+       subs    r2, r2, #1
+       bne     1b
+
+       mov     pc, lr
+
 /*
  * copy region
  */



Home | Main Index | Thread Index | Old Index