Author: marius
Date: Sun May 2 12:08:15 2010
New Revision: 207500
URL: http://svn.freebsd.org/changeset/base/207500
Log:
Add a hack for SPARC64 V CPUs, which set some undocumented bits in the
first data word.
Modified:
head/sys/sparc64/sparc64/interrupt.S
Modified: head/sys/sparc64/sparc64/interrupt.S
==============================================================================
--- head/sys/sparc64/sparc64/interrupt.S Sun May 2 12:07:47 2010
(r207499)
+++ head/sys/sparc64/sparc64/interrupt.S Sun May 2 12:08:15 2010
(r207500)
@@ -83,8 +83,11 @@ ENTRY(intr_vector)
* The 2nd word points to code to execute and the 3rd is an argument
* to pass. Jump to it.
*/
- brnz,a,pt %g3, 1f
- nop
+ brnz,pt %g3, 1f
+ /*
+ * NB: Zeus CPUs set some undocumented bits in the first data word.
+ */
+ and %g3, IV_MAX - 1, %g3
jmpl %g4, %g0
nop
/* NOTREACHED */
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "[email protected]"