/trunk/uspace/srv/kbd/generic/kbd.c |
---|
108,7 → 108,7 |
retval = ELIMIT; |
break; |
} |
phone2cons = IPC_GET_ARG3(call); |
phone2cons = IPC_GET_ARG5(call); |
retval = 0; |
break; |
default: |
133,7 → 133,7 |
async_set_client_connection(console_connection); |
async_set_interrupt_received(irq_handler); |
/* Register service at nameserver */ |
if (ipc_connect_to_me(PHONE_NS, SERVICE_KEYBOARD, 0, &phonead) != 0) |
if (ipc_connect_to_me(PHONE_NS, SERVICE_KEYBOARD, 0, 0, &phonead) != 0) |
return -1; |
async_manager(); |
/trunk/uspace/srv/ns/ns.c |
---|
139,7 → 139,7 |
* Server requests service registration. |
*/ |
retval = register_service(IPC_GET_ARG1(call), |
IPC_GET_ARG3(call), &call); |
IPC_GET_ARG5(call), &call); |
break; |
case IPC_M_CONNECT_ME_TO: |
/* |
/trunk/uspace/srv/console/console.c |
---|
381,7 → 381,7 |
async_serialize_start(); |
gcons_notify_connect(consnum); |
conn->client_phone = IPC_GET_ARG3(call); |
conn->client_phone = IPC_GET_ARG5(*icall); |
screenbuffer_clear(&conn->screenbuffer); |
/* Accept the connection */ |
488,7 → 488,7 |
kbd_phone = ipc_connect_me_to(PHONE_NS, SERVICE_KEYBOARD, 0, 0); |
} |
if (ipc_connect_to_me(kbd_phone, SERVICE_CONSOLE, 0, &phonehash) != 0) |
if (ipc_connect_to_me(kbd_phone, SERVICE_CONSOLE, 0, 0, &phonehash) != 0) |
return -1; |
async_new_connection(phonehash, 0, NULL, keyboard_events); |
550,7 → 550,7 |
connections[active_console].screenbuffer.is_cursor_visible); |
/* Register at NS */ |
if (ipc_connect_to_me(PHONE_NS, SERVICE_CONSOLE, 0, &phonehash) != 0) { |
if (ipc_connect_to_me(PHONE_NS, SERVICE_CONSOLE, 0, 0, &phonehash) != 0) { |
return -1; |
} |
/trunk/uspace/srv/rd/rd.c |
---|
211,7 → 211,7 |
async_set_client_connection(rd_connection); |
/* Register service at nameserver */ |
if (ipc_connect_to_me(PHONE_NS, SERVICE_RD, 0, &phonead) != 0) |
if (ipc_connect_to_me(PHONE_NS, SERVICE_RD, 0, 0, &phonead) != 0) |
return -1; |
async_manager(); |
/trunk/uspace/srv/fb/main.c |
---|
72,7 → 72,7 |
if (!initialized) |
sysio_init(); |
if (ipc_connect_to_me(PHONE_NS, SERVICE_VIDEO, 0, &phonead) != 0) |
if (ipc_connect_to_me(PHONE_NS, SERVICE_VIDEO, 0, 0, &phonead) != 0) |
return -1; |
async_manager(); |
/trunk/uspace/srv/fs/fat/fat.c |
---|
153,7 → 153,7 |
* Ask VFS for callback connection. |
*/ |
ipcarg_t phonehash; |
ipc_connect_to_me(vfs_phone, 0, 0, &phonehash); |
ipc_connect_to_me(vfs_phone, 0, 0, 0, &phonehash); |
/* |
* Allocate piece of address space for PLB. |
/trunk/uspace/srv/pci/pci.c |
---|
57,7 → 57,7 |
} |
printf("%s: registering at naming service.\n", NAME); |
if (ipc_connect_to_me(PHONE_NS, SERVICE_PCI, 0, &ns_in_phone_hash) != 0) { |
if (ipc_connect_to_me(PHONE_NS, SERVICE_PCI, 0, 0, &ns_in_phone_hash) != 0) { |
printf("Failed to register %s at naming service.\n", NAME); |
return -1; |
} |
/trunk/uspace/srv/devmap/devmap.c |
---|
269,7 → 269,7 |
return; |
} |
driver->phone = IPC_GET_ARG3(call); |
driver->phone = IPC_GET_ARG5(call); |
ipc_answer_0(callid, EOK); |
735,7 → 735,7 |
async_set_client_connection(devmap_connection); |
/* Register device mapper at naming service */ |
if (ipc_connect_to_me(PHONE_NS, SERVICE_DEVMAP, 0, &phonead) != 0) |
if (ipc_connect_to_me(PHONE_NS, SERVICE_DEVMAP, 0, 0, &phonead) != 0) |
return -1; |
async_manager(); |
/trunk/uspace/srv/vfs/vfs.c |
---|
157,7 → 157,7 |
/* |
* Register at the naming service. |
*/ |
ipc_connect_to_me(PHONE_NS, SERVICE_VFS, 0, &phonead); |
ipc_connect_to_me(PHONE_NS, SERVICE_VFS, 0, 0, &phonead); |
/* |
* Start accepting connections. |
/trunk/uspace/srv/vfs/vfs_register.c |
---|
252,7 → 252,7 |
ipc_answer_0(rid, EINVAL); |
return; |
} |
fs_info->phone = IPC_GET_ARG3(call); |
fs_info->phone = IPC_GET_ARG5(call); |
ipc_answer_0(callid, EOK); |
dprintf("Callback connection to FS created.\n"); |