Source-Changes-HG archive

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

[src/trunk]: src/sys/lib/libkern/arch/arm26 Sync with arm32.



details:   https://anonhg.NetBSD.org/src/rev/cda90346715d
branches:  trunk
changeset: 500623:cda90346715d
user:      bjh21 <bjh21%NetBSD.org@localhost>
date:      Thu Dec 14 19:33:00 2000 +0000

description:
Sync with arm32.

diffstat:

 sys/lib/libkern/arch/arm26/bcopy.S       |   4 ++--
 sys/lib/libkern/arch/arm26/byte_swap_2.S |  10 ++++------
 sys/lib/libkern/arch/arm26/byte_swap_4.S |  10 ++++------
 3 files changed, 10 insertions(+), 14 deletions(-)

diffs (66 lines):

diff -r fb45ea70d36a -r cda90346715d sys/lib/libkern/arch/arm26/bcopy.S
--- a/sys/lib/libkern/arch/arm26/bcopy.S        Thu Dec 14 19:28:12 2000 +0000
+++ b/sys/lib/libkern/arch/arm26/bcopy.S        Thu Dec 14 19:33:00 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: bcopy.S,v 1.1 2000/05/09 21:56:05 bjh21 Exp $  */
+/*     $NetBSD: bcopy.S,v 1.2 2000/12/14 19:33:00 bjh21 Exp $  */
 
 /*-
  * Copyright (c) 1997 The NetBSD Foundation, Inc.
@@ -40,7 +40,7 @@
 
 /* bcopy = memcpy/memmove with arguments reversed. */
 
-TWOENTRY(bcopy,ovbcopy)
+ENTRY(bcopy)
        /* switch the source and destination registers */
        eor     r0, r1, r0 
        eor     r1, r0, r1 
diff -r fb45ea70d36a -r cda90346715d sys/lib/libkern/arch/arm26/byte_swap_2.S
--- a/sys/lib/libkern/arch/arm26/byte_swap_2.S  Thu Dec 14 19:28:12 2000 +0000
+++ b/sys/lib/libkern/arch/arm26/byte_swap_2.S  Thu Dec 14 19:33:00 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: byte_swap_2.S,v 1.2 2000/05/26 23:09:28 sommerfeld Exp $       */
+/*     $NetBSD: byte_swap_2.S,v 1.3 2000/12/14 19:33:00 bjh21 Exp $    */
 
 /*-
  * Copyright (c) 1999 The NetBSD Foundation, Inc.
@@ -38,11 +38,9 @@
 
 #include <machine/asm.h>
 
-_BEGIN_ENTRY;
-_ENTRY(_C_FUNC(bswap16));
-_ENTRY(_C_FUNC(ntohs));
-_ENTRY(_C_FUNC(htons));
-_END_ENTRY
+ENTRY(bswap16)
+ALTENTRY(ntohs)
+ALTENTRY(htons)
        and             r1, r0, #0xFF00
        mov             r0, r0, lsl #8
        orr             r0, r0, r1, lsr #8
diff -r fb45ea70d36a -r cda90346715d sys/lib/libkern/arch/arm26/byte_swap_4.S
--- a/sys/lib/libkern/arch/arm26/byte_swap_4.S  Thu Dec 14 19:28:12 2000 +0000
+++ b/sys/lib/libkern/arch/arm26/byte_swap_4.S  Thu Dec 14 19:33:00 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: byte_swap_4.S,v 1.2 2000/05/26 23:09:28 sommerfeld Exp $       */
+/*     $NetBSD: byte_swap_4.S,v 1.3 2000/12/14 19:33:00 bjh21 Exp $    */
 
 /*-
  * Copyright (c) 1997 The NetBSD Foundation, Inc.
@@ -38,11 +38,9 @@
 
 #include <machine/asm.h>
 
-_BEGIN_ENTRY;
-_ENTRY(_C_FUNC(bswap32));
-_ENTRY(_C_FUNC(ntohl));
-_ENTRY(_C_FUNC(htonl));
-_END_ENTRY
+ENTRY(bswap32)
+ALTENTRY(ntohl)
+ALTENTRY(htonl)
        eor             r1, r0, r0, ror #16
        bic             r1, r1, #0x00FF0000
        mov             r0, r0, ror #8



Home | Main Index | Thread Index | Old Index