Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 3 Apr 2006 07:19:56 GMT
From:      Kip Macy <kmacy@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 94515 for review
Message-ID:  <200604030719.k337JuqR058169@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=94515

Change 94515 by kmacy@kmacy_storage:sun4v_work on 2006/04/03 07:19:54

	make safer by using %g2 instead of %g1 for storing PCPU

Affected files ...

.. //depot/projects/kmacy_sun4v/src/sys/sun4v/sun4v/locore.S#9 edit

Differences ...

==== //depot/projects/kmacy_sun4v/src/sys/sun4v/sun4v/locore.S#9 (text+ko) ====

@@ -108,8 +108,8 @@
 	 * this allows us to retrieve them in the trap handlers - where we receive
 	 * a new set of globals
 	 */
-	mov	SCRATCH_REG_PCPU, %g1 
-	stxa	PCPU_REG, [%g1]ASI_SCRATCHPAD 
+	mov	SCRATCH_REG_PCPU, %g2 
+	stxa	PCPU_REG, [%g2]ASI_SCRATCHPAD 
 
 	retl
 	 nop



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