Changeset 88dea9d in mainline for kernel/generic/src/main


Ignore:
Timestamp:
2010-04-17T16:28:49Z (16 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
30a5470
Parents:
5ba201d (diff), 95319bd (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 from measuring branch

Location:
kernel/generic/src/main
Files:
2 edited

Legend:

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

    r5ba201d r88dea9d  
    6767#include <debug.h>
    6868#include <str.h>
     69#include <ps/load.h>
    6970
    7071#ifdef CONFIG_SMP
     
    163164#endif /* CONFIG_KCONSOLE */
    164165       
     166        /* Start thread computing system load */
     167        thread = thread_create(kload_thread, NULL, TASK, 0, "kload", false);
     168        if (thread != NULL)
     169                thread_ready(thread);
     170        else
     171                printf("Unable to create kload thread\n");
     172
    165173        interrupts_enable();
    166174       
  • kernel/generic/src/main/main.c

    r5ba201d r88dea9d  
    226226        printf("Detected %" PRIs " CPU(s), %" PRIu64" MiB free memory\n",
    227227            config.cpu_count, SIZE2MB(zone_total_size()));
    228        
     228
    229229        LOG_EXEC(cpu_init());
    230230       
Note: See TracChangeset for help on using the changeset viewer.