Changes in kernel/generic/src/main/main.c [8a64e81e:91db0280] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/src/main/main.c
r8a64e81e r91db0280 62 62 #include <console/kconsole.h> 63 63 #include <console/console.h> 64 #include <log.h> 64 65 #include <cpu.h> 65 66 #include <align.h> … … 75 76 #include <synch/waitq.h> 76 77 #include <synch/futex.h> 77 #include <synch/workqueue.h>78 #include <smp/smp_call.h>79 78 #include <arch/arch.h> 80 79 #include <arch.h> … … 90 89 #include <sysinfo/stats.h> 91 90 #include <lib/ra.h> 91 92 /* Ensure [u]int*_t types are of correct size. 93 * 94 * Probably, this is not the best place for such tests 95 * but this file is compiled on all architectures. 96 */ 97 #define CHECK_INT_TYPE_(signness, size) \ 98 STATIC_ASSERT_VERBOSE(sizeof(signness##size##_t) * 8 == size, \ 99 #signness #size "_t does not have " #size " bits"); 100 101 #define CHECK_INT_TYPE(size) \ 102 CHECK_INT_TYPE_(int, size); \ 103 CHECK_INT_TYPE_(uint, size) 104 105 CHECK_INT_TYPE(8); 106 CHECK_INT_TYPE(16); 107 CHECK_INT_TYPE(32); 108 CHECK_INT_TYPE(64); 92 109 93 110 /** Global configuration structure. */ … … 246 263 247 264 cpu_init(); 265 248 266 calibrate_delay_loop(); 249 arch_post_cpu_init();250 251 smp_call_init();252 workq_global_init();253 267 clock_counter_init(); 254 268 timeout_init(); … … 268 282 ipc_init(); 269 283 event_init(); 270 klog_init(); 284 kio_init(); 285 log_init(); 271 286 stats_init(); 272 287 … … 352 367 void main_ap_separated_stack(void) 353 368 { 354 smp_call_init();355 356 369 /* 357 370 * Configure timeouts for this cpu.
Note:
See TracChangeset
for help on using the changeset viewer.