Fork us on GitHub Follow us on Facebook Follow us on Twitter

Ignore:
Timestamp:
2010-12-14T12:52:38Z (11 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master
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/packet/generic/packet_server.c

    r554debd r96b02eb9  
    337337                        return ENOMEM;
    338338                *answer_count = 2;
    339                 IPC_SET_ARG1(*answer, (ipcarg_t) packet->packet_id);
    340                 IPC_SET_ARG2(*answer, (ipcarg_t) packet->length);
     339                IPC_SET_ARG1(*answer, (sysarg_t) packet->packet_id);
     340                IPC_SET_ARG2(*answer, (sysarg_t) packet->length);
    341341                return EOK;
    342342       
     
    351351                        return ENOMEM;
    352352                *answer_count = 2;
    353                 IPC_SET_ARG1(*answer, (ipcarg_t) packet->packet_id);
    354                 IPC_SET_ARG2(*answer, (ipcarg_t) packet->length);
     353                IPC_SET_ARG1(*answer, (sysarg_t) packet->packet_id);
     354                IPC_SET_ARG2(*answer, (sysarg_t) packet->length);
    355355                return EOK;
    356356       
     
    365365                if (!packet_is_valid(packet))
    366366                        return ENOENT;
    367                 IPC_SET_ARG1(*answer, (ipcarg_t) packet->length);
     367                IPC_SET_ARG1(*answer, (sysarg_t) packet->length);
    368368                *answer_count = 1;
    369369                return EOK;
Note: See TracChangeset for help on using the changeset viewer.