Rev 16 | Rev 26 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 16 | Rev 23 | ||
---|---|---|---|
Line 101... | Line 101... | ||
101 | task_t *k; |
101 | task_t *k; |
102 | thread_t *t; |
102 | thread_t *t; |
103 | 103 | ||
104 | arch_init(); |
104 | arch_init(); |
105 | 105 | ||
- | 106 | heap_init(config.base + hardcoded_ktext_size + hardcoded_kdata_size, CONFIG_HEAP_SIZE); |
|
- | 107 | frame_init(); |
|
- | 108 | page_init(); |
|
- | 109 | tlb_init(); |
|
- | 110 | ||
- | 111 | arch_post_mm_init(); |
|
106 | 112 | ||
107 | printf("%s, %s\n", project, copyright); |
113 | printf("%s, %s\n", project, copyright); |
108 | 114 | ||
109 | printf("%L: hardcoded_ktext_size=%dK, hardcoded_kdata_size=%dK\n", |
115 | printf("%L: hardcoded_ktext_size=%dK, hardcoded_kdata_size=%dK\n", |
110 | config.base, hardcoded_ktext_size/1024, hardcoded_kdata_size/1024); |
116 | config.base, hardcoded_ktext_size/1024, hardcoded_kdata_size/1024); |
111 | 117 | ||
112 | heap_init(config.base + hardcoded_ktext_size + hardcoded_kdata_size, CONFIG_HEAP_SIZE); |
- | |
113 | frame_init(); |
- | |
114 | page_init(); |
- | |
115 | tlb_init(); |
- | |
116 | - | ||
117 | #ifdef __SMP__ |
118 | #ifdef __SMP__ |
118 | mp_init(); /* Multiprocessor */ |
119 | mp_init(); /* Multiprocessor */ |
119 | #endif /* __SMP__ */ |
120 | #endif /* __SMP__ */ |
120 | 121 | ||
121 | cpu_init(); |
122 | cpu_init(); |