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