Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/arm/cortex Make fp 0 on entry to idle_stack to ensu...
details: https://anonhg.NetBSD.org/src/rev/a97c877a7911
branches: trunk
changeset: 354948:a97c877a7911
user: skrll <skrll%NetBSD.org@localhost>
date: Wed Jul 05 20:53:40 2017 +0000
description:
Make fp 0 on entry to idle_stack to ensure we mark that we're top of
stack
diffstat:
sys/arch/arm/cortex/a9_mpsubr.S | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diffs (17 lines):
diff -r c252c8bad8e9 -r a97c877a7911 sys/arch/arm/cortex/a9_mpsubr.S
--- a/sys/arch/arm/cortex/a9_mpsubr.S Wed Jul 05 20:00:27 2017 +0000
+++ b/sys/arch/arm/cortex/a9_mpsubr.S Wed Jul 05 20:53:40 2017 +0000
@@ -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 @@
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)
Home |
Main Index |
Thread Index |
Old Index