Changeset 20d50a1 in mainline for generic/src/proc/task.c
- Timestamp:
- 2006-01-13T13:02:45Z (19 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- f9425006
- Parents:
- 0369911
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
generic/src/proc/task.c
r0369911 r20d50a1 29 29 #include <proc/thread.h> 30 30 #include <proc/task.h> 31 #include <mm/ vm.h>31 #include <mm/as.h> 32 32 #include <mm/heap.h> 33 33 … … 55 55 * Create new task with no threads. 56 56 * 57 * @param m Task's virtual memory structure.57 * @param as Task's address space. 58 58 * 59 59 * @return New task's structure on success, NULL on failure. 60 60 * 61 61 */ 62 task_t *task_create( vm_t *m)62 task_t *task_create(as_t *as) 63 63 { 64 64 ipl_t ipl; … … 70 70 list_initialize(&ta->th_head); 71 71 list_initialize(&ta->tasks_link); 72 ta-> vm = m;72 ta->as = as; 73 73 74 74 ipl = interrupts_disable();
Note:
See TracChangeset
for help on using the changeset viewer.