Changeset View
Changeset View
Standalone View
Standalone View
sys/sys/_task.h
Show First 20 Lines • Show All 59 Lines • ▼ Show 20 Lines | struct gtask { | ||||
void *ta_context; /* (c) argument for handler */ | void *ta_context; /* (c) argument for handler */ | ||||
}; | }; | ||||
struct grouptask { | struct grouptask { | ||||
struct gtask gt_task; | struct gtask gt_task; | ||||
void *gt_taskqueue; | void *gt_taskqueue; | ||||
LIST_ENTRY(grouptask) gt_list; | LIST_ENTRY(grouptask) gt_list; | ||||
void *gt_uniq; | void *gt_uniq; | ||||
char *gt_name; | #define GROUPTASK_NAMELEN 32 | ||||
char gt_name[GROUPTASK_NAMELEN]; | |||||
int16_t gt_irq; | int16_t gt_irq; | ||||
int16_t gt_cpu; | int16_t gt_cpu; | ||||
}; | }; | ||||
#endif /* !_SYS__TASK_H_ */ | #endif /* !_SYS__TASK_H_ */ |