Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 24 Feb 2012 20:19:29 +0000 (UTC)
From:      Olivier Houchard <cognet@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-projects@freebsd.org
Subject:   svn commit: r232129 - projects/armv6/sys/arm/arm
Message-ID:  <201202242019.q1OKJTR8082339@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: cognet
Date: Fri Feb 24 20:19:29 2012
New Revision: 232129
URL: http://svn.freebsd.org/changeset/base/232129

Log:
  Rd and Rm should be different in mul

Modified:
  projects/armv6/sys/arm/arm/locore.S

Modified: projects/armv6/sys/arm/arm/locore.S
==============================================================================
--- projects/armv6/sys/arm/arm/locore.S	Fri Feb 24 20:12:53 2012	(r232128)
+++ projects/armv6/sys/arm/arm/locore.S	Fri Feb 24 20:19:29 2012	(r232129)
@@ -303,9 +303,9 @@ ASENTRY_NP(mptramp)
 
 	/* Read boot address for CPU */
 	mov	r1, #0x100
-	mul	r0, r0, r1
+	mul	r2, r0, r1
 	ldr	r1, Lpmureg
-	add	r0, r0, r1
+	add	r0, r2, r1
 	ldr	r1, [r0], #0x00
 
 	mov pc, r1



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