| 540 | } |
| 541 | |
| 542 | static void AlarmHandler(OSAlarm* alarm, OSContext* context) |
| 543 | { |
| 544 | #pragma unused(context) |
| 545 | s32 chan; |
| 546 | SIPacket* packet; |
| 547 | |
| 548 | chan = alarm - Alarm; |
| 549 | packet = &Packet[chan]; |
| 550 | if (packet->chan != -1) |
| 551 | { |
| 552 | if (__SITransfer(packet->chan, packet->output, packet->outputBytes, packet->input, |
| 553 | packet->inputBytes, packet->callback)) |
| 554 | { |
| 555 | packet->chan = -1; |
| 556 | } |
| 557 | } |
| 558 | } |
| 559 | |
| 560 | BOOL SITransfer(s32 chan, void* output, u32 outputBytes, void* input, u32 inputBytes, |
| 561 | SICallback callback, OSTime delay) |
nothing calls this directly
no test coverage detected