Changeset 06599a1 in mainline for uspace/lib/sysman/src/ctl.c
- Timestamp:
- 2020-03-06T19:13:55Z (4 years ago)
- Children:
- 3529f148
- Parents:
- 22d990c
- git-author:
- Matthieu Riolo <matthieu.riolo@…> (2020-02-05 21:48:41)
- git-committer:
- Matthieu Riolo <matthieu.riolo@…> (2020-03-06 19:13:55)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/sysman/src/ctl.c
r22d990c r06599a1 186 186 errno_t sysman_unit_get_state(unit_handle_t handle, unit_state_t *state) 187 187 { 188 async_exch_t *exch = sysman_exchange_begin(SYSMAN_PORT_CTL); 189 errno_t rc = async_req_1_1(exch, SYSMAN_CTL_UNIT_GET_STATE, handle, (sysarg_t *)state); 190 sysman_exchange_end(exch); 188 sysarg_t ret; 189 async_exch_t *exch = sysman_exchange_begin(SYSMAN_PORT_CTL); 190 errno_t rc = async_req_1_1(exch, SYSMAN_CTL_UNIT_GET_STATE, handle, &ret); 191 sysman_exchange_end(exch); 192 *state = (unit_state_t)ret; 191 193 192 194 return rc;
Note:
See TracChangeset
for help on using the changeset viewer.