Source-Changes-HG archive

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

[src/trunk]: src/sys/arch use macro for CCR register



details:   https://anonhg.NetBSD.org/src/rev/56ad289aca8f
branches:  trunk
changeset: 503042:56ad289aca8f
user:      msaitoh <msaitoh%NetBSD.org@localhost>
date:      Mon Jan 29 22:19:19 2001 +0000

description:
use macro for CCR register

diffstat:

 sys/arch/dreamcast/dreamcast/locore.s |  5 +++--
 sys/arch/evbsh3/evbsh3/locore.s       |  5 +++--
 sys/arch/hpcsh/hpcsh/locore.s         |  5 +++--
 3 files changed, 9 insertions(+), 6 deletions(-)

diffs (78 lines):

diff -r aeb96de7496e -r 56ad289aca8f sys/arch/dreamcast/dreamcast/locore.s
--- a/sys/arch/dreamcast/dreamcast/locore.s     Mon Jan 29 20:02:48 2001 +0000
+++ b/sys/arch/dreamcast/dreamcast/locore.s     Mon Jan 29 22:19:19 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: locore.s,v 1.2 2001/01/05 01:14:31 marcus Exp $        */
+/*     $NetBSD: locore.s,v 1.3 2001/01/29 22:19:19 msaitoh Exp $       */
 
 /*-
  * Copyright (c) 1993, 1994, 1995, 1997
@@ -58,6 +58,7 @@
 
 #ifdef SH4
 #define SHREG_BBRA     0xff200008
+#define SHREG_CCR      0xff00001c
 #define SHREG_EXPEVT   0xff000024
 #define SHREG_INTEVT   0xff000028
 #define SHREG_MMUCR    0xff000010
@@ -417,7 +418,7 @@
 XLinitSH3:     .long   _C_LABEL(initSH3)
 XLmain:                .long   _C_LABEL(main)
 XLtoP2:                .long   0x20000000
-XL_SHREG_CCR:  .long   0xff00001c
+XL_SHREG_CCR:  .long   SHREG_CCR
 #ifdef SH4
 #if 1
 XL_CCRVAL:     .long   0x0909 /* Operand cache ON */
diff -r aeb96de7496e -r 56ad289aca8f sys/arch/evbsh3/evbsh3/locore.s
--- a/sys/arch/evbsh3/evbsh3/locore.s   Mon Jan 29 20:02:48 2001 +0000
+++ b/sys/arch/evbsh3/evbsh3/locore.s   Mon Jan 29 22:19:19 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: locore.s,v 1.26 2000/10/31 01:18:02 msaitoh Exp $      */
+/*     $NetBSD: locore.s,v 1.27 2001/01/29 22:19:19 msaitoh Exp $      */
 
 /*-
  * Copyright (c) 1993, 1994, 1995, 1997
@@ -58,6 +58,7 @@
 
 #ifdef SH4
 #define SHREG_BBRA     0xff200008
+#define SHREG_CCR      0xff00001c
 #define SHREG_EXPEVT   0xff000024
 #define SHREG_INTEVT   0xff000028
 #define SHREG_MMUCR    0xff000010
@@ -417,7 +418,7 @@
 XLinitSH3:     .long   _C_LABEL(initSH3)
 XLmain:                .long   _C_LABEL(main)
 XLtoP2:                .long   0x20000000
-XL_SHREG_CCR:  .long   0xff00001c
+XL_SHREG_CCR:  .long   SHREG_CCR
 #ifdef SH4
 #if 1
 XL_CCRVAL:     .long   0x0909 /* Operand cache ON */
diff -r aeb96de7496e -r 56ad289aca8f sys/arch/hpcsh/hpcsh/locore.s
--- a/sys/arch/hpcsh/hpcsh/locore.s     Mon Jan 29 20:02:48 2001 +0000
+++ b/sys/arch/hpcsh/hpcsh/locore.s     Mon Jan 29 22:19:19 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: locore.s,v 1.1 2001/01/17 05:21:49 itojun Exp $        */
+/*     $NetBSD: locore.s,v 1.2 2001/01/29 22:19:20 msaitoh Exp $       */
 
 /*-
  * Copyright (c) 1993, 1994, 1995, 1997
@@ -58,6 +58,7 @@
 
 #ifdef SH4
 #define SHREG_BBRA     0xff200008
+#define SHREG_CCR      0xff00001c
 #define SHREG_EXPEVT   0xff000024
 #define SHREG_INTEVT   0xff000028
 #define SHREG_MMUCR    0xff000010
@@ -417,7 +418,7 @@
 XLinitSH3:     .long   _C_LABEL(initSH3)
 XLmain:                .long   _C_LABEL(main)
 XLtoP2:                .long   0x20000000
-XL_SHREG_CCR:  .long   0xff00001c
+XL_SHREG_CCR:  .long   SHREG_CCR
 #ifdef SH4
 #if 1
 XL_CCRVAL:     .long   0x0909 /* Operand cache ON */



Home | Main Index | Thread Index | Old Index