Rev 4263 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 4263 | Rev 4327 | ||
---|---|---|---|
Line 223... | Line 223... | ||
223 | jmp %o7 + 8 ! exit point |
223 | jmp %o7 + 8 ! exit point |
224 | mov %g0, %o0 ! return 0 on failure |
224 | mov %g0, %o0 ! return 0 on failure |
225 | 225 | ||
226 | .global memsetb |
226 | .global memsetb |
227 | memsetb: |
227 | memsetb: |
228 | b _memsetb |
228 | ba %xcc, _memsetb |
229 | nop |
229 | nop |
230 | 230 | ||
231 | .global memsetw |
231 | .global memsetw |
232 | memsetw: |
232 | memsetw: |
233 | b _memsetw |
233 | ba %xcc, _memsetw |
234 | nop |
234 | nop |
235 | 235 | ||
236 | 236 | ||
237 | .macro WRITE_ALTERNATE_REGISTER reg, bit |
237 | .macro WRITE_ALTERNATE_REGISTER reg, bit |
238 | rdpr %pstate, %g1 ! save PSTATE.PEF |
238 | rdpr %pstate, %g1 ! save PSTATE.PEF |