Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/generic/src/main/main.c

    rbae6169 r9dae191e  
    8484#include <main/main.h>
    8585#include <ipc/event.h>
     86#include <sysinfo/sysinfo.h>
     87#include <sysinfo/stats.h>
    8688
    8789/** Global configuration structure. */
     
    209211        /* Initialize at least 1 memory segment big enough for slab to work. */
    210212        LOG_EXEC(slab_cache_init());
     213        LOG_EXEC(sysinfo_init());
    211214        LOG_EXEC(btree_init());
    212215        LOG_EXEC(as_init());
     
    223226       
    224227        printf("Detected %" PRIs " CPU(s), %" PRIu64" MiB free memory\n",
    225             config.cpu_count, SIZE2MB(zone_total_size()));
    226        
     228            config.cpu_count, SIZE2MB(zones_total_size()));
     229
    227230        LOG_EXEC(cpu_init());
    228231       
     
    247250        LOG_EXEC(event_init());
    248251        LOG_EXEC(klog_init());
     252        LOG_EXEC(stats_init());
    249253       
    250254        /*
Note: See TracChangeset for help on using the changeset viewer.