Changeset 4fe3b6d in mainline for kernel/generic/src/main/main.c
- Timestamp:
- 2011-05-20T11:07:00Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 8bb61e6
- Parents:
- 3476be8 (diff), 7941bd6 (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
r3476be8 r4fe3b6d 71 71 #include <mm/as.h> 72 72 #include <mm/slab.h> 73 #include <mm/reserve.h> 73 74 #include <synch/waitq.h> 74 75 #include <synch/futex.h> … … 217 218 ddi_init(); 218 219 arch_post_mm_init(); 220 reserve_init(); 219 221 arch_pre_smp_init(); 220 222 smp_init(); … … 223 225 slab_enable_cpucache(); 224 226 225 printf("Detected %u CPU(s), %" PRIu64 " MiB free memory\n", 226 config.cpu_count, SIZE2MB(zones_total_size())); 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); 227 232 228 233 cpu_init();
Note:
See TracChangeset
for help on using the changeset viewer.