PulkoMandy | 17fc759 | 2022-07-28 18:27:54 +0200 | [diff] [blame] | 1 | /* used for special operating system support */ |
| 2 | extern bvtype task_preempt_regs[],task_schedule_regs[]; |
| 3 | typedef struct tasklist { |
| 4 | struct Var *v; |
| 5 | int prio; |
| 6 | int taskid; |
| 7 | enum {NON_PREEMPTIVE=1,DOES_BLOCK=2,CALLS_SCHED=4,ISR=8} flags; |
| 8 | bvtype context[BVSIZE(MAXR+1)/sizeof(bvtype)]; |
| 9 | bvtype preempt_context[BVSIZE(MAXR+1)/sizeof(bvtype)]; |
| 10 | bvtype schedule_context[BVSIZE(MAXR+1)/sizeof(bvtype)]; |
| 11 | bvtype unsaved_context[BVSIZE(MAXR+1)/sizeof(bvtype)]; |
| 12 | } tasklist; |
| 13 | |