Changeset 5559712 in mainline for uspace/lib/c/include/ipc


Ignore:
Timestamp:
2019-08-03T09:28:50Z (6 years ago)
Author:
Matthieu Riolo <matthieu.riolo@…>
Children:
c0e4fc50
Parents:
2dda1d4
git-author:
Michal Koutný <xm.koutny+hos@…> (2015-05-07 11:49:47)
git-committer:
Matthieu Riolo <matthieu.riolo@…> (2019-08-03 09:28:50)
Message:

sysman: Naive autostart instrumentation of locsrv

  • Add IPC_FLAG_AUTOSTART flag.
  • libsysman: sysman's broker and control API.
  • Simple implementation of service unit, exposee verification is missing.
  • Simple mapping of exposee to unit name in locsrv.
  • Temporary debug prints in locsrv.

Conflicts:

boot/Makefile.common
boot/arch/amd64/Makefile.inc
uspace/lib/c/include/ipc/services.h
uspace/srv/locsrv/locsrv.c

Location:
uspace/lib/c/include/ipc
Files:
1 added
2 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/c/include/ipc/common.h

    r2dda1d4 r5559712  
    3939#include <abi/ipc/ipc.h>
    4040
    41 #define IPC_FLAG_BLOCKING  0x01
     41#define IPC_FLAG_BLOCKING   0x01
     42// TODO autostart flag may be united with blocking, this should be later made
     43//      implicit, documented or refactor pairs of xxx and xxx_blocking methods
     44#define IPC_FLAG_AUTOSTART  0x02
    4245
    4346typedef ipc_data_t ipc_call_t;
  • uspace/lib/c/include/ipc/services.h

    r2dda1d4 r5559712  
    4040#include <abi/fourcc.h>
    4141
     42/** Name of service brokered by NS */
    4243typedef enum {
    4344        SERVICE_NONE       = 0,
     
    4546        SERVICE_VFS        = FOURCC('v', 'f', 's', ' '),
    4647        SERVICE_LOC        = FOURCC('l', 'o', 'c', ' '),
     48        SERVICE_SYSMAN     = FOURCC('s', 'y', 's', 'm'),
    4749        SERVICE_LOGGER     = FOURCC('l', 'o', 'g', 'g'),
    4850        SERVICE_DEVMAN     = FOURCC('d', 'e', 'v', 'n'),
     
    6466#define SERVICE_NAME_VOLSRV   "volsrv"
    6567
     68#define LOC_DEVICE_NAMESPACE         "devices"
     69#define LOC_UNIT_NAMESPACE_SEPARATOR "__"
     70
    6671#endif
    6772
Note: See TracChangeset for help on using the changeset viewer.