Changeset 8fab3f6 in mainline for uspace/lib/sysman/src/ctl.c


Ignore:
Timestamp:
2019-08-17T13:50:05Z (6 years ago)
Author:
Matthieu Riolo <matthieu.riolo@…>
Children:
31ef7c1
Parents:
504d103
git-author:
Michal Koutný <xm.koutny+hos@…> (2015-12-04 17:21:21)
git-committer:
Matthieu Riolo <matthieu.riolo@…> (2019-08-17 13:50:05)
Message:

sysctl: Add start operation

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/sysman/src/ctl.c

    r504d103 r8fab3f6  
    7878
    7979        async_wait_for(req, &rc);
     80        return rc;
     81}
     82
     83int sysman_unit_start(unit_handle_t handle, int flags)
     84{
     85        async_exch_t *exch = sysman_exchange_begin(SYSMAN_PORT_CTL);
     86
     87        int rc = async_req_2_0(exch, SYSMAN_CTL_UNIT_START, handle, flags);
     88        sysman_exchange_end(exch);
     89       
    8090        return rc;
    8191}
Note: See TracChangeset for help on using the changeset viewer.