Changeset 96b02eb9 in mainline for uspace/lib/drv/generic/driver.c


Ignore:
Timestamp:
2010-12-14T12:52:38Z (13 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
6b10dab
Parents:
554debd
Message:

more unification of basic types

  • use sysarg_t and native_t (unsigned and signed variant) in both kernel and uspace
  • remove ipcarg_t in favour of sysarg_t

(no change in functionality)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/drv/generic/driver.c

    r554debd r96b02eb9  
    254254                ipc_call_t call;
    255255                callid = async_get_call(&call);
    256                 ipcarg_t method = IPC_GET_METHOD(call);
     256                sysarg_t method = IPC_GET_METHOD(call);
    257257                int iface_idx;
    258258               
     
    308308
    309309                        /* get the method of the remote interface */
    310                         ipcarg_t iface_method_idx = IPC_GET_ARG1(call);
     310                        sysarg_t iface_method_idx = IPC_GET_ARG1(call);
    311311                        remote_iface_func_ptr_t iface_method_ptr =
    312312                            get_remote_method(rem_iface, iface_method_idx);
     
    346346{
    347347        /* Select interface */
    348         switch ((ipcarg_t) (IPC_GET_ARG1(*icall))) {
     348        switch ((sysarg_t) (IPC_GET_ARG1(*icall))) {
    349349        case DRIVER_DEVMAN:
    350350                /* handle PnP events from device manager */
Note: See TracChangeset for help on using the changeset viewer.