Changeset 124c061 in mainline for uspace/srv
- Timestamp:
- 2011-01-23T23:47:58Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 11bb813
- Parents:
- fdb9982c
- Location:
- uspace/srv
- Files:
-
- 18 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/clip/clip.c
rfdb9982c r124c061 183 183 async_set_client_connection(clip_connection); 184 184 185 sysarg_t phonead; 186 if (ipc_connect_to_me(PHONE_NS, SERVICE_CLIPBOARD, 0, 0, &phonead) != 0) 185 if (ipc_connect_to_me(PHONE_NS, SERVICE_CLIPBOARD, 0, 0, NULL, NULL)) 187 186 return -1; 188 187 -
uspace/srv/devman/main.c
rfdb9982c r124c061 586 586 587 587 /* Register device manager at naming service. */ 588 sysarg_t phonead; 589 if (ipc_connect_to_me(PHONE_NS, SERVICE_DEVMAN, 0, 0, &phonead) != 0) 588 if (ipc_connect_to_me(PHONE_NS, SERVICE_DEVMAN, 0, 0, NULL, NULL) != 0) 590 589 return -1; 591 590 -
uspace/srv/devmap/devmap.c
rfdb9982c r124c061 1150 1150 1151 1151 /* Register device mapper at naming service */ 1152 sysarg_t phonead; 1153 if (ipc_connect_to_me(PHONE_NS, SERVICE_DEVMAP, 0, 0, &phonead) != 0) 1152 if (ipc_connect_to_me(PHONE_NS, SERVICE_DEVMAP, 0, 0, NULL, NULL) != 0) 1154 1153 return -1; 1155 1154 -
uspace/srv/hid/adb_mouse/adb_dev.c
rfdb9982c r124c061 69 69 /* NB: The callback connection is slotted for removal */ 70 70 sysarg_t phonehash; 71 if (ipc_connect_to_me(dev_phone, 0, 0, 0, &phonehash) != 0) {71 if (ipc_connect_to_me(dev_phone, 0, 0, 0, NULL, &phonehash) != 0) { 72 72 printf(NAME ": Failed to create callback from device\n"); 73 73 return false; -
uspace/srv/hid/char_mouse/chardev.c
rfdb9982c r124c061 71 71 /* NB: The callback connection is slotted for removal */ 72 72 sysarg_t phonehash; 73 if (ipc_connect_to_me(dev_phone, 0, 0, 0, &phonehash) != 0) {73 if (ipc_connect_to_me(dev_phone, 0, 0, 0, NULL, &phonehash) != 0) { 74 74 printf(NAME ": Failed to create callback from device\n"); 75 75 return false; -
uspace/srv/hid/console/console.c
rfdb9982c r124c061 727 727 /* NB: The callback connection is slotted for removal */ 728 728 sysarg_t phonehash; 729 if (ipc_connect_to_me(kbd_phone, SERVICE_CONSOLE, 0, 0, &phonehash) != 0) { 729 if (ipc_connect_to_me(kbd_phone, SERVICE_CONSOLE, 0, 0, NULL, 730 &phonehash) != 0) { 730 731 printf(NAME ": Failed to create callback from input device\n"); 731 732 return false; … … 749 750 } 750 751 751 if (ipc_connect_to_me(mouse_phone, SERVICE_CONSOLE, 0, 0, &phonehash) != 0) { 752 if (ipc_connect_to_me(mouse_phone, SERVICE_CONSOLE, 0, 0, NULL, 753 &phonehash) != 0) { 752 754 printf(NAME ": Failed to create callback from mouse device\n"); 753 755 mouse_phone = -1; -
uspace/srv/hid/fb/main.c
rfdb9982c r124c061 114 114 return -1; 115 115 116 sysarg_t phonead; 117 if (ipc_connect_to_me(PHONE_NS, SERVICE_VIDEO, 0, 0, &phonead) != 0) 116 if (ipc_connect_to_me(PHONE_NS, SERVICE_VIDEO, 0, 0, NULL, NULL) != 0) 118 117 return -1; 119 118 -
uspace/srv/hid/kbd/port/adb.c
rfdb9982c r124c061 72 72 /* NB: The callback connection is slotted for removal */ 73 73 sysarg_t phonehash; 74 if (ipc_connect_to_me(dev_phone, 0, 0, 0, &phonehash) != 0) {74 if (ipc_connect_to_me(dev_phone, 0, 0, 0, NULL, &phonehash) != 0) { 75 75 printf(NAME ": Failed to create callback from device\n"); 76 76 return false; -
uspace/srv/hid/kbd/port/chardev.c
rfdb9982c r124c061 92 92 /* NB: The callback connection is slotted for removal */ 93 93 sysarg_t phonehash; 94 if (ipc_connect_to_me(dev_phone, 0, 0, 0, &phonehash) != 0) {94 if (ipc_connect_to_me(dev_phone, 0, 0, 0, NULL, &phonehash) != 0) { 95 95 printf(NAME ": Failed to create callback from device\n"); 96 96 return -1; -
uspace/srv/hw/irc/apic/apic.c
rfdb9982c r124c061 108 108 109 109 async_set_client_connection(apic_connection); 110 sysarg_t phonead; 111 ipc_connect_to_me(PHONE_NS, SERVICE_APIC, 0, 0, &phonead); 110 ipc_connect_to_me(PHONE_NS, SERVICE_APIC, 0, 0, NULL, NULL); 112 111 113 112 return true; -
uspace/srv/hw/irc/fhc/fhc.c
rfdb9982c r124c061 137 137 138 138 async_set_client_connection(fhc_connection); 139 sysarg_t phonead; 140 ipc_connect_to_me(PHONE_NS, SERVICE_FHC, 0, 0, &phonead); 139 ipc_connect_to_me(PHONE_NS, SERVICE_FHC, 0, 0, NULL, NULL); 141 140 142 141 return true; -
uspace/srv/hw/irc/i8259/i8259.c
rfdb9982c r124c061 150 150 151 151 async_set_client_connection(i8259_connection); 152 sysarg_t phonead; 153 ipc_connect_to_me(PHONE_NS, SERVICE_I8259, 0, 0, &phonead); 152 ipc_connect_to_me(PHONE_NS, SERVICE_I8259, 0, 0, NULL, NULL); 154 153 155 154 return true; -
uspace/srv/hw/irc/obio/obio.c
rfdb9982c r124c061 138 138 139 139 async_set_client_connection(obio_connection); 140 sysarg_t phonead; 141 ipc_connect_to_me(PHONE_NS, SERVICE_OBIO, 0, 0, &phonead); 140 ipc_connect_to_me(PHONE_NS, SERVICE_OBIO, 0, 0, NULL, NULL); 142 141 143 142 return true; -
uspace/srv/hw/netif/ne2000/ne2000.c
rfdb9982c r124c061 397 397 async_set_interrupt_received(irq_handler); 398 398 399 sysarg_t phonehash; 400 return ipc_connect_to_me(PHONE_NS, SERVICE_NE2000, 0, 0, &phonehash); 399 return ipc_connect_to_me(PHONE_NS, SERVICE_NE2000, 0, 0, NULL, NULL); 401 400 } 402 401 -
uspace/srv/loader/main.c
rfdb9982c r124c061 423 423 int main(int argc, char *argv[]) 424 424 { 425 sysarg_t phonead;426 425 task_id_t id; 427 426 int rc; … … 439 438 440 439 /* Register at naming service. */ 441 if (ipc_connect_to_me(PHONE_NS, SERVICE_LOAD, 0, 0, &phonead) != 0)440 if (ipc_connect_to_me(PHONE_NS, SERVICE_LOAD, 0, 0, NULL, NULL) != 0) 442 441 return -2; 443 442 -
uspace/srv/net/net/net.c
rfdb9982c r124c061 326 326 static int net_module_start(async_client_conn_t client_connection) 327 327 { 328 sysarg_t phonehash;329 328 int rc; 330 329 … … 338 337 goto out; 339 338 340 rc = ipc_connect_to_me(PHONE_NS, SERVICE_NETWORKING, 0, 0, &phonehash);339 rc = ipc_connect_to_me(PHONE_NS, SERVICE_NETWORKING, 0, 0, NULL, NULL); 341 340 if (rc != EOK) 342 341 goto out; -
uspace/srv/net/netif/lo/lo.c
rfdb9982c r124c061 167 167 int netif_initialize(void) 168 168 { 169 sysarg_t phonehash; 170 return ipc_connect_to_me(PHONE_NS, SERVICE_LO, 0, 0, &phonehash); 169 return ipc_connect_to_me(PHONE_NS, SERVICE_LO, 0, 0, NULL, NULL); 171 170 } 172 171 -
uspace/srv/vfs/vfs.c
rfdb9982c r124c061 173 173 * Register at the naming service. 174 174 */ 175 sysarg_t phonead; 176 ipc_connect_to_me(PHONE_NS, SERVICE_VFS, 0, 0, &phonead); 175 ipc_connect_to_me(PHONE_NS, SERVICE_VFS, 0, 0, NULL, NULL); 177 176 178 177 /*
Note:
See TracChangeset
for help on using the changeset viewer.