Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 25 Aug 2015 16:43:33 +0000 (UTC)
From:      Andrew Turner <andrew@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r287133 - head/sys/arm64/arm64
Message-ID:  <201508251643.t7PGhXLD033212@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: andrew
Date: Tue Aug 25 16:43:32 2015
New Revision: 287133
URL: https://svnweb.freebsd.org/changeset/base/287133

Log:
  Correctly update the address to write to after storing the stack pointer
  in the kernels setjmp function.
  
  Sponsored by:	ABT Systems Ltd

Modified:
  head/sys/arm64/arm64/support.S

Modified: head/sys/arm64/arm64/support.S
==============================================================================
--- head/sys/arm64/arm64/support.S	Tue Aug 25 15:34:28 2015	(r287132)
+++ head/sys/arm64/arm64/support.S	Tue Aug 25 16:43:32 2015	(r287133)
@@ -221,7 +221,7 @@ END(suswintr)
 ENTRY(setjmp)
 	/* Store the stack pointer */
 	mov	x8, sp
-	str	x8, [x0]
+	str	x8, [x0], #8
 
 	/* Store the general purpose registers and lr */
 	stp	x19, x20, [x0], #16



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201508251643.t7PGhXLD033212>