Changeset 228e490 in mainline for uspace/srv/loader/main.c


Ignore:
Timestamp:
2010-12-14T17:00:02Z (14 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
a9b6bec, eb221e5
Parents:
dd8d5a7
Message:

initial modifications for supporting declarative IPC interfaces

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/loader/main.c

    rdd8d5a7 r228e490  
    383383                callid = async_get_call(&call);
    384384               
    385                 switch (IPC_GET_METHOD(call)) {
     385                switch (IPC_GET_IMETHOD(call)) {
    386386                case IPC_M_PHONE_HUNGUP:
    387387                        exit(0);
     
    411411                        break;
    412412                }
    413                 if (IPC_GET_METHOD(call) != IPC_M_PHONE_HUNGUP) {
     413                if (IPC_GET_IMETHOD(call) != IPC_M_PHONE_HUNGUP) {
    414414                        DPRINTF("Responding EINVAL to method %d.\n",
    415                             IPC_GET_METHOD(call));
     415                            IPC_GET_IMETHOD(call));
    416416                        ipc_answer_0(callid, EINVAL);
    417417                }
Note: See TracChangeset for help on using the changeset viewer.