Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/ofppc/stand/ofwboot Double the amount of stack spac...



details:   https://anonhg.NetBSD.org/src/rev/6e1e775e51aa
branches:  trunk
changeset: 538681:6e1e775e51aa
user:      briggs <briggs%NetBSD.org@localhost>
date:      Fri Oct 25 18:19:43 2002 +0000

description:
Double the amount of stack space for ofwboot.

diffstat:

 sys/arch/ofppc/stand/ofwboot/Locore.c |  9 +++++----
 1 files changed, 5 insertions(+), 4 deletions(-)

diffs (30 lines):

diff -r 896f419a1962 -r 6e1e775e51aa sys/arch/ofppc/stand/ofwboot/Locore.c
--- a/sys/arch/ofppc/stand/ofwboot/Locore.c     Fri Oct 25 18:03:03 2002 +0000
+++ b/sys/arch/ofppc/stand/ofwboot/Locore.c     Fri Oct 25 18:19:43 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: Locore.c,v 1.7 2002/09/18 01:45:04 chs Exp $   */
+/*     $NetBSD: Locore.c,v 1.8 2002/10/25 18:19:43 briggs Exp $        */
 
 /*
  * Copyright (C) 1995, 1996 Wolfgang Solfrank.
@@ -43,7 +43,7 @@
 static void startup __P((void *, int, int (*)(void *), char *, int));
 static void setup __P((void));
 
-static int stack[1024];
+static int stack[8192/4 + 4];
 
 asm("
        .text
@@ -60,8 +60,9 @@
        sync
        isync
 
-       lis     1,stack+4096-16@ha
-       addi    1,1,stack+4096-16@l
+       lis     1,stack@ha
+       addi    1,1,stack@l
+       addi    1,1,8192
        b       startup
 ");
 



Home | Main Index | Thread Index | Old Index