Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 29 Jan 2008 00:52:38 GMT
From:      Warner Losh <imp@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 134345 for review
Message-ID:  <200801290052.m0T0qcfL064977@repoman.freebsd.org>

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

Change 134345 by imp@imp_lighthouse on 2008/01/29 00:51:37

	More nits.

Affected files ...

.. //depot/projects/mips2-jnpr/src/sys/mips/mips/locore.S#17 edit

Differences ...

==== //depot/projects/mips2-jnpr/src/sys/mips/mips/locore.S#17 (text+ko) ====

@@ -176,7 +176,7 @@
 	 * The following needs to be done differently for each platform and
 	 * there needs to be a good way to plug this in.
 	 */
-#ifdef CPU_XLR
+#if defined(SMP) && defined(CPU_XLR)
 /*
  * Block all the slave CPUs
  */
@@ -208,12 +208,14 @@
 #endif
 
 	/* Call the platform-specific startup code. */
-	jal	platform_start
+	jal	_C_LABEL(platform_start)
 	sw	zero, START_FRAME - 8(sp)	# Zero out old fp for debugger
 
 	jal	_C_LABEL(mi_startup)		# mi_startup(frame)
-	nop
+	sw	zero, START_FRAME - 8(sp)	# Zero out old fp for debugger
+
 	PANIC("Startup failed!")
+
 #ifdef SMP
 start_secondary:
 	move	a0, a1



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