Changeset 38c706cc in mainline for uspace/srv/console/console.c


Ignore:
Timestamp:
2007-12-04T19:54:53Z (17 years ago)
Author:
Josef Cejka <malyzelenyhnus@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
6364d3c
Parents:
90c35436
Message:

Extended IPC_M_CONNECT_TO_ME to use 3 user defined parameters.
Phone identifier is passed in ARG5.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/console/console.c

    r90c35436 r38c706cc  
    382382        async_serialize_start();
    383383        gcons_notify_connect(consnum);
    384         conn->client_phone = IPC_GET_ARG3(call);
     384        conn->client_phone = IPC_GET_ARG5(*icall);
    385385        screenbuffer_clear(&conn->screenbuffer);
    386386       
     
    489489        }
    490490       
    491         if (ipc_connect_to_me(kbd_phone, SERVICE_CONSOLE, 0, &phonehash) != 0)
     491        if (ipc_connect_to_me(kbd_phone, SERVICE_CONSOLE, 0, 0, &phonehash) != 0)
    492492                return -1;
    493493        async_new_connection(phonehash, 0, NULL, keyboard_events);
     
    551551
    552552        /* Register at NS */
    553         if (ipc_connect_to_me(PHONE_NS, SERVICE_CONSOLE, 0, &phonehash) != 0) {
     553        if (ipc_connect_to_me(PHONE_NS, SERVICE_CONSOLE, 0, 0, &phonehash) != 0) {
    554554                return -1;
    555555        }
Note: See TracChangeset for help on using the changeset viewer.