Changeset 18b5402c in mainline for kernel/generic/include


Ignore:
Timestamp:
2010-03-25T10:20:40Z (16 years ago)
Author:
Stanislav Kozina <stanislav.kozina@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
f773206d
Parents:
63f8966
Message:

ps

Location:
kernel/generic/include
Files:
2 added
2 edited

Legend:

Unmodified
Added
Removed
  • kernel/generic/include/proc/thread.h

    r63f8966 r18b5402c  
    6969#define THREAD_FLAG_NOATTACH    (1 << 3)
    7070
    71 /** Thread states. */
    72 typedef enum {
    73         /** It is an error, if thread is found in this state. */
    74         Invalid,
    75         /** State of a thread that is currently executing on some CPU. */
    76         Running,
    77         /** Thread in this state is waiting for an event. */
    78         Sleeping,
    79         /** State of threads in a run queue. */
    80         Ready,
    81         /** Threads are in this state before they are first readied. */
    82         Entering,
    83         /** After a thread calls thread_exit(), it is put into Exiting state. */
    84         Exiting,
    85         /** Threads that were not detached but exited are Lingering. */
    86         Lingering
    87 } state_t;
     71/* We need state_t enum definition */
     72#include <ps/taskinfo.h>
    8873
    8974/** Thread structure. There is one per thread. */
  • kernel/generic/include/syscall/syscall.h

    r63f8966 r18b5402c  
    8787        SYS_DEBUG_ENABLE_CONSOLE,
    8888        SYS_DEBUG_DISABLE_CONSOLE,
     89
     90        SYS_PS_GET_TASKS,
     91        SYS_PS_GET_TASK_INFO,
     92        SYS_PS_GET_THREADS,
     93
    8994        SYS_IPC_CONNECT_KBOX,
    9095        SYSCALL_END
Note: See TracChangeset for help on using the changeset viewer.