Changeset 9aa72b4 in mainline for generic/src/main/main.c
- Timestamp:
- 2006-03-22T22:27:44Z (19 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 281b607
- Parents:
- 2802767
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
generic/src/main/main.c
r2802767 r9aa72b4 51 51 #include <mm/slab.h> 52 52 #include <synch/waitq.h> 53 #include <synch/futex.h> 53 54 #include <arch/arch.h> 54 55 #include <arch.h> … … 65 66 66 67 config_t config; /**< Global configuration structure. */ 67 init_t init = {0}; /**< Initial user-space tasks */68 init_t init = {0}; /**< Initial user-space tasks */ 68 69 69 70 context_t ctx; … … 144 145 task_t *k; 145 146 thread_t *t; 147 count_t i; 146 148 147 149 the_initialize(THE); 150 148 151 /* 149 152 * kconsole data structures must be initialized very early … … 188 191 task_init(); 189 192 thread_init(); 190 191 count_t i;193 futex_init(); 194 192 195 for (i = 0; i < init.cnt; i++) 193 196 printf("init[%d].addr=%P, init[%d].size=%d\n", i, init.tasks[i].addr, i, init.tasks[i].size); 194 197 195 198 ipc_init(); 199 196 200 /* 197 201 * Create kernel task.
Note:
See TracChangeset
for help on using the changeset viewer.