Changes in uspace/lib/net/generic/generic.c [1bfd3d3:96b02eb9] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/net/generic/generic.c
r1bfd3d3 r96b02eb9 59 59 int state, services_t target) 60 60 { 61 async_msg_3(phone, ( ipcarg_t) message, (ipcarg_t) device_id,62 ( ipcarg_t) state, target);61 async_msg_3(phone, (sysarg_t) message, (sysarg_t) device_id, 62 (sysarg_t) state, target); 63 63 64 64 return EOK; … … 81 81 int arg2, services_t service) 82 82 { 83 return (int) async_req_3_0(phone, ( ipcarg_t) message,84 ( ipcarg_t) device_id, (ipcarg_t) arg2, (ipcarg_t) service);83 return (int) async_req_3_0(phone, (sysarg_t) message, 84 (sysarg_t) device_id, (sysarg_t) arg2, (sysarg_t) service); 85 85 } 86 86 … … 103 103 { 104 104 aid_t message_id; 105 ipcarg_t result;105 sysarg_t result; 106 106 int string; 107 107 … … 110 110 111 111 // request the address 112 message_id = async_send_1(phone, ( ipcarg_t) message,113 ( ipcarg_t) device_id, NULL);112 message_id = async_send_1(phone, (sysarg_t) message, 113 (sysarg_t) device_id, NULL); 114 114 string = measured_strings_return(phone, address, data, 1); 115 115 async_wait_for(message_id, &result); … … 143 143 return EBADMEM; 144 144 145 ipcarg_t addr_len;146 ipcarg_t prefix;147 ipcarg_t content;148 ipcarg_t suffix;149 150 ipcarg_t result = async_req_1_4(phone, (ipcarg_t) message,151 ( ipcarg_t) device_id, &addr_len, &prefix, &content, &suffix);145 sysarg_t addr_len; 146 sysarg_t prefix; 147 sysarg_t content; 148 sysarg_t suffix; 149 150 sysarg_t result = async_req_1_4(phone, (sysarg_t) message, 151 (sysarg_t) device_id, &addr_len, &prefix, &content, &suffix); 152 152 153 153 packet_dimension->prefix = (size_t) prefix; … … 175 175 { 176 176 if (error) { 177 async_msg_4(phone, ( ipcarg_t) message, (ipcarg_t) device_id,178 ( ipcarg_t) packet_id, (ipcarg_t) target, (ipcarg_t) error);177 async_msg_4(phone, (sysarg_t) message, (sysarg_t) device_id, 178 (sysarg_t) packet_id, (sysarg_t) target, (sysarg_t) error); 179 179 } else { 180 async_msg_3(phone, ( ipcarg_t) message, (ipcarg_t) device_id,181 ( ipcarg_t) packet_id, (ipcarg_t) target);180 async_msg_3(phone, (sysarg_t) message, (sysarg_t) device_id, 181 (sysarg_t) packet_id, (sysarg_t) target); 182 182 } 183 183 … … 201 201 { 202 202 if (error) { 203 async_msg_4(phone, ( ipcarg_t) message, (ipcarg_t) device_id,204 ( ipcarg_t) packet_id, (ipcarg_t) sender, (ipcarg_t) error);203 async_msg_4(phone, (sysarg_t) message, (sysarg_t) device_id, 204 (sysarg_t) packet_id, (sysarg_t) sender, (sysarg_t) error); 205 205 } else { 206 async_msg_3(phone, ( ipcarg_t) message, (ipcarg_t) device_id,207 ( ipcarg_t) packet_id, (ipcarg_t) sender);206 async_msg_3(phone, (sysarg_t) message, (sysarg_t) device_id, 207 (sysarg_t) packet_id, (sysarg_t) sender); 208 208 } 209 209 … … 237 237 { 238 238 aid_t message_id; 239 ipcarg_t result;239 sysarg_t result; 240 240 int string; 241 241 … … 246 246 247 247 // request the translation 248 message_id = async_send_3(phone, ( ipcarg_t) message,249 ( ipcarg_t) device_id, (ipcarg_t) count, (ipcarg_t) service, NULL);248 message_id = async_send_3(phone, (sysarg_t) message, 249 (sysarg_t) device_id, (sysarg_t) count, (sysarg_t) service, NULL); 250 250 measured_strings_send(phone, configuration, count); 251 251 string = measured_strings_return(phone, translation, data, count);
Note:
See TracChangeset
for help on using the changeset viewer.