| 324 | #undef MIPS_RW32_COP0_SEL |
| 325 | |
| 326 | static __inline register_t |
| 327 | intr_disable(void) |
| 328 | { |
| 329 | register_t s; |
| 330 | |
| 331 | s = mips_rd_status(); |
| 332 | mips_wr_status(s & ~MIPS_SR_INT_IE); |
| 333 | |
| 334 | return (s & MIPS_SR_INT_IE); |
| 335 | } |
| 336 | |
| 337 | static __inline register_t |
| 338 | intr_enable(void) |
no outgoing calls
no test coverage detected