KScheduler: Difference between revisions
No edit summary |
No edit summary |
||
| Line 20: | Line 20: | ||
| u32 | | u32 | ||
| Count for thread switches - this is only added to if a context switch function runs but exits because the scheduler is locked by another thread. | | Count for thread switches - this is only added to if a context switch function runs but exits because the scheduler is locked by another thread. | ||
|- | |||
| 0xC | |||
| bool | |||
| Context switch needed | |||
|- | |||
| 0xD | |||
| bool | |||
| Context switch started during interrupt | |||
|- | |||
| 0xE | |||
| bool | |||
| Trigger CPU cross-core interrupt (interrupt 8) | |||
|- | |||
| 0xF | |||
| bool | |||
| Post-interrupt rescheduling needed | |||
|} | |} | ||