Changes in kernel/generic/src/main/main.c [8d308b9:97186929] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/src/main/main.c
r8d308b9 r97186929 71 71 #include <mm/as.h> 72 72 #include <mm/slab.h> 73 #include <mm/reserve.h>74 73 #include <synch/waitq.h> 75 74 #include <synch/futex.h> … … 218 217 ddi_init(); 219 218 arch_post_mm_init(); 220 reserve_init();221 219 arch_pre_smp_init(); 222 220 smp_init(); … … 225 223 slab_enable_cpucache(); 226 224 227 uint64_t size; 228 const char *size_suffix; 229 bin_order_suffix(zones_total_size(), &size, &size_suffix, false); 230 printf("Detected %u CPU(s), %" PRIu64 " %s free memory\n", 231 config.cpu_count, size, size_suffix); 225 printf("Detected %u CPU(s), %" PRIu64 " MiB free memory\n", 226 config.cpu_count, SIZE2MB(zones_total_size())); 232 227 233 228 cpu_init();
Note:
See TracChangeset
for help on using the changeset viewer.