PERFORCE change 94515 for review

Kip Macy kmacy at FreeBSD.org
Mon Apr 3 07:19:57 UTC 2006


http://perforce.freebsd.org/chv.cgi?CH=94515

Change 94515 by kmacy at 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


More information about the p4-projects mailing list