Changeset ef67bab in mainline for generic/src/main/main.c
- Timestamp:
- 2006-02-01T00:02:16Z (19 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 071a8ae6
- Parents:
- fc1e4f6
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
generic/src/main/main.c
rfc1e4f6 ref67bab 139 139 void main_bsp_separated_stack(void) 140 140 { 141 as_t *as;142 141 task_t *k; 143 142 thread_t *t; … … 152 151 kconsole_init(); 153 152 154 /* Exception handler initialization, before architecture 153 /* 154 * Exception handler initialization, before architecture 155 155 * starts adding its own handlers 156 156 */ … … 163 163 early_heap_init(config.heap_addr, config.heap_size + config.heap_delta); 164 164 frame_init(); 165 as_init(); 165 166 page_init(); 166 167 tlb_init(); … … 190 191 191 192 /* 192 * Create kernel address space.193 */194 as = as_create(GET_PTL0_ADDRESS(), FLAG_AS_KERNEL);195 if (!as)196 panic("can't create kernel address space\n");197 198 /*199 193 * Create kernel task. 200 194 */ 201 k = task_create( as);195 k = task_create(AS_KERNEL); 202 196 if (!k) 203 197 panic("can't create kernel task\n");
Note:
See TracChangeset
for help on using the changeset viewer.