PERFORCE change 134403 for review
Randall R. Stewart
rrs at FreeBSD.org
Tue Jan 29 10:34:37 PST 2008
http://perforce.freebsd.org/chv.cgi?CH=134403
Change 134403 by rrs at 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
More information about the p4-projects
mailing list