Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/macppc/macppc terminate the MP idle stack for the b...



details:   https://anonhg.NetBSD.org/src/rev/3aa08507a652
branches:  trunk
changeset: 534494:3aa08507a652
user:      chs <chs%NetBSD.org@localhost>
date:      Sun Jul 28 07:07:00 2002 +0000

description:
terminate the MP idle stack for the boot CPU.

diffstat:

 sys/arch/macppc/macppc/locore.S |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (25 lines):

diff -r 3c7df8b59607 -r 3aa08507a652 sys/arch/macppc/macppc/locore.S
--- a/sys/arch/macppc/macppc/locore.S   Sun Jul 28 07:06:45 2002 +0000
+++ b/sys/arch/macppc/macppc/locore.S   Sun Jul 28 07:07:00 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: locore.S,v 1.46 2002/07/14 20:56:13 chs Exp $  */
+/*     $NetBSD: locore.S,v 1.47 2002/07/28 07:07:00 chs Exp $  */
 
 /*
  * Copyright (C) 1995, 1996 Wolfgang Solfrank.
@@ -36,6 +36,7 @@
 #include "opt_ipkdb.h"
 #include "opt_lockdebug.h"
 #include "opt_multiprocessor.h"
+#include "opt_altivec.h"
 #include "assym.h"
 
 #include <sys/syscall.h>
@@ -167,6 +168,7 @@
        addi    8,8,SPILLSTK
        stw     8,CI_SPILLSTK(9)
        stw     8,CI_IDLE_PCB(9)
+       stw     0,USPACE-16(8)          /* terminate idle stack chain */
 #else
        lis     9,idle_u@ha
        stw     8,idle_u@l(9)



Home | Main Index | Thread Index | Old Index