Changeset b74959bd in mainline for uspace/srv/console/console.c
- Timestamp:
- 2007-11-20T21:33:32Z (17 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 8498915
- Parents:
- 3209923
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/console/console.c
r3209923 rb74959bd 278 278 for (j = 0; j < conn->screenbuffer.size_y; j++) 279 279 for (i = 0; i < conn->screenbuffer.size_x; i++) { 280 field = get_field_at(&conn->screenbuffer, i, 281 j); 280 field = get_field_at(&conn->screenbuffer, i, j); 282 281 if (!style_same(*style, field->style)) 283 282 set_style(&field->style); … … 350 349 if (conn->keyrequest_counter > 0) { 351 350 conn->keyrequest_counter--; 352 ipc_answer_ fast(fifo_pop(conn->keyrequests), 0,353 c , 0);351 ipc_answer_1(fifo_pop(conn->keyrequests), EOK, 352 c); 354 353 break; 355 354 } … … 362 361 retval = ENOENT; 363 362 } 364 ipc_answer_ fast(callid, retval, 0, 0);363 ipc_answer_0(callid, retval); 365 364 } 366 365 } … … 376 375 377 376 if ((consnum = find_free_connection()) == -1) { 378 ipc_answer_ fast(iid, ELIMIT, 0, 0);377 ipc_answer_0(iid, ELIMIT); 379 378 return; 380 379 } … … 388 387 389 388 /* Accept the connection */ 390 ipc_answer_ fast(iid, 0, 0, 0);389 ipc_answer_0(iid, EOK); 391 390 392 391 while (1) { … … 404 403 while (conn->keyrequest_counter > 0) { 405 404 conn->keyrequest_counter--; 406 ipc_answer_ fast(fifo_pop(conn->keyrequests),407 ENOENT , 0, 0);405 ipc_answer_0(fifo_pop(conn->keyrequests), 406 ENOENT); 408 407 break; 409 408 } … … 465 464 * requests => fail. 466 465 */ 467 ipc_answer_ fast(callid, ELIMIT, 0, 0);466 ipc_answer_0(callid, ELIMIT); 468 467 } 469 468 continue; … … 472 471 break; 473 472 } 474 ipc_answer_ fast(callid, 0, arg1, arg2);473 ipc_answer_2(callid, EOK, arg1, arg2); 475 474 } 476 475 }
Note:
See TracChangeset
for help on using the changeset viewer.