Changeset 7bdcc45 in mainline for uspace/srv/ns/task.c


Ignore:
Timestamp:
2010-12-16T16:38:49Z (13 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
7837101
Parents:
8e58f94 (diff), eb221e5 (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 mainline changes.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/ns/task.c

    r8e58f94 r7bdcc45  
    4545#define P2I_HASH_TABLE_CHAINS  256
    4646
    47 static int get_id_by_phone(ipcarg_t phone_hash, task_id_t *id);
     47static int get_id_by_phone(sysarg_t phone_hash, task_id_t *id);
    4848
    4949/* TODO:
     
    124124typedef struct {
    125125        link_t link;
    126         ipcarg_t phash;    /**< Task ID. */
     126        sysarg_t phash;    /**< Task ID. */
    127127        task_id_t id;    /**< Task ID. */
    128128} p2i_entry_t;
     
    248248void wait_for_task(task_id_t id, ipc_call_t *call, ipc_callid_t callid)
    249249{
    250         ipcarg_t retval;
     250        sysarg_t retval;
    251251        task_exit_t texit;
    252252
     
    262262        if (ht == NULL) {
    263263                /* No such task exists. */
    264                 retval = ENOENT;
    265                 goto out;
     264                ipc_answer_0(callid, ENOENT);
     265                return;
    266266        }
    267267
     
    393393}
    394394
    395 static int get_id_by_phone(ipcarg_t phone_hash, task_id_t *id)
     395static int get_id_by_phone(sysarg_t phone_hash, task_id_t *id)
    396396{
    397397        unsigned long keys[1];
Note: See TracChangeset for help on using the changeset viewer.