Changeset 3a10e34 in mainline for kernel/generic/src/main/kinit.c


Ignore:
Timestamp:
2010-03-29T19:38:29Z (14 years ago)
Author:
Stanislav Kozina <stanislav.kozina@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
944f2cab
Parents:
ea55bc4
Message:

Added kload thread

File:
1 edited

Legend:

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

    rea55bc4 r3a10e34  
    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       
Note: See TracChangeset for help on using the changeset viewer.