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

Changeset 0fe52ef in mainline for kernel/generic/src/ipc/event.c


Ignore:
Timestamp:
2011-08-19T16:23:33Z (10 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master
Children:
45059d6b
Parents:
649f087
Message:

cstyle
(no change in functionality)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/generic/src/ipc/event.c

    r649f087 r0fe52ef  
    8181}
    8282
    83 void event_task_init(task_t *t)
     83void event_task_init(task_t *task)
    8484{
    8585        for (unsigned int i = EVENT_END; i < EVENT_TASK_END; i++)
    86                 event_initialize(evno2event(i, t));
     86                event_initialize(evno2event(i, task));
    8787}
    8888
     
    130130}
    131131
    132 void event_task_set_unmask_callback(task_t *t, event_task_type_t evno,
     132void event_task_set_unmask_callback(task_t *task, event_task_type_t evno,
    133133    event_callback_t callback)
    134134{
     
    136136        ASSERT(evno < EVENT_TASK_END);
    137137               
    138         _event_set_unmask_callback(evno2event(evno, t), callback);
     138        _event_set_unmask_callback(evno2event(evno, task), callback);
    139139}
    140140
     
    213213/** Send per-task kernel notification event
    214214 *
    215  * @param t    Destination task.
     215 * @param task Destination task.
    216216 * @param evno Event type.
    217217 * @param mask Mask further notifications after a successful
     
    231231 *
    232232 */
    233 int event_task_notify(task_t *t, event_task_type_t evno, bool mask, sysarg_t a1,
    234     sysarg_t a2, sysarg_t a3, sysarg_t a4, sysarg_t a5)
     233int event_task_notify(task_t *task, event_task_type_t evno, bool mask,
     234    sysarg_t a1, sysarg_t a2, sysarg_t a3, sysarg_t a4, sysarg_t a5)
    235235{
    236236        ASSERT(evno >= (int) EVENT_END);
    237237        ASSERT(evno < EVENT_TASK_END);
    238238       
    239         return event_enqueue(evno2event(evno, t), mask, a1, a2, a3, a4, a5);
     239        return event_enqueue(evno2event(evno, task), mask, a1, a2, a3, a4, a5);
    240240}
    241241
Note: See TracChangeset for help on using the changeset viewer.