Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 29 Jan 2008 18:34:36 GMT
From:      "Randall R. Stewart" <rrs@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 134403 for review
Message-ID:  <200801291834.m0TIYapg098037@repoman.freebsd.org>

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

Change 134403 by rrs@rrs-mips2-jnpr on 2008/01/29 18:33:48

	Takes out some of my earlier Octeon changes and gets the
	       set down to the min that allow it to work.

Affected files ...

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

Differences ...

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

@@ -93,11 +93,6 @@
 GLOBAL(topstack)
 
 	
-#if defined(TARGET_OCTEON)
-        .set mips3
-#endif
-	
-	
 	.set noreorder
 	
 	.text
@@ -143,12 +138,6 @@
 	mtc0	t2, COP_0_STATUS_REG
 	COP0_SYNC
 
-#if defined(TARGET_OCTEON)
-	/* Clear cause register. */
-	mtc0	zero, MIPS_COP_0_CAUSE
-	COP0_SYNC
-#endif
-	
 	/* Make sure KSEG0 is cached */
 	li	t0, CFG_K0_CACHED
 	mtc0	t0, MIPS_COP_0_CONFIG
@@ -230,14 +219,8 @@
 #endif
 
 
-#if defined(TARGET_OCTEON) /* Maybe this is mips32/64 generic? */
-	.set push
-	.set mips32r2
-	rdhwr	t0, $0
-	.set pop
-#else
 	move	t0, zero
-#endif
+
 	/* Stage the secondary cpu start until later */
 	bne	t0, zero, start_secondary
 	nop



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