Changeset 1be7bee in mainline for uspace/srv/ns/ns.c


Ignore:
Timestamp:
2019-08-07T04:20:30Z (5 years ago)
Author:
Matthieu Riolo <matthieu.riolo@…>
Children:
70d28e8
Parents:
fe86d9d
git-author:
Michal Koutný <xm.koutny+hos@…> (2015-10-05 21:17:40)
git-committer:
Matthieu Riolo <matthieu.riolo@…> (2019-08-07 04:20:30)
Message:

sysman: Move task retval and waiting logic to taskman (partially)

  • two important sessions: NS and taskman
  • depending on boot task vs spawned task those sessions are initiated differently

Conflicts:

uspace/lib/c/generic/async.c
uspace/lib/c/generic/libc.c
uspace/lib/c/generic/task.c
uspace/lib/c/include/ipc/ns.h
uspace/lib/c/include/task.h
uspace/lib/posix/source/sys/wait.c
uspace/srv/loader/main.c
uspace/srv/ns/ns.c

File:
1 edited

Legend:

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

    rfe86d9d r1be7bee  
    4343#include <stdio.h>
    4444#include <errno.h>
    45 #include <macros.h>
    4645#include "ns.h"
    4746#include "service.h"
     
    9695                        retval = EOK;
    9796                        break;
    98                 case NS_TASK_WAIT:
    99                         id = (task_id_t)
    100                             MERGE_LOUP32(ipc_get_arg1(&call), ipc_get_arg2(&call));
    101                         wait_for_task(id, &call);
    102                         continue;
    10397                case NS_ID_INTRO:
    10498                        retval = ns_task_id_intro(&call);
    105                         break;
    106                 case NS_RETVAL:
    107                         // TODO move to taskman
    108                         retval = EOK;
    109                         //retval = ns_task_retval(&call);
    11099                        break;
    111100                default:
Note: See TracChangeset for help on using the changeset viewer.