Source-Changes-HG archive

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

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



details:   https://anonhg.NetBSD.org/src/rev/c163e59ed786
branches:  trunk
changeset: 526741:c163e59ed786
user:      uch <uch%NetBSD.org@localhost>
date:      Thu May 09 12:35:44 2002 +0000

description:
IOM_RAM_BEGIN is changed to specify physical address.

diffstat:

 sys/arch/mmeye/conf/std.mmeye |  4 ++--
 sys/arch/mmeye/mmeye/locore.S |  6 ++++--
 2 files changed, 6 insertions(+), 4 deletions(-)

diffs (45 lines):

diff -r 4f021ca4eef6 -r c163e59ed786 sys/arch/mmeye/conf/std.mmeye
--- a/sys/arch/mmeye/conf/std.mmeye     Thu May 09 12:34:53 2002 +0000
+++ b/sys/arch/mmeye/conf/std.mmeye     Thu May 09 12:35:44 2002 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: std.mmeye,v 1.7 2001/11/20 12:56:33 lukem Exp $
+# $NetBSD: std.mmeye,v 1.8 2002/05/09 12:35:44 uch Exp $
 #
 # standard, required NetBSD/mmeye 'options'
 
@@ -6,7 +6,7 @@
 
 options        IOM_ROM_BEGIN=0x00000000
 options        IOM_RAM_SIZE=0x01000000         # 16MB
-options        IOM_RAM_BEGIN=0x8c000000
+options        IOM_RAM_BEGIN=0x0c000000
 options        IOM_ROM_SIZE=0x00200000         # 2MB
 
 options        EXEC_SCRIPT                     # exec #! scripts
diff -r 4f021ca4eef6 -r c163e59ed786 sys/arch/mmeye/mmeye/locore.S
--- a/sys/arch/mmeye/mmeye/locore.S     Thu May 09 12:34:53 2002 +0000
+++ b/sys/arch/mmeye/mmeye/locore.S     Thu May 09 12:35:44 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: locore.S,v 1.4 2002/03/24 18:21:19 uch Exp $   */
+/*     $NetBSD: locore.S,v 1.5 2002/05/09 12:35:45 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/mmu_sh3.h>
 #include <sh3/mmu_sh4.h>
 
-#define INIT_STACK     0x8c3ff000
+#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