Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/sh3/sh3 s/BYTE_ORDER/_BYTE_ORDER/g



details:   https://anonhg.NetBSD.org/src/rev/35bfbb789b0d
branches:  trunk
changeset: 516101:35bfbb789b0d
user:      msaitoh <msaitoh%NetBSD.org@localhost>
date:      Tue Oct 16 02:07:46 2001 +0000

description:
s/BYTE_ORDER/_BYTE_ORDER/g

diffstat:

 sys/arch/sh3/sh3/db_interface.c |  8 ++++----
 sys/arch/sh3/sh3/in_cksum.S     |  4 ++--
 2 files changed, 6 insertions(+), 6 deletions(-)

diffs (54 lines):

diff -r a46925b068f7 -r 35bfbb789b0d sys/arch/sh3/sh3/db_interface.c
--- a/sys/arch/sh3/sh3/db_interface.c   Tue Oct 16 01:51:26 2001 +0000
+++ b/sys/arch/sh3/sh3/db_interface.c   Tue Oct 16 02:07:46 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: db_interface.c,v 1.3 2000/09/08 10:15:24 tsubai Exp $  */
+/*     $NetBSD: db_interface.c,v 1.4 2001/10/16 02:07:46 msaitoh Exp $ */
 
 /*-
  * Copyright (c) 2000 Tsubai Masanari.  All rights reserved.
@@ -129,7 +129,7 @@
 inst_call(inst)
        int inst;
 {
-#if BYTE_ORDER == BIG_ENDIAN
+#if _BYTE_ORDER == BIG_ENDIAN
        inst >>= 16;
 #endif
        return (inst & M_BSR) == I_BSR || (inst & M_BSRF) == I_BSRF ||
@@ -140,7 +140,7 @@
 inst_return(inst)
        int inst;
 {
-#if BYTE_ORDER == BIG_ENDIAN
+#if _BYTE_ORDER == BIG_ENDIAN
        inst >>= 16;
 #endif
        return (inst & M_RTS) == I_RTS;
@@ -150,7 +150,7 @@
 inst_trap_return(inst)
        int inst;
 {
-#if BYTE_ORDER == BIG_ENDIAN
+#if _BYTE_ORDER == BIG_ENDIAN
        inst >>= 16;
 #endif
        return (inst & M_RTE) == I_RTE;
diff -r a46925b068f7 -r 35bfbb789b0d sys/arch/sh3/sh3/in_cksum.S
--- a/sys/arch/sh3/sh3/in_cksum.S       Tue Oct 16 01:51:26 2001 +0000
+++ b/sys/arch/sh3/sh3/in_cksum.S       Tue Oct 16 02:07:46 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: in_cksum.S,v 1.3 2001/02/14 17:59:38 msaitoh Exp $     */
+/*     $NetBSD: in_cksum.S,v 1.4 2001/10/16 02:07:46 msaitoh Exp $     */
 
 /*-
  * Copyright (c) 2000 SHIMIZU Ryo <ryo%misakimix.org@localhost>
@@ -52,7 +52,7 @@
 #define        ROL     \
        shll8   reg_sum
 
-#if BYTE_ORDER == BIG_ENDIAN
+#if _BYTE_ORDER == BIG_ENDIAN
 #define        ADDB    \
        mov.b   @reg_w+,reg_tmp0        ; \
        ROL                             ; \



Home | Main Index | Thread Index | Old Index