| 107 | } |
| 108 | |
| 109 | void ARQInit(void) |
| 110 | { |
| 111 | if (__ARQ_init_flag != TRUE) |
| 112 | { |
| 113 | OSRegisterVersion(__ARQVersion); |
| 114 | |
| 115 | __ARQRequestQueueHi = __ARQRequestQueueLo = NULL; |
| 116 | __ARQChunkSize = 0x1000; |
| 117 | ARRegisterDMACallback(__ARQInterruptServiceRoutine); |
| 118 | __ARQRequestPendingHi = NULL; |
| 119 | __ARQRequestPendingLo = NULL; |
| 120 | __ARQCallbackHi = NULL; |
| 121 | __ARQCallbackLo = NULL; |
| 122 | __ARQ_init_flag = TRUE; |
| 123 | } |
| 124 | } |
| 125 | |
| 126 | void ARQPostRequest(ARQRequest* request, u32 owner, u32 type, u32 priority, u32 source, u32 dest, |
| 127 | u32 length, ARQCallback callback) |
no test coverage detected