it's possible to override this function but it wasn't done with DECL_WEAK(according to the symbol map)
| 85 | |
| 86 | // it's possible to override this function but it wasn't done with DECL_WEAK(according to the symbol map) |
| 87 | DECL_WEAK DSPTaskInfo* DSPAddTask(DSPTaskInfo* task) |
| 88 | { |
| 89 | u32 oldInt; |
| 90 | oldInt = OSDisableInterrupts(); |
| 91 | __DSP_insert_task(task); |
| 92 | task->state = 0; |
| 93 | task->flags = 1; |
| 94 | OSRestoreInterrupts(oldInt); |
| 95 | if (task == __DSP_first_task) |
| 96 | { |
| 97 | __DSP_boot_task(task); |
| 98 | } |
| 99 | |
| 100 | return task; |
| 101 | } |
| 102 | |
| 103 | DSPTaskInfo* DSPCancelTask(DSPTaskInfo* task) |
| 104 | { |
no test coverage detected