From 7fc1bf037153c3b4b18da2860826fae1b60cd9c0 Mon Sep 17 00:00:00 2001 From: Olivier Houchard Date: Sun, 21 Nov 2004 19:33:47 +0000 Subject: Set the frame pointer to 0 in fork_trampoline(). --- sys/arm/arm/swtch.S | 1 + 1 file changed, 1 insertion(+) diff --git a/sys/arm/arm/swtch.S b/sys/arm/arm/swtch.S index 1cfd1f6ad32f..1157fb02f93f 100644 --- a/sys/arm/arm/swtch.S +++ b/sys/arm/arm/swtch.S @@ -468,6 +468,7 @@ ENTRY(fork_trampoline) mov r1, r5 mov r2, sp mov r0, r4 + mov fp, #0 bl _C_LABEL(fork_exit) /* Kill irq"s */ mrs r0, cpsr -- cgit v1.2.3