Changeset 17aca1c in mainline for uspace/srv/hid/fb/serial_console.c
- Timestamp:
- 2011-02-04T20:56:52Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 0397e5a4, e29e09cf
- Parents:
- e778543 (diff), 0b37882 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/hid/fb/serial_console.c
re778543 r17aca1c 39 39 40 40 #include <stdio.h> 41 #include <ipc/ipc.h>42 41 #include <async.h> 43 42 #include <ipc/fb.h> … … 319 318 320 319 if (client_connected) { 321 ipc_answer_0(iid, ELIMIT);320 async_answer_0(iid, ELIMIT); 322 321 return; 323 322 } 324 323 325 324 client_connected = 1; 326 ipc_answer_0(iid, EOK);325 async_answer_0(iid, EOK); 327 326 328 327 /* Clear the terminal, set scrolling region … … 348 347 case IPC_M_PHONE_HUNGUP: 349 348 client_connected = 0; 350 ipc_answer_0(callid, EOK);349 async_answer_0(callid, EOK); 351 350 352 351 /* Exit thread */ … … 407 406 break; 408 407 case FB_GET_CSIZE: 409 ipc_answer_2(callid, EOK, scr_width, scr_height);408 async_answer_2(callid, EOK, scr_width, scr_height); 410 409 continue; 411 410 case FB_GET_COLOR_CAP: 412 ipc_answer_1(callid, EOK, color ? FB_CCAP_INDEXED :411 async_answer_1(callid, EOK, color ? FB_CCAP_INDEXED : 413 412 FB_CCAP_STYLE); 414 413 continue; … … 478 477 retval = ENOENT; 479 478 } 480 ipc_answer_0(callid, retval);479 async_answer_0(callid, retval); 481 480 } 482 481 }
Note:
See TracChangeset
for help on using the changeset viewer.