Changes in uspace/lib/drv/generic/driver.c [d836630:fafb8e5] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/drv/generic/driver.c
rd836630 rfafb8e5 119 119 static void driver_dev_add(ipc_call_t *icall) 120 120 { 121 devman_handle_t dev_handle = IPC_GET_ARG1(*icall);122 devman_handle_t parent_fun_handle = IPC_GET_ARG2(*icall);121 devman_handle_t dev_handle = ipc_get_arg1(icall); 122 devman_handle_t parent_fun_handle = ipc_get_arg2(icall); 123 123 124 124 char *dev_name = NULL; … … 173 173 static void driver_dev_remove(ipc_call_t *icall) 174 174 { 175 devman_handle_t devh = IPC_GET_ARG1(*icall);175 devman_handle_t devh = ipc_get_arg1(icall); 176 176 177 177 fibril_mutex_lock(&devices_mutex); … … 206 206 static void driver_dev_gone(ipc_call_t *icall) 207 207 { 208 devman_handle_t devh = IPC_GET_ARG1(*icall);208 devman_handle_t devh = ipc_get_arg1(icall); 209 209 210 210 fibril_mutex_lock(&devices_mutex); … … 239 239 static void driver_fun_online(ipc_call_t *icall) 240 240 { 241 devman_handle_t funh = IPC_GET_ARG1(*icall);241 devman_handle_t funh = ipc_get_arg1(icall); 242 242 243 243 /* … … 274 274 static void driver_fun_offline(ipc_call_t *icall) 275 275 { 276 devman_handle_t funh = IPC_GET_ARG1(*icall);276 devman_handle_t funh = ipc_get_arg1(icall); 277 277 278 278 /* … … 343 343 async_get_call(&call); 344 344 345 if (! IPC_GET_IMETHOD(call)) {345 if (!ipc_get_imethod(&call)) { 346 346 async_answer_0(&call, EOK); 347 347 break; 348 348 } 349 349 350 switch ( IPC_GET_IMETHOD(call)) {350 switch (ipc_get_imethod(&call)) { 351 351 case DRIVER_DEV_ADD: 352 352 driver_dev_add(&call); … … 385 385 * the device to which the client connected. 386 386 */ 387 devman_handle_t handle = IPC_GET_ARG2(*icall);387 devman_handle_t handle = ipc_get_arg2(icall); 388 388 389 389 fibril_mutex_lock(&functions_mutex); … … 429 429 async_get_call(&call); 430 430 431 sysarg_t method = IPC_GET_IMETHOD(call);431 sysarg_t method = ipc_get_imethod(&call); 432 432 433 433 if (!method) { … … 483 483 484 484 /* get the method of the remote interface */ 485 sysarg_t iface_method_idx = IPC_GET_ARG1(call);485 sysarg_t iface_method_idx = ipc_get_arg1(&call); 486 486 remote_iface_func_ptr_t iface_method_ptr = 487 487 get_remote_method(rem_iface, iface_method_idx);
Note:
See TracChangeset
for help on using the changeset viewer.