Changes in uspace/srv/hid/fb/fb.c [228e490:ffa2c8ef] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/hid/fb/fb.c
r228e490 rffa2c8ef 47 47 #include <as.h> 48 48 #include <ipc/fb.h> 49 #include <ipc/ipc.h>50 49 #include <ipc/ns.h> 51 50 #include <ipc/services.h> … … 1089 1088 void *dest = as_get_mappable_page(IPC_GET_ARG2(*call)); 1090 1089 shm_size = IPC_GET_ARG2(*call); 1091 if ( ipc_answer_1(callid, EOK, (sysarg_t) dest)) {1090 if (async_answer_1(callid, EOK, (sysarg_t) dest)) { 1092 1091 shm_id = 0; 1093 1092 return false; … … 1166 1165 1167 1166 if (handled) 1168 ipc_answer_0(callid, retval);1167 async_answer_0(callid, retval); 1169 1168 return handled; 1170 1169 } … … 1445 1444 } 1446 1445 if (handled) 1447 ipc_answer_0(callid, retval);1446 async_answer_0(callid, retval); 1448 1447 return handled; 1449 1448 } … … 1498 1497 1499 1498 if (handled) 1500 ipc_answer_0(callid, retval);1499 async_answer_0(callid, retval); 1501 1500 return handled; 1502 1501 … … 1582 1581 1583 1582 if (client_connected) { 1584 ipc_answer_0(iid, ELIMIT);1583 async_answer_0(iid, ELIMIT); 1585 1584 return; 1586 1585 } … … 1588 1587 /* Accept connection */ 1589 1588 client_connected = true; 1590 ipc_answer_0(iid, EOK);1589 async_answer_0(iid, EOK); 1591 1590 1592 1591 while (true) { … … 1641 1640 break; 1642 1641 } 1643 ipc_answer_0(callid, EOK);1642 async_answer_0(callid, EOK); 1644 1643 1645 1644 draw_char(vport, ch, col, row); … … 1674 1673 break; 1675 1674 case FB_GET_CSIZE: 1676 ipc_answer_2(callid, EOK, vport->cols, vport->rows);1675 async_answer_2(callid, EOK, vport->cols, vport->rows); 1677 1676 continue; 1678 1677 case FB_GET_COLOR_CAP: 1679 ipc_answer_1(callid, EOK, FB_CCAP_RGB);1678 async_answer_1(callid, EOK, FB_CCAP_RGB); 1680 1679 continue; 1681 1680 case FB_SCROLL: … … 1742 1741 break; 1743 1742 case FB_GET_RESOLUTION: 1744 ipc_answer_2(callid, EOK, screen.xres, screen.yres);1743 async_answer_2(callid, EOK, screen.xres, screen.yres); 1745 1744 continue; 1746 1745 case FB_POINTER_MOVE: … … 1756 1755 retval = ENOENT; 1757 1756 } 1758 ipc_answer_0(callid, retval);1757 async_answer_0(callid, retval); 1759 1758 } 1760 1759 }
Note:
See TracChangeset
for help on using the changeset viewer.