Changeset 504d103 in mainline
- Timestamp:
- 2019-08-17T13:48:39Z (5 years ago)
- Children:
- 8fab3f6
- Parents:
- 95d4280a
- git-author:
- Michal Koutný <xm.koutny+hos@…> (2015-12-04 16:57:19)
- git-committer:
- Matthieu Riolo <matthieu.riolo@…> (2019-08-17 13:48:39)
- Location:
- uspace
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/include/ipc/sysman.h
r95d4280a r504d103 45 45 SYSMAN_BROKER_EXP_REMOVED, 46 46 SYSMAN_CTL_UNIT_HANDLE, 47 SYSMAN_CTL_UNIT_START ,47 SYSMAN_CTL_UNIT_START_BY_NAME, 48 48 SYSMAN_CTL_UNIT_STOP, 49 49 SYSMAN_CTL_GET_UNITS, -
uspace/lib/sysman/include/sysman/ctl.h
r95d4280a r504d103 35 35 int sysman_unit_handle(const char *, unit_handle_t *); 36 36 37 int sysman_unit_start (const char *, int);37 int sysman_unit_start_by_name(const char *, int); 38 38 int sysman_unit_stop(unit_handle_t, int); 39 39 -
uspace/lib/sysman/src/ctl.c
r95d4280a r504d103 64 64 * TODO convert to name->handle API 65 65 */ 66 int sysman_unit_start (const char *unit_name, int flags)66 int sysman_unit_start_by_name(const char *unit_name, int flags) 67 67 { 68 68 async_exch_t *exch = sysman_exchange_begin(SYSMAN_PORT_CTL); 69 69 70 aid_t req = async_send_1(exch, SYSMAN_CTL_UNIT_START , flags, NULL);70 aid_t req = async_send_1(exch, SYSMAN_CTL_UNIT_START_BY_NAME, flags, NULL); 71 71 sysarg_t rc = async_data_write_start(exch, unit_name, str_size(unit_name)); 72 72 sysman_exchange_end(exch); -
uspace/srv/devman/driver.c
r95d4280a r504d103 348 348 /* 349 349 * Non-blocking asynchronous request to start a driver 350 * FIXME See note about sysman_unit_start non-blocking (asynchronous)350 * FIXME See note about sysman_unit_start_by_name non-blocking (asynchronous) 351 351 * API 352 352 */ 353 353 int flags = 0; 354 rc = sysman_unit_start (unit_name, flags);354 rc = sysman_unit_start_by_name(unit_name, flags); 355 355 free(unit_name); 356 356 -
uspace/srv/locsrv/locsrv.c
r95d4280a r504d103 384 384 } 385 385 386 rc = sysman_unit_start (unit_name, IPC_FLAG_BLOCKING);386 rc = sysman_unit_start_by_name(unit_name, IPC_FLAG_BLOCKING); 387 387 free(unit_name); 388 388 return rc; -
uspace/srv/sysman/connection_ctl.c
r95d4280a r504d103 91 91 } 92 92 93 static void sysman_unit_start (ipc_callid_t iid, ipc_call_t *icall)93 static void sysman_unit_start_by_name(ipc_callid_t iid, ipc_call_t *icall) 94 94 { 95 95 char *unit_name = NULL; … … 286 286 sysman_unit_handle(callid, &call); 287 287 break; 288 case SYSMAN_CTL_UNIT_START :289 sysman_unit_start (callid, &call);288 case SYSMAN_CTL_UNIT_START_BY_NAME: 289 sysman_unit_start_by_name(callid, &call); 290 290 break; 291 291 case SYSMAN_CTL_UNIT_STOP: -
uspace/srv/vfs/vfs_ops.c
r95d4280a r504d103 225 225 } 226 226 227 rc = sysman_unit_start (unit_name, IPC_FLAG_BLOCKING);227 rc = sysman_unit_start_by_name(unit_name, IPC_FLAG_BLOCKING); 228 228 229 229 free(unit_name);
Note:
See TracChangeset
for help on using the changeset viewer.