Changeset 96b02eb9 in mainline for kernel/generic/src/proc/task.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
  • kernel/generic/src/proc/task.c

    r554debd r96b02eb9  
    298298 *
    299299 */
    300 unative_t sys_task_get_id(task_id_t *uspace_task_id)
     300sysarg_t sys_task_get_id(task_id_t *uspace_task_id)
    301301{
    302302        /*
     
    304304         * the lifespan of the task.
    305305         */
    306         return (unative_t) copy_to_uspace(uspace_task_id, &TASK->taskid,
     306        return (sysarg_t) copy_to_uspace(uspace_task_id, &TASK->taskid,
    307307            sizeof(TASK->taskid));
    308308}
     
    318318 *
    319319 */
    320 unative_t sys_task_set_name(const char *uspace_name, size_t name_len)
     320sysarg_t sys_task_set_name(const char *uspace_name, size_t name_len)
    321321{
    322322        int rc;
     
    330330        rc = copy_from_uspace(namebuf, uspace_name, name_len);
    331331        if (rc != 0)
    332                 return (unative_t) rc;
     332                return (sysarg_t) rc;
    333333       
    334334        namebuf[name_len] = '\0';
Note: See TracChangeset for help on using the changeset viewer.