Changeset 4224ef7 in mainline for uspace/lib/gui/window.c


Ignore:
Timestamp:
2019-08-06T18:18:37Z (5 years ago)
Author:
Matthieu Riolo <matthieu.riolo@…>
Children:
e55741e
Parents:
dd5c623
git-author:
Michal Koutný <xm.koutny+hos@…> (2015-05-11 16:50:40)
git-committer:
Matthieu Riolo <matthieu.riolo@…> (2019-08-06 18:18:37)
Message:

sysman: Add VFS FS server autostart

  • VFS autostart instrumentation removes explicit dependency on FS servers.
  • Compositor service properly named, it's now resolved as implicit dependency.

Conflicts:

boot/Makefile.common
uspace/lib/gui/window.c
uspace/srv/locsrv/locsrv.c
uspace/srv/vfs/vfs.c
uspace/srv/vfs/vfs_ops.c

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/gui/window.c

    rdd5c623 r4224ef7  
    616616        win->surface = NULL;
    617617
     618        unsigned int ipc_flags = IPC_FLAG_AUTOSTART;
    618619        service_id_t reg_dsid;
    619         errno_t rc = loc_service_get_id(winreg, &reg_dsid, 0);
     620        errno_t rc = loc_service_get_id(winreg, &reg_dsid, ipc_flags);
    620621        if (rc != EOK) {
    621622                free(win);
     
    624625
    625626        async_sess_t *reg_sess =
    626             loc_service_connect(reg_dsid, INTERFACE_COMPOSITOR, 0);
     627            loc_service_connect(reg_dsid, INTERFACE_COMPOSITOR, ipc_flags);
     628
    627629        if (reg_sess == NULL) {
    628630                free(win);
     
    639641        }
    640642
    641         win->osess = loc_service_connect(out_dsid, INTERFACE_COMPOSITOR, 0);
     643
     644        win->osess = loc_service_connect(out_dsid, INTERFACE_COMPOSITOR, ipc_flags);
     645
    642646        if (win->osess == NULL) {
    643647                free(win);
     
    645649        }
    646650
    647         win->isess = loc_service_connect(in_dsid, INTERFACE_COMPOSITOR, 0);
     651        win->isess = loc_service_connect(in_dsid, INTERFACE_COMPOSITOR, ipc_flags);
     652
    648653        if (win->isess == NULL) {
    649654                async_hangup(win->osess);
Note: See TracChangeset for help on using the changeset viewer.