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


Ignore:
Timestamp:
2010-12-14T12:52:38Z (14 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/c/generic/devman.c

    r554debd r96b02eb9  
    9595        aid_t req = async_send_2(phone, DEVMAN_DRIVER_REGISTER, 0, 0, &answer);
    9696       
    97         ipcarg_t retval = async_data_write_start(phone, name, str_size(name));
     97        sysarg_t retval = async_data_write_start(phone, name, str_size(name));
    9898        if (retval != EOK) {
    9999                async_wait_for(req, NULL);
     
    104104        async_set_client_connection(conn);
    105105       
    106         ipcarg_t callback_phonehash;
     106        sysarg_t callback_phonehash;
    107107        ipc_connect_to_me(phone, 0, 0, 0, &callback_phonehash);
    108108        async_wait_for(req, &retval);
     
    155155        aid_t req = async_send_2(phone, DEVMAN_ADD_CHILD_DEVICE, parent_handle, match_count, &answer);
    156156
    157         ipcarg_t retval = async_data_write_start(phone, name, str_size(name));
     157        sysarg_t retval = async_data_write_start(phone, name, str_size(name));
    158158        if (retval != EOK) {
    159159                async_wait_for(req, NULL);
     
    192192        aid_t req = async_send_1(phone, DEVMAN_ADD_DEVICE_TO_CLASS, devman_handle, &answer);
    193193       
    194         ipcarg_t retval = async_data_write_start(phone, class_name, str_size(class_name));
     194        sysarg_t retval = async_data_write_start(phone, class_name, str_size(class_name));
    195195        if (retval != EOK) {
    196196                async_wait_for(req, NULL);
     
    268268            &answer);
    269269       
    270         ipcarg_t retval = async_data_write_start(phone, pathname, str_size(pathname));
     270        sysarg_t retval = async_data_write_start(phone, pathname, str_size(pathname));
    271271        if (retval != EOK) {
    272272                async_wait_for(req, NULL);
Note: See TracChangeset for help on using the changeset viewer.