| 484 | } |
| 485 | |
| 486 | u32 SIDisablePolling(u32 poll) |
| 487 | { |
| 488 | BOOL enabled; |
| 489 | |
| 490 | if (poll == 0) |
| 491 | { |
| 492 | return Si.poll; |
| 493 | } |
| 494 | |
| 495 | enabled = OSDisableInterrupts(); |
| 496 | |
| 497 | poll >>= (31 - 7); |
| 498 | poll &= 0xf0; |
| 499 | |
| 500 | poll = Si.poll & ~poll; |
| 501 | |
| 502 | __SIRegs[12] = poll; |
| 503 | Si.poll = poll; |
| 504 | |
| 505 | OSRestoreInterrupts(enabled); |
| 506 | return poll; |
| 507 | } |
| 508 | |
| 509 | static BOOL SIGetResponseRaw(s32 chan) |
| 510 | { |
no test coverage detected