Changeset 9f52563 in mainline for generic/src/proc/task.c
- Timestamp:
- 2006-03-17T01:34:36Z (19 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 8a0b0669
- Parents:
- 5fceec7
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
generic/src/proc/task.c
r5fceec7 r9f52563 116 116 thread_t *t; 117 117 task_t *task; 118 uspace_arg_t *uarg; 118 119 119 120 as = as_create(0); … … 125 126 } 126 127 128 uarg = (uspace_arg_t *) malloc(sizeof(uspace_arg_t), 0); 129 uarg->uspace_entry = (__address) ((elf_header_t *) program_addr)->e_entry; 130 uarg->uspace_stack = USTACK_ADDRESS; 131 127 132 task = task_create(as, name); 128 t = thread_create(uinit, (void *)((elf_header_t *)program_addr)->e_entry, 129 task, 0, "uinit"); 133 t = thread_create(uinit, uarg, task, 0, "uinit"); 130 134 131 135 /*
Note:
See TracChangeset
for help on using the changeset viewer.