Changeset 96b02eb9 in mainline for uspace/srv/devman/main.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/srv/devman/main.c

    r554debd r96b02eb9  
    184184 * @return              Zero on success, negative error code otherwise.
    185185 */
    186 static int devman_receive_match_ids(ipcarg_t match_count,
     186static int devman_receive_match_ids(sysarg_t match_count,
    187187    match_id_list_t *match_ids)
    188188{
     
    211211{
    212212        devman_handle_t parent_handle = IPC_GET_ARG1(*call);
    213         ipcarg_t match_count = IPC_GET_ARG2(*call);
     213        sysarg_t match_count = IPC_GET_ARG2(*call);
    214214        dev_tree_t *tree = &device_tree;
    215215       
     
    531531       
    532532        /* Select interface. */
    533         switch ((ipcarg_t) (IPC_GET_ARG1(*icall))) {
     533        switch ((sysarg_t) (IPC_GET_ARG1(*icall))) {
    534534        case DEVMAN_DRIVER:
    535535                devman_connection_driver(iid, icall);
     
    599599
    600600        /* Register device manager at naming service. */
    601         ipcarg_t phonead;
     601        sysarg_t phonead;
    602602        if (ipc_connect_to_me(PHONE_NS, SERVICE_DEVMAN, 0, 0, &phonead) != 0)
    603603                return -1;
Note: See TracChangeset for help on using the changeset viewer.