Changeset 228e490 in mainline for uspace/lib/drv/generic/driver.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/lib/drv/generic/driver.c

    rdd8d5a7 r228e490  
    8181static void driver_irq_handler(ipc_callid_t iid, ipc_call_t *icall)
    8282{
    83         int id = (int)IPC_GET_METHOD(*icall);
     83        int id = (int)IPC_GET_IMETHOD(*icall);
    8484        interrupt_context_t *ctx;
    8585       
     
    200200                ipc_callid_t callid = async_get_call(&call);
    201201
    202                 switch (IPC_GET_METHOD(call)) {
     202                switch (IPC_GET_IMETHOD(call)) {
    203203                case IPC_M_PHONE_HUNGUP:
    204204                        cont = false;
     
    254254                ipc_call_t call;
    255255                callid = async_get_call(&call);
    256                 sysarg_t method = IPC_GET_METHOD(call);
     256                sysarg_t method = IPC_GET_IMETHOD(call);
    257257                int iface_idx;
    258258               
Note: See TracChangeset for help on using the changeset viewer.