Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/arm/arm32 After calling lwp_startup, set fp to 0 to...
details: https://anonhg.NetBSD.org/src/rev/865ed695140f
branches: trunk
changeset: 781412:865ed695140f
user: matt <matt%NetBSD.org@localhost>
date: Wed Sep 05 00:11:20 2012 +0000
description:
After calling lwp_startup, set fp to 0 to terminate call stack.
diffstat:
sys/arch/arm/arm32/cpuswitch.S | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diffs (26 lines):
diff -r a34eef418983 -r 865ed695140f sys/arch/arm/arm32/cpuswitch.S
--- a/sys/arch/arm/arm32/cpuswitch.S Wed Sep 05 00:10:11 2012 +0000
+++ b/sys/arch/arm/arm32/cpuswitch.S Wed Sep 05 00:11:20 2012 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: cpuswitch.S,v 1.71 2012/09/01 22:20:52 matt Exp $ */
+/* $NetBSD: cpuswitch.S,v 1.72 2012/09/05 00:11:20 matt Exp $ */
/*
* Copyright 2003 Wasabi Systems, Inc.
@@ -89,7 +89,7 @@
#include <machine/asm.h>
#include <machine/cpu.h>
- RCSID("$NetBSD: cpuswitch.S,v 1.71 2012/09/01 22:20:52 matt Exp $")
+ RCSID("$NetBSD: cpuswitch.S,v 1.72 2012/09/05 00:11:20 matt Exp $")
/* LINTSTUB: include <sys/param.h> */
@@ -335,6 +335,7 @@
*/
bl _C_LABEL(lwp_startup)
+ mov fp, #0 /* top stack frame */
mov r0, r5
mov r1, sp
#ifdef _ARM_ARCH_5
Home |
Main Index |
Thread Index |
Old Index