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

    r554debd r96b02eb9  
    6161}
    6262
    63 static int event_subscribe(event_type_t evno, unative_t method,
     63static int event_subscribe(event_type_t evno, sysarg_t method,
    6464    answerbox_t *answerbox)
    6565{
     
    8484}
    8585
    86 unative_t sys_event_subscribe(unative_t evno, unative_t method)
     86sysarg_t sys_event_subscribe(sysarg_t evno, sysarg_t method)
    8787{
    88         return (unative_t) event_subscribe((event_type_t) evno, (unative_t)
     88        return (sysarg_t) event_subscribe((event_type_t) evno, (sysarg_t)
    8989            method, &TASK->answerbox);
    9090}
     
    119119}
    120120
    121 void event_notify(event_type_t evno, unative_t a1, unative_t a2, unative_t a3,
    122     unative_t a4, unative_t a5)
     121void event_notify(event_type_t evno, sysarg_t a1, sysarg_t a2, sysarg_t a3,
     122    sysarg_t a4, sysarg_t a5)
    123123{
    124124        ASSERT(evno < EVENT_END);
Note: See TracChangeset for help on using the changeset viewer.