Changes in uspace/srv/hid/fb/ega.c [228e490:ffa2c8ef] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/hid/fb/ega.c
r228e490 rffa2c8ef 39 39 #include <align.h> 40 40 #include <async.h> 41 #include <ipc/ipc.h>42 41 #include <errno.h> 43 42 #include <stdio.h> … … 46 45 #include <as.h> 47 46 #include <ipc/fb.h> 48 #include <ipc/ipc.h>49 47 #include <ipc/ns.h> 50 48 #include <ipc/services.h> … … 262 260 263 261 if (client_connected) { 264 ipc_answer_0(iid, ELIMIT);262 async_answer_0(iid, ELIMIT); 265 263 return; 266 264 } … … 268 266 /* Accept connection */ 269 267 client_connected = 1; 270 ipc_answer_0(iid, EOK);268 async_answer_0(iid, EOK); 271 269 272 270 while (true) { … … 296 294 case IPC_M_PHONE_HUNGUP: 297 295 client_connected = 0; 298 ipc_answer_0(callid, EOK);296 async_answer_0(callid, EOK); 299 297 300 298 /* Exit thread */ … … 332 330 break; 333 331 case FB_GET_CSIZE: 334 ipc_answer_2(callid, EOK, scr_width, scr_height);332 async_answer_2(callid, EOK, scr_width, scr_height); 335 333 continue; 336 334 case FB_GET_COLOR_CAP: 337 ipc_answer_1(callid, EOK, FB_CCAP_INDEXED);335 async_answer_1(callid, EOK, FB_CCAP_INDEXED); 338 336 continue; 339 337 case FB_CLEAR: … … 440 438 retval = EINVAL; 441 439 } 442 ipc_answer_0(callid, retval);440 async_answer_0(callid, retval); 443 441 } 444 442 }
Note:
See TracChangeset
for help on using the changeset viewer.