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


Ignore:
Timestamp:
2019-08-17T13:57:05Z (5 years ago)
Author:
Matthieu Riolo <matthieu.riolo@…>
Children:
f92b315
Parents:
be07995
git-author:
Michal Koutný <xm.koutny+hos@…> (2016-01-27 00:01:13)
git-committer:
Matthieu Riolo <matthieu.riolo@…> (2019-08-17 13:57:05)
Message:

sysman: Shutdown operation as shutdown.tgt isolation

Since not all dependencies are captured by graph, sysman and taskman are
ignored when stopping servers, so that they can complete the shutdown
transition.

Conflicts:

boot/Makefile.common

File:
1 edited

Legend:

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

    rbe07995 r8d74fdd  
    192192        return rc;
    193193}
     194
     195int sysman_shutdown(void)
     196{
     197        async_exch_t *exch = sysman_exchange_begin(SYSMAN_PORT_CTL);
     198        int rc = async_req_0_0(exch, SYSMAN_CTL_SHUTDOWN);
     199        sysman_exchange_end(exch);
     200
     201        return rc;
     202}
Note: See TracChangeset for help on using the changeset viewer.