Changeset 6a44ee4 in mainline for uspace/srv/hid/fb/ega.c


Ignore:
Timestamp:
2011-07-20T15:26:21Z (13 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
efcebe1
Parents:
25bef0ff (diff), a701812 (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/ega.c

    r25bef0ff r6a44ee4  
    5252#include <io/screenbuffer.h>
    5353#include <sys/types.h>
    54 
    5554#include "ega.h"
    5655#include "main.h"
     56
     57// FIXME: remove this header
     58#include <kernel/ipc/ipc_methods.h>
    5759
    5860#define MAX_SAVED_SCREENS  256
     
    254256}
    255257
    256 static void ega_client_connection(ipc_callid_t iid, ipc_call_t *icall)
     258static void ega_client_connection(ipc_callid_t iid, ipc_call_t *icall,
     259    void *arg)
    257260{
    258261        size_t intersize = 0;
     
    291294                int retval;
    292295               
    293                 switch (IPC_GET_IMETHOD(call)) {
    294                 case IPC_M_PHONE_HUNGUP:
     296                if (!IPC_GET_IMETHOD(call)) {
    295297                        client_connected = 0;
    296298                        async_answer_0(callid, EOK);
     
    298300                        /* Exit thread */
    299301                        return;
     302                }
     303               
     304                switch (IPC_GET_IMETHOD(call)) {
    300305                case IPC_M_SHARE_OUT:
    301306                        /* We accept one area for data interchange */
Note: See TracChangeset for help on using the changeset viewer.