Changeset 41811af in mainline for uspace/lib/net/generic/generic.c
- Timestamp:
- 2011-06-10T10:14:26Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- ab547063
- Parents:
- 9536e6e (diff), 390d80d (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/net/generic/generic.c
r9536e6e r41811af 37 37 #include <generic.h> 38 38 #include <async.h> 39 #include <async_obsolete.h> 39 40 #include <ipc/services.h> 40 41 #include <net/device.h> … … 56 57 int state, services_t target) 57 58 { 58 async_ msg_3(phone, (sysarg_t) message, (sysarg_t) device_id,59 async_obsolete_msg_3(phone, (sysarg_t) message, (sysarg_t) device_id, 59 60 (sysarg_t) state, target); 60 61 … … 78 79 int arg2, services_t service) 79 80 { 80 return (int) async_ req_3_0(phone, (sysarg_t) message,81 return (int) async_obsolete_req_3_0(phone, (sysarg_t) message, 81 82 (sysarg_t) device_id, (sysarg_t) arg2, (sysarg_t) service); 82 83 } … … 107 108 108 109 /* Request the address */ 109 message_id = async_ send_1(phone, (sysarg_t) message,110 message_id = async_obsolete_send_1(phone, (sysarg_t) message, 110 111 (sysarg_t) device_id, NULL); 111 112 string = measured_strings_return(phone, address, data, 1); … … 145 146 sysarg_t suffix; 146 147 147 sysarg_t result = async_ req_1_4(phone, (sysarg_t) message,148 sysarg_t result = async_obsolete_req_1_4(phone, (sysarg_t) message, 148 149 (sysarg_t) device_id, &addr_len, &prefix, &content, &suffix); 149 150 … … 172 173 { 173 174 if (error) { 174 async_ msg_4(phone, (sysarg_t) message, (sysarg_t) device_id,175 async_obsolete_msg_4(phone, (sysarg_t) message, (sysarg_t) device_id, 175 176 (sysarg_t) packet_id, (sysarg_t) target, (sysarg_t) error); 176 177 } else { 177 async_ msg_3(phone, (sysarg_t) message, (sysarg_t) device_id,178 async_obsolete_msg_3(phone, (sysarg_t) message, (sysarg_t) device_id, 178 179 (sysarg_t) packet_id, (sysarg_t) target); 179 180 } … … 198 199 { 199 200 if (error) { 200 async_ msg_4(phone, (sysarg_t) message, (sysarg_t) device_id,201 async_obsolete_msg_4(phone, (sysarg_t) message, (sysarg_t) device_id, 201 202 (sysarg_t) packet_id, (sysarg_t) sender, (sysarg_t) error); 202 203 } else { 203 async_ msg_3(phone, (sysarg_t) message, (sysarg_t) device_id,204 async_obsolete_msg_3(phone, (sysarg_t) message, (sysarg_t) device_id, 204 205 (sysarg_t) packet_id, (sysarg_t) sender); 205 206 } … … 243 244 244 245 /* Request the translation */ 245 message_id = async_ send_3(phone, (sysarg_t) message,246 message_id = async_obsolete_send_3(phone, (sysarg_t) message, 246 247 (sysarg_t) device_id, (sysarg_t) count, (sysarg_t) service, NULL); 247 248 measured_strings_send(phone, configuration, count);
Note:
See TracChangeset
for help on using the changeset viewer.