Changeset f4f866c in mainline for kernel/generic/src/main/main.c


Ignore:
Timestamp:
2010-04-23T21:42:26Z (14 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
6c39a907
Parents:
38aaacc2 (diff), 80badbe (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.
Message:

Merge mainline changes.

File:
1 edited

Legend:

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

    r38aaacc2 rf4f866c  
    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.