Changeset cd50486 in mainline for uspace/srv/hid/fb/ega.c
- Timestamp:
- 2011-02-06T22:03:55Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 25971d2
- Parents:
- 1110ebd (diff), 960ff451 (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/ega.c
r1110ebd rcd50486 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.