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

first data word.
This commit is contained in:
marius 2010-05-02 12:08:15 +00:00
parent 90843ddc5c
commit d5713c1a66

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