Changes in uspace/lib/drv/generic/remote_nic.c [d5c1051:f9b2cb4c] in mainline
- File:
-
- 1 edited
-
uspace/lib/drv/generic/remote_nic.c (modified) (21 diffs)
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/drv/generic/remote_nic.c
rd5c1051 rf9b2cb4c 105 105 aid_t req = async_send_1(exch, DEV_IFACE_ID(NIC_DEV_IFACE), 106 106 NIC_SEND_MESSAGE, &answer); 107 int retval = async_data_write_start(exch, data, size);107 sysarg_t retval = async_data_write_start(exch, data, size); 108 108 109 109 async_exchange_end(exch); … … 131 131 ipc_call_t answer; 132 132 int rc; 133 int retval;133 sysarg_t retval; 134 134 135 135 async_exch_t *exch = async_exchange_begin(dev_sess); … … 147 147 148 148 async_wait_for(req, &retval); 149 return retval;149 return (int) retval; 150 150 } 151 151 … … 210 210 async_exchange_end(exch); 211 211 212 int res;212 sysarg_t res; 213 213 async_wait_for(aid, &res); 214 214 … … 216 216 return rc; 217 217 218 return res;218 return (int) res; 219 219 } 220 220 … … 237 237 async_exchange_end(exch); 238 238 239 int res;239 sysarg_t res; 240 240 async_wait_for(aid, &res); 241 241 … … 243 243 return rc; 244 244 245 return res;245 return (int) res; 246 246 } 247 247 … … 295 295 async_exchange_end(exch); 296 296 297 int res;297 sysarg_t res; 298 298 async_wait_for(aid, &res); 299 299 … … 301 301 return rc; 302 302 303 return res;303 return (int) res; 304 304 } 305 305 … … 629 629 async_exchange_end(exch); 630 630 631 int res;631 sysarg_t res; 632 632 async_wait_for(message_id, &res); 633 633 … … 635 635 return rc; 636 636 637 return res;637 return (int) res; 638 638 } 639 639 … … 717 717 async_exchange_end(exch); 718 718 719 int res;719 sysarg_t res; 720 720 async_wait_for(message_id, &res); 721 721 … … 723 723 return rc; 724 724 725 return res;725 return (int) res; 726 726 } 727 727 … … 878 878 async_exchange_end(exch); 879 879 880 int res;880 sysarg_t res; 881 881 async_wait_for(message_id, &res); 882 882 … … 884 884 return rc; 885 885 886 return res;886 return (int) res; 887 887 } 888 888 … … 938 938 async_exchange_end(exch); 939 939 940 int res;940 sysarg_t res; 941 941 async_wait_for(message_id, &res); 942 942 … … 944 944 return rc; 945 945 946 return res;946 return (int) res; 947 947 } 948 948 … … 997 997 NIC_WOL_VIRTUE_ADD, (sysarg_t) type, send_data, &result); 998 998 999 int res;999 sysarg_t res; 1000 1000 if (send_data) { 1001 1001 int rc = async_data_write_start(exch, data, length); … … 1011 1011 1012 1012 *id = IPC_GET_ARG1(result); 1013 return res;1013 return (int) res; 1014 1014 } 1015 1015 … … 1311 1311 async_exchange_end(exch); 1312 1312 1313 int res;1313 sysarg_t res; 1314 1314 async_wait_for(message_id, &res); 1315 1315 … … 1317 1317 return rc; 1318 1318 1319 return res;1319 return (int) res; 1320 1320 } 1321 1321
Note:
See TracChangeset
for help on using the changeset viewer.
