Add a hack for SPARC64 V CPUs, which set some undocumented bits in the

first data word.
This commit is contained in:
Marius Strobl 2010-05-02 12:08:15 +00:00
parent da6808c111
commit 7e9aef235a
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=207500

View file

@ -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 */