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