Changeset b678410 in mainline for kernel/generic/src/main/main.c
- Timestamp:
- 2011-04-27T20:01:13Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- a6dffb8
- Parents:
- 628d548 (diff), 933cadf (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/src/main/main.c
r628d548 rb678410 58 58 #include <proc/thread.h> 59 59 #include <proc/task.h> 60 #include <proc/tasklet.h>61 60 #include <main/kinit.h> 62 61 #include <main/version.h> … … 217 216 tlb_init(); 218 217 ddi_init(); 219 tasklet_init();220 218 arch_post_mm_init(); 221 219 arch_pre_smp_init(); … … 225 223 slab_enable_cpucache(); 226 224 227 printf("Detected %u CPU(s), %" PRIu64 " MiB free memory\n", 228 config.cpu_count, SIZE2MB(zones_total_size())); 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); 229 230 230 231 cpu_init();
Note:
See TracChangeset
for help on using the changeset viewer.