| 130 | OSThreadQueue __OSActiveThreadQueue : (OS_BASE_CACHED | 0x00DC); |
| 131 | |
| 132 | inline void KillThreads(void) |
| 133 | { |
| 134 | OSThread* thread; |
| 135 | OSThread* next; |
| 136 | |
| 137 | for (thread = __OSActiveThreadQueue.head; thread; thread = next) |
| 138 | { |
| 139 | next = thread->linkActive.next; |
| 140 | switch (thread->state) |
| 141 | { |
| 142 | case 1: |
| 143 | case 4: |
| 144 | OSCancelThread(thread); |
| 145 | break; |
| 146 | default: |
| 147 | break; |
| 148 | } |
| 149 | } |
| 150 | } |
| 151 | |
| 152 | void __OSDoHotReset(s32 arg0) |
| 153 | { |
no test coverage detected