Changeset 4f14e1f8 in mainline for uspace/srv/hid/fb/serial_console.c


Ignore:
Timestamp:
2011-01-29T12:04:43Z (13 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
0b6931a
Parents:
8add9ca5
Message:

do not intermix low-level IPC methods with async framework methods

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/hid/fb/serial_console.c

    r8add9ca5 r4f14e1f8  
    318318       
    319319        if (client_connected) {
    320                 ipc_answer_0(iid, ELIMIT);
     320                async_answer_0(iid, ELIMIT);
    321321                return;
    322322        }
    323323       
    324324        client_connected = 1;
    325         ipc_answer_0(iid, EOK);
     325        async_answer_0(iid, EOK);
    326326       
    327327        /* Clear the terminal, set scrolling region
     
    347347                case IPC_M_PHONE_HUNGUP:
    348348                        client_connected = 0;
    349                         ipc_answer_0(callid, EOK);
     349                        async_answer_0(callid, EOK);
    350350                       
    351351                        /* Exit thread */
     
    406406                        break;
    407407                case FB_GET_CSIZE:
    408                         ipc_answer_2(callid, EOK, scr_width, scr_height);
     408                        async_answer_2(callid, EOK, scr_width, scr_height);
    409409                        continue;
    410410                case FB_GET_COLOR_CAP:
    411                         ipc_answer_1(callid, EOK, color ? FB_CCAP_INDEXED :
     411                        async_answer_1(callid, EOK, color ? FB_CCAP_INDEXED :
    412412                            FB_CCAP_STYLE);
    413413                        continue;
     
    477477                        retval = ENOENT;
    478478                }
    479                 ipc_answer_0(callid, retval);
     479                async_answer_0(callid, retval);
    480480        }
    481481}
Note: See TracChangeset for help on using the changeset viewer.