Changes in kernel/generic/src/main/main.c [91db0280:8a64e81e] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/src/main/main.c
r91db0280 r8a64e81e 62 62 #include <console/kconsole.h> 63 63 #include <console/console.h> 64 #include <log.h>65 64 #include <cpu.h> 66 65 #include <align.h> … … 76 75 #include <synch/waitq.h> 77 76 #include <synch/futex.h> 77 #include <synch/workqueue.h> 78 #include <smp/smp_call.h> 78 79 #include <arch/arch.h> 79 80 #include <arch.h> … … 89 90 #include <sysinfo/stats.h> 90 91 #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 tests95 * 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);109 92 110 93 /** Global configuration structure. */ … … 263 246 264 247 cpu_init(); 265 266 248 calibrate_delay_loop(); 249 arch_post_cpu_init(); 250 251 smp_call_init(); 252 workq_global_init(); 267 253 clock_counter_init(); 268 254 timeout_init(); … … 282 268 ipc_init(); 283 269 event_init(); 284 kio_init(); 285 log_init(); 270 klog_init(); 286 271 stats_init(); 287 272 … … 367 352 void main_ap_separated_stack(void) 368 353 { 354 smp_call_init(); 355 369 356 /* 370 357 * Configure timeouts for this cpu.
Note:
See TracChangeset
for help on using the changeset viewer.