Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/sparc64/sparc64 32-bit kernels use 32-bit stack.



details:   https://anonhg.NetBSD.org/src/rev/0d3b8cd29a25
branches:  trunk
changeset: 814147:0d3b8cd29a25
user:      nakayama <nakayama%NetBSD.org@localhost>
date:      Wed Mar 09 12:20:20 2016 +0000

description:
32-bit kernels use 32-bit stack.

diffstat:

 sys/arch/sparc64/sparc64/locore.s |  6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diffs (21 lines):

diff -r 1327e8c5d320 -r 0d3b8cd29a25 sys/arch/sparc64/sparc64/locore.s
--- a/sys/arch/sparc64/sparc64/locore.s Tue Mar 08 23:24:51 2016 +0000
+++ b/sys/arch/sparc64/sparc64/locore.s Wed Mar 09 12:20:20 2016 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: locore.s,v 1.389 2016/03/03 20:45:45 palle Exp $       */
+/*     $NetBSD: locore.s,v 1.390 2016/03/09 12:20:20 nakayama Exp $    */
 
 /*
  * Copyright (c) 2006-2010 Matthew R. Green
@@ -4123,7 +4123,11 @@
        rdpr    %cwp, %g1
        dec     %g1
        wrpr    %g1, %cwp
+#ifdef _LP64
        FILL    ldxa, %sp+BIAS, 8, %asi
+#else
+       FILL    lda, %sp, 4, %asi
+#endif
        restored
        inc     %g1
        wrpr    %g1, %cwp



Home | Main Index | Thread Index | Old Index