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

Changeset 0fe52ef in mainline


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)

Files:
6 edited

Legend:

Unmodified
Added
Removed
  • abi/include/ipc/event.h

    r649f087 r0fe52ef  
    3636#define ABI_IPC_EVENT_H_
    3737
     38/** Global events */
    3839typedef enum event_type {
    3940        /** New data available in kernel log */
  • kernel/generic/src/console/console.c

    r649f087 r0fe52ef  
    248248}
    249249
    250 void klog_update(void *e)
     250void klog_update(void *event)
    251251{
    252252        if (!atomic_get(&klog_inited))
  • 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
  • uspace/lib/c/generic/loader.c

    r649f087 r0fe52ef  
    263263       
    264264        int i;
    265         for (i = 0; files[i]; i++)
    266                 ;
     265        for (i = 0; files[i]; i++);
    267266
    268267        ipc_call_t answer;
  • uspace/lib/c/generic/loc.c

    r649f087 r0fe52ef  
    315315/** Register new service.
    316316 *
    317  * @param fqsn  Fully qualified service name
    318  * @param sid   Output: ID of new service
     317 * @param fqsn Fully qualified service name
     318 * @param sid  Output: ID of new service
    319319 *
    320320 */
  • uspace/srv/vfs/vfs.c

    r649f087 r0fe52ef  
    5353#define NAME  "vfs"
    5454
     55enum {
     56        VFS_TASK_STATE_CHANGE
     57};
     58
    5559static void vfs_connection(ipc_callid_t iid, ipc_call_t *icall, void *arg)
    5660{
     
    134138         */
    135139}
    136 
    137 enum {
    138         VFS_TASK_STATE_CHANGE
    139 };
    140140
    141141static void notification_received(ipc_callid_t callid, ipc_call_t *call)
Note: See TracChangeset for help on using the changeset viewer.