Changes in kernel/generic/src/main/main.c [933cadf:1caeb2d] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/src/main/main.c
r933cadf r1caeb2d 58 58 #include <proc/thread.h> 59 59 #include <proc/task.h> 60 #include <proc/tasklet.h> 60 61 #include <main/kinit.h> 61 62 #include <main/version.h> … … 216 217 tlb_init(); 217 218 ddi_init(); 219 tasklet_init(); 218 220 arch_post_mm_init(); 219 221 arch_pre_smp_init(); … … 223 225 slab_enable_cpucache(); 224 226 225 uint64_t size; 226 const char *size_suffix; 227 bin_order_suffix(zones_total_size(), &size, &size_suffix, false); 228 printf("Detected %u CPU(s), %" PRIu64 " %s free memory\n", 229 config.cpu_count, size, size_suffix); 227 printf("Detected %u CPU(s), %" PRIu64 " MiB free memory\n", 228 config.cpu_count, SIZE2MB(zones_total_size())); 230 229 231 230 cpu_init();
Note:
See TracChangeset
for help on using the changeset viewer.