Changeset 649799a in mainline
- Timestamp:
- 2006-03-15T23:24:26Z (19 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- c23502d
- Parents:
- 9a2d6e1
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
generic/src/proc/task.c
r9a2d6e1 r649799a 38 38 #include <adt/list.h> 39 39 #include <ipc/ipc.h> 40 #include <ipc/ns.h>41 40 #include <memstr.h> 42 41 … … 111 110 as = as_create(0); 112 111 113 rc = elf_load((elf_header_t *) config.init_addr, as);112 rc = elf_load((elf_header_t *) program_addr, as); 114 113 if (rc != EE_OK) { 115 114 as_free(as); … … 118 117 119 118 task = task_create(as); 120 t = thread_create(uinit, (void *)((elf_header_t *) config.init_addr)->e_entry,119 t = thread_create(uinit, (void *)((elf_header_t *)program_addr)->e_entry, 121 120 task, THREAD_USER_STACK); 122 121
Note:
See TracChangeset
for help on using the changeset viewer.