Changeset 17aca1c in mainline for uspace/srv/hid/fb/serial_console.c


Ignore:
Timestamp:
2011-02-04T20:56:52Z (14 years ago)
Author:
Vojtech Horky <vojtechhorky@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
0397e5a4, e29e09cf
Parents:
e778543 (diff), 0b37882 (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.
Message:

Merge mainline changes

File:
1 edited

Legend:

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

    re778543 r17aca1c  
    3939
    4040#include <stdio.h>
    41 #include <ipc/ipc.h>
    4241#include <async.h>
    4342#include <ipc/fb.h>
     
    319318       
    320319        if (client_connected) {
    321                 ipc_answer_0(iid, ELIMIT);
     320                async_answer_0(iid, ELIMIT);
    322321                return;
    323322        }
    324323       
    325324        client_connected = 1;
    326         ipc_answer_0(iid, EOK);
     325        async_answer_0(iid, EOK);
    327326       
    328327        /* Clear the terminal, set scrolling region
     
    348347                case IPC_M_PHONE_HUNGUP:
    349348                        client_connected = 0;
    350                         ipc_answer_0(callid, EOK);
     349                        async_answer_0(callid, EOK);
    351350                       
    352351                        /* Exit thread */
     
    407406                        break;
    408407                case FB_GET_CSIZE:
    409                         ipc_answer_2(callid, EOK, scr_width, scr_height);
     408                        async_answer_2(callid, EOK, scr_width, scr_height);
    410409                        continue;
    411410                case FB_GET_COLOR_CAP:
    412                         ipc_answer_1(callid, EOK, color ? FB_CCAP_INDEXED :
     411                        async_answer_1(callid, EOK, color ? FB_CCAP_INDEXED :
    413412                            FB_CCAP_STYLE);
    414413                        continue;
     
    478477                        retval = ENOENT;
    479478                }
    480                 ipc_answer_0(callid, retval);
     479                async_answer_0(callid, retval);
    481480        }
    482481}
Note: See TracChangeset for help on using the changeset viewer.