Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/dreamcast/dreamcast change bootstrap stack to below...



details:   https://anonhg.NetBSD.org/src/rev/b61ab0e0e0a5
branches:  trunk
changeset: 526737:b61ab0e0e0a5
user:      uch <uch%NetBSD.org@localhost>
date:      Thu May 09 12:32:55 2002 +0000

description:
change bootstrap stack to below the 'start'

diffstat:

 sys/arch/dreamcast/dreamcast/locore.S |  7 ++-----
 1 files changed, 2 insertions(+), 5 deletions(-)

diffs (28 lines):

diff -r 89543a528675 -r b61ab0e0e0a5 sys/arch/dreamcast/dreamcast/locore.S
--- a/sys/arch/dreamcast/dreamcast/locore.S     Thu May 09 12:32:09 2002 +0000
+++ b/sys/arch/dreamcast/dreamcast/locore.S     Thu May 09 12:32:55 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: locore.S,v 1.4 2002/03/24 18:21:10 uch Exp $   */
+/*     $NetBSD: locore.S,v 1.5 2002/05/09 12:32:55 uch Exp $   */
 
 /*-
  * Copyright (c) 2002 The NetBSD Foundation, Inc.
@@ -42,9 +42,6 @@
 #include <sh3/mmu_sh4.h>
 #include <sh3/cache_sh4.h>
 
-/* bootstrap stack is near upper address of RAM. don't increase MSGBUFSIZE */  
-#define INIT_STACK     IOM_RAM_BEGIN + IOM_RAM_SIZE - 0x00001000
-
 /*
  * void start(void) __attribute__((__noreturn__)):
  *     Kernel entry point.
@@ -88,7 +85,7 @@
        /* NOTREACHED */        
        .align  2
 _L.dreamcast_startup:  .long   _C_LABEL(dreamcast_startup)     
-_L.bootstrap_stack:    .long   INIT_STACK              
+_L.bootstrap_stack:    .long   _C_LABEL(start)
 _L.sh4_icache_sync_all:        .long   _C_LABEL(sh4_icache_sync_all)
 _L.CCR:                        .long   SH4_CCR 
 _L.CCRconfig:          .long   0x00000909      



Home | Main Index | Thread Index | Old Index