Rev 1227 | Rev 1235 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1227 | Rev 1229 | ||
---|---|---|---|
Line 113... | Line 113... | ||
113 | /** Create new task with 1 thread and run it |
113 | /** Create new task with 1 thread and run it |
114 | * |
114 | * |
115 | * @param programe_addr Address of program executable image. |
115 | * @param programe_addr Address of program executable image. |
116 | * @param name Program name. |
116 | * @param name Program name. |
117 | * |
117 | * |
118 | * @return Task of the running program or NULL on error |
118 | * @return Task of the running program or NULL on error. |
119 | */ |
119 | */ |
120 | task_t * task_run_program(void *program_addr, char *name) |
120 | task_t * task_run_program(void *program_addr, char *name) |
121 | { |
121 | { |
122 | as_t *as; |
122 | as_t *as; |
123 | as_area_t *a; |
123 | as_area_t *a; |
Line 223... | Line 223... | ||
223 | } |
223 | } |
224 | } |
224 | } |
225 | 225 | ||
226 | spinlock_unlock(&tasks_lock); |
226 | spinlock_unlock(&tasks_lock); |
227 | interrupts_restore(ipl); |
227 | interrupts_restore(ipl); |
228 | - | ||
229 | } |
228 | } |