svn commit: r205840 - projects/ppc64/sys/boot/powerpc/ps3

Nathan Whitehorn nwhitehorn at FreeBSD.org
Mon Mar 29 16:22:09 UTC 2010


Author: nwhitehorn
Date: Mon Mar 29 16:22:09 2010
New Revision: 205840
URL: http://svn.freebsd.org/changeset/base/205840

Log:
  Fix two obvious bugs.

Modified:
  projects/ppc64/sys/boot/powerpc/ps3/start.S

Modified: projects/ppc64/sys/boot/powerpc/ps3/start.S
==============================================================================
--- projects/ppc64/sys/boot/powerpc/ps3/start.S	Mon Mar 29 16:14:22 2010	(r205839)
+++ projects/ppc64/sys/boot/powerpc/ps3/start.S	Mon Mar 29 16:22:09 2010	(r205840)
@@ -56,11 +56,12 @@ secondary_spin_sem:
 	.long	0
 
 . = 0x60
-thread1_start:
+thread1_start_kboot:
 	ba	thread1_start	/* kboot copies the first 256 bytes to
 				 * address 0, so we are safe to jump
 				 * (and stay) there */
 
+thread1_start:
 	li	%r0,secondary_spin_sem at l
 1:	lwz	%r1,0(%r0)	/* Spin on SECONDARY_SPIN_SEM_ADDRESS */
 	cmpwi	%r1,0
@@ -93,8 +94,8 @@ relocate_self:
 	blt	1b
 
 	/* Now invalidate the icache */
-2:	li	%r5,0
-	dcbst	0,%r5
+	li	%r5,0
+2:	dcbst	0,%r5
 	icbi	0,%r5
 	cmpw	%r5,%r8
 	addi	%r5,%r5,CACHELINE_SIZE


More information about the svn-src-projects mailing list