branch | s11-update |
changeset 2802 | bfa5de533177 |
parent 2717 | da0ef75be98f |
2801:02364d9168f2 | 2802:bfa5de533177 |
---|---|
3907 static int present = -1; |
3907 static int present = -1; |
3908 if (present == -1) |
3908 if (present == -1) |
3909 { |
3909 { |
3910 uint_t ui = 0; |
3910 uint_t ui = 0; |
3911 (void) getisax(&ui, 1); |
3911 (void) getisax(&ui, 1); |
3912 present = (ui & (AV_SPARC_AES)) > 0; |
3912 present = (ui & (AV_SPARC_FJAES)) > 0; |
3913 } |
3913 } |
3914 |
3914 |
3915 return (present); |
3915 return (present); |
3916 } |
3916 } |
3917 |
3917 |