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