Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/evbsh3 IOM_RAM_BEGIN is changed to specify physical...



details:   https://anonhg.NetBSD.org/src/rev/c661604fa219
branches:  trunk
changeset: 526739:c661604fa219
user:      uch <uch%NetBSD.org@localhost>
date:      Thu May 09 12:34:20 2002 +0000

description:
IOM_RAM_BEGIN is changed to specify physical address.

diffstat:

 sys/arch/evbsh3/conf/COMPUTEX7750 |  4 ++--
 sys/arch/evbsh3/conf/COMPUTEXEVB  |  4 ++--
 sys/arch/evbsh3/conf/CQREEKSH3    |  4 ++--
 sys/arch/evbsh3/conf/KZSH401      |  4 ++--
 sys/arch/evbsh3/evbsh3/locore.S   |  6 ++++--
 5 files changed, 12 insertions(+), 10 deletions(-)

diffs (99 lines):

diff -r c9de00b718fd -r c661604fa219 sys/arch/evbsh3/conf/COMPUTEX7750
--- a/sys/arch/evbsh3/conf/COMPUTEX7750 Thu May 09 12:33:18 2002 +0000
+++ b/sys/arch/evbsh3/conf/COMPUTEX7750 Thu May 09 12:34:20 2002 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: COMPUTEX7750,v 1.17 2002/04/25 15:06:26 atatat Exp $
+#      $NetBSD: COMPUTEX7750,v 1.18 2002/05/09 12:34:20 uch Exp $
 #
 #      GENERIC -- everything that's currently supported
 #
@@ -24,7 +24,7 @@
 options        PCLOCK=33333300                 # 33.3333MHz
 options        IOM_ROM_BEGIN=0x00000000
 options        IOM_ROM_SIZE=0x00100000         # 1MB
-options        IOM_RAM_BEGIN=0x8c000000
+options        IOM_RAM_BEGIN=0x0c000000
 options        IOM_RAM_SIZE=0x02000000         # 32MB
 
 options        BSC_BCR1_VAL    =0x0000000c
diff -r c9de00b718fd -r c661604fa219 sys/arch/evbsh3/conf/COMPUTEXEVB
--- a/sys/arch/evbsh3/conf/COMPUTEXEVB  Thu May 09 12:33:18 2002 +0000
+++ b/sys/arch/evbsh3/conf/COMPUTEXEVB  Thu May 09 12:34:20 2002 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: COMPUTEXEVB,v 1.19 2002/04/25 15:06:26 atatat Exp $
+#      $NetBSD: COMPUTEXEVB,v 1.20 2002/05/09 12:34:20 uch Exp $
 #
 #      GENERIC -- everything that's currently supported
 #
@@ -24,7 +24,7 @@
 options        PCLOCK=25000000         # 25.000MHz
 options        IOM_ROM_BEGIN=0x00000000
 options        IOM_ROM_SIZE=0x00100000 # 1MB
-options        IOM_RAM_BEGIN=0x8c000000
+options        IOM_RAM_BEGIN=0x0c000000
 options        IOM_RAM_SIZE=0x01000000 # 16MB
 options        LED_ADDR=0xb8000000
 
diff -r c9de00b718fd -r c661604fa219 sys/arch/evbsh3/conf/CQREEKSH3
--- a/sys/arch/evbsh3/conf/CQREEKSH3    Thu May 09 12:33:18 2002 +0000
+++ b/sys/arch/evbsh3/conf/CQREEKSH3    Thu May 09 12:34:20 2002 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: CQREEKSH3,v 1.20 2002/04/25 15:06:26 atatat Exp $
+#      $NetBSD: CQREEKSH3,v 1.21 2002/05/09 12:34:20 uch Exp $
 #
 #      GENERIC -- everything that's currently supported
 #
@@ -26,7 +26,7 @@
 options        PCLOCK=15000000         # 15.000MHz
 options        IOM_ROM_BEGIN=0x00000000
 options        IOM_ROM_SIZE=0x00200000 # 2MB
-options        IOM_RAM_BEGIN=0x8c000000
+options        IOM_RAM_BEGIN=0x0c000000
 options        IOM_RAM_SIZE=0x00400000 # 4MB
 options        LED_ADDR=0xa8000000
 
diff -r c9de00b718fd -r c661604fa219 sys/arch/evbsh3/conf/KZSH401
--- a/sys/arch/evbsh3/conf/KZSH401      Thu May 09 12:33:18 2002 +0000
+++ b/sys/arch/evbsh3/conf/KZSH401      Thu May 09 12:34:20 2002 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: KZSH401,v 1.17 2002/04/25 15:06:26 atatat Exp $
+#      $NetBSD: KZSH401,v 1.18 2002/05/09 12:34:20 uch Exp $
 #
 #      GENERIC -- everything that's currently supported
 #
@@ -24,7 +24,7 @@
 options        PCLOCK=33333300                 # 33.3333MHz
 options        IOM_ROM_BEGIN=0x00000000
 options        IOM_ROM_SIZE=0x00100000         # 1MB
-options        IOM_RAM_BEGIN=0x88000000
+options        IOM_RAM_BEGIN=0x08000000
 options        IOM_RAM_SIZE=0x01000000         # 16MB
 
 options        BSC_BCR1_VAL    =0x8000000c
diff -r c9de00b718fd -r c661604fa219 sys/arch/evbsh3/evbsh3/locore.S
--- a/sys/arch/evbsh3/evbsh3/locore.S   Thu May 09 12:33:18 2002 +0000
+++ b/sys/arch/evbsh3/evbsh3/locore.S   Thu May 09 12:34:20 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: locore.S,v 1.4 2002/03/24 18:21:16 uch Exp $   */
+/*     $NetBSD: locore.S,v 1.5 2002/05/09 12:34:21 uch Exp $   */
 
 /*-
  * Copyright (c) 1993, 1994, 1995, 1997
@@ -40,6 +40,7 @@
  *     @(#)locore.s    7.3 (Berkeley) 5/13/91
  */
 
+#include "opt_cputype.h"
 #include "opt_memsize.h"
 #include "assym.h"
 
@@ -55,7 +56,8 @@
 #include <sh3/cache_sh3.h>
 #include <sh3/cache_sh4.h>
 
-#define INIT_STACK     IOM_RAM_BEGIN + IOM_RAM_SIZE - 0x00001000
+#define        INIT_STACK                                                      \
+       ((IOM_RAM_BEGIN + IOM_RAM_SIZE - 0x00001000) | 0x80000000)
 
 NENTRY(start)
        /* Set SP to initial position */



Home | Main Index | Thread Index | Old Index