Ignore:
File:
1 edited

Legend:

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

    r278b4a30 r9dae191e  
    11/*
    2  * Copyright (c) 2010 Jakub Jermar
     2 * Copyright (c) 2001-2004 Jakub Jermar
    33 * All rights reserved.
    44 *
     
    131131extern void task_init(void);
    132132extern void task_done(void);
    133 extern task_t *task_create(as_t *, const char *);
    134 extern void task_destroy(task_t *);
    135 extern void task_hold(task_t *);
    136 extern void task_release(task_t *);
    137 extern task_t *task_find_by_id(task_id_t);
    138 extern int task_kill(task_id_t);
    139 extern void task_get_accounting(task_t *, uint64_t *, uint64_t *);
     133extern task_t *task_create(as_t *as, const char *name);
     134extern void task_destroy(task_t *t);
     135extern task_t *task_find_by_id(task_id_t id);
     136extern int task_kill(task_id_t id);
     137extern void task_get_accounting(task_t *t, uint64_t *ucycles, uint64_t *kcycles);
    140138extern void task_print_list(void);
    141139
    142 extern void cap_set(task_t *, cap_t);
    143 extern cap_t cap_get(task_t *);
     140extern void cap_set(task_t *t, cap_t caps);
     141extern cap_t cap_get(task_t *t);
    144142
    145143#ifndef task_create_arch
    146 extern void task_create_arch(task_t *);
     144extern void task_create_arch(task_t *t);
    147145#endif
    148146
    149147#ifndef task_destroy_arch
    150 extern void task_destroy_arch(task_t *);
     148extern void task_destroy_arch(task_t *t);
    151149#endif
    152150
    153 extern unative_t sys_task_get_id(task_id_t *);
    154 extern unative_t sys_task_set_name(const char *, size_t);
     151extern unative_t sys_task_get_id(task_id_t *uspace_task_id);
     152extern unative_t sys_task_set_name(const char *uspace_name, size_t name_len);
    155153
    156154#endif
Note: See TracChangeset for help on using the changeset viewer.