Rev 1178 | Rev 1227 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1178 | Rev 1185 | ||
---|---|---|---|
Line 80... | Line 80... | ||
80 | task_t *ta; |
80 | task_t *ta; |
81 | int i; |
81 | int i; |
82 | 82 | ||
83 | ta = (task_t *) malloc(sizeof(task_t), 0); |
83 | ta = (task_t *) malloc(sizeof(task_t), 0); |
84 | 84 | ||
- | 85 | task_create_arch(ta); |
|
- | 86 | ||
85 | spinlock_initialize(&ta->lock, "task_ta_lock"); |
87 | spinlock_initialize(&ta->lock, "task_ta_lock"); |
86 | list_initialize(&ta->th_head); |
88 | list_initialize(&ta->th_head); |
87 | ta->as = as; |
89 | ta->as = as; |
88 | ta->name = name; |
90 | ta->name = name; |
89 | 91 |