Changes in uspace/srv/hid/console/console.c [2f6ad06:593e023] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/hid/console/console.c
r2f6ad06 r593e023 49 49 #include <malloc.h> 50 50 #include <as.h> 51 #include <task.h>52 51 #include <fibril_synch.h> 53 52 #include "console.h" … … 509 508 510 509 for (size_t i = 0; i < CONSOLE_COUNT; i++) { 511 if (consoles[i].dsid == (service_id_t) IPC_GET_ARG 2(*icall)) {510 if (consoles[i].dsid == (service_id_t) IPC_GET_ARG1(*icall)) { 512 511 cons = &consoles[i]; 513 512 break; … … 537 536 } 538 537 539 sess = loc_service_connect( dsid, INTERFACE_INPUT, 0);538 sess = loc_service_connect(EXCHANGE_ATOMIC, dsid, 0); 540 539 if (sess == NULL) { 541 540 printf("%s: Unable to connect to input service %s\n", NAME, … … 562 561 int rc = loc_service_get_id(svc, &dsid, 0); 563 562 if (rc == EOK) { 564 sess = loc_service_connect( dsid, INTERFACE_OUTPUT, 0);563 sess = loc_service_connect(EXCHANGE_SERIALIZE, dsid, 0); 565 564 if (sess == NULL) { 566 565 printf("%s: Unable to connect to output service %s\n", … … 587 586 588 587 /* Register server */ 589 async_set_ fallback_port_handler(client_connection, NULL);588 async_set_client_connection(client_connection); 590 589 rc = loc_server_register(NAME); 591 590 if (rc != EOK) {
Note:
See TracChangeset
for help on using the changeset viewer.