Module Name: src
Committed By: skrll
Date: Wed Jul 5 20:53:41 UTC 2017
Modified Files:
src/sys/arch/arm/cortex: a9_mpsubr.S
Log Message:
Make fp 0 on entry to idle_stack to ensure we mark that we're top of
stack
To generate a diff of this commit:
cvs rdiff -u -r1.47 -r1.48 src/sys/arch/arm/cortex/a9_mpsubr.S
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/arch/arm/cortex/a9_mpsubr.S
diff -u src/sys/arch/arm/cortex/a9_mpsubr.S:1.47 src/sys/arch/arm/cortex/a9_mpsubr.S:1.48
--- src/sys/arch/arm/cortex/a9_mpsubr.S:1.47 Tue Oct 4 15:18:23 2016
+++ src/sys/arch/arm/cortex/a9_mpsubr.S Wed Jul 5 20:53:40 2017
@@ -1,4 +1,4 @@
-/* $NetBSD: a9_mpsubr.S,v 1.47 2016/10/04 15:18:23 kiyohara Exp $ */
+/* $NetBSD: a9_mpsubr.S,v 1.48 2017/07/05 20:53:40 skrll Exp $ */
/*-
* Copyright (c) 2012 The NetBSD Foundation, Inc.
* All rights reserved.
@@ -778,6 +778,7 @@ cortex_mpcontinuation:
movw r2, #:lower16:MD_CPU_HATCH // pass md_cpu_hatch
movt r2, #:upper16:MD_CPU_HATCH // pass md_cpu_hatch
bl _C_LABEL(cpu_hatch)
+ mov fp, #0 // top stack frame
b _C_LABEL(idle_loop) // never to return
ASEND(cortex_mpcontinuation)