Changeset ff14c520 in mainline for generic/src/main/kinit.c
- Timestamp:
- 2006-03-16T22:31:39Z (19 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 93165be
- Parents:
- 37c57f2
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
generic/src/main/kinit.c
r37c57f2 rff14c520 81 81 * Just a beautification. 82 82 */ 83 if ((t = thread_create(kmp, NULL, TASK, 0 ))) {83 if ((t = thread_create(kmp, NULL, TASK, 0, "kmp"))) { 84 84 spinlock_lock(&t->lock); 85 85 t->flags |= X_WIRED; … … 106 106 for (i = 0; i < config.cpu_count; i++) { 107 107 108 if ((t = thread_create(kcpulb, NULL, TASK, 0 ))) {108 if ((t = thread_create(kcpulb, NULL, TASK, 0, "kcpulb"))) { 109 109 spinlock_lock(&t->lock); 110 110 t->flags |= X_WIRED; … … 127 127 * Create kernel console. 128 128 */ 129 if ((t = thread_create(kconsole, "kconsole", TASK, 0 )))129 if ((t = thread_create(kconsole, "kconsole", TASK, 0, "kconsole"))) 130 130 thread_ready(t); 131 131 else … … 143 143 panic("init[%d].addr is not frame aligned", i); 144 144 145 utask = task_run_program((void *) init.tasks[i].addr );145 utask = task_run_program((void *) init.tasks[i].addr, "USPACE"); 146 146 if (utask) { 147 147 if (!ipc_phone_0)
Note:
See TracChangeset
for help on using the changeset viewer.