Ignore:
File:
1 edited

Legend:

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

    r9dae191e ra000878c  
    5656#include <ipc/kbox.h>
    5757#include <mm/as.h>
    58 #include <sysinfo/abi.h>
     58
     59#define TASK_NAME_BUFLEN        20
    5960
    6061struct thread;
     
    8081        task_id_t taskid;
    8182        /** Task security context. */
    82         context_id_t context;
     83        context_id_t context;   
    8384
    8485        /** Number of references (i.e. threads). */
     
    8889
    8990        /** Task capabilities. */
    90         cap_t capabilities;
     91        cap_t capabilities;     
    9192
    9293        /* IPC stuff */
    9394        answerbox_t answerbox;  /**< Communication endpoint */
    9495        phone_t phones[IPC_MAX_PHONES];
    95         stats_ipc_t ipc_info;   /**< IPC statistics */
    9696        /**
    9797         * Active asynchronous messages. It is used for limiting uspace to
     
    119119        mutex_t futexes_lock;
    120120        /** B+tree of futexes referenced by this task. */
    121         btree_t futexes;
     121        btree_t futexes;       
    122122       
    123123        /** Accumulated accounting. */
    124         uint64_t ucycles;
    125         uint64_t kcycles;
     124        uint64_t cycles;
    126125} task_t;
    127126
     
    135134extern task_t *task_find_by_id(task_id_t id);
    136135extern int task_kill(task_id_t id);
    137 extern void task_get_accounting(task_t *t, uint64_t *ucycles, uint64_t *kcycles);
     136extern uint64_t task_get_accounting(task_t *t);
    138137extern void task_print_list(void);
    139138
Note: See TracChangeset for help on using the changeset viewer.