Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 17 Jul 2015 14:08:45 +0000
From:      "zbb (Zbigniew Bodek)" <phabric-noreply@FreeBSD.org>
To:        freebsd-arm@freebsd.org
Subject:   [Differential] [Closed] D3107: Fix ARM64 stack calculation
Message-ID:  <497101434bde5b8ff94e80cdb0287f3d@localhost.localdomain>
In-Reply-To: <differential-rev-PHID-DREV-zqfyj4rhtcu6emsue7ys-req@FreeBSD.org>

index | next in thread | previous in thread | raw e-mail

[-- Attachment #1 --]
This revision was automatically updated to reflect the committed changes.
Closed by commit rS285654: Fix secondary stacks calculation on ARM64 (authored by zbb).

CHANGED PRIOR TO COMMIT
  https://reviews.freebsd.org/D3107?vs=7002&id=7046#toc

REPOSITORY
  rS FreeBSD src repository

CHANGES SINCE LAST UPDATE
  https://reviews.freebsd.org/D3107?vs=7002&id=7046

REVISION DETAIL
  https://reviews.freebsd.org/D3107

AFFECTED FILES
  head/sys/arm64/arm64/locore.S

CHANGE DETAILS
  diff --git a/head/sys/arm64/arm64/locore.S b/head/sys/arm64/arm64/locore.S
  --- a/head/sys/arm64/arm64/locore.S
  +++ b/head/sys/arm64/arm64/locore.S
  @@ -179,8 +179,7 @@
   mp_virtdone:
   	ldr	x4, =secondary_stacks
   	mov	x5, #(PAGE_SIZE * KSTACK_PAGES)
  -	sub	x1, x0, #1
  -	mul	x5, x1, x5
  +	mul	x5, x0, x5
   	add	sp, x4, x5
   
   	b	init_secondary

EMAIL PREFERENCES
  https://reviews.freebsd.org/settings/panel/emailpreferences/

To: wma_semihalf.com, andoriyu_gmail.com, emaste, zbb
Cc: imp, andrew, freebsd-arm-list, emaste

[-- Attachment #2 --]
diff --git a/head/sys/arm64/arm64/locore.S b/head/sys/arm64/arm64/locore.S
--- a/head/sys/arm64/arm64/locore.S
+++ b/head/sys/arm64/arm64/locore.S
@@ -179,8 +179,7 @@
 mp_virtdone:
 	ldr	x4, =secondary_stacks
 	mov	x5, #(PAGE_SIZE * KSTACK_PAGES)
-	sub	x1, x0, #1
-	mul	x5, x1, x5
+	mul	x5, x0, x5
 	add	sp, x4, x5
 
 	b	init_secondary

home | help

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