Changeset 80bcaed in mainline for kernel/generic/include/time


Ignore:
Timestamp:
2007-02-03T13:22:24Z (18 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
f619ec11
Parents:
fa8e7d2
Message:

Merge as_t structure into one and leave the differring parts in as_genarch_t.

Indentation and formatting changes in header files.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/generic/include/time/timeout.h

    rfa8e7d2 r80bcaed  
    4545        SPINLOCK_DECLARE(lock);
    4646
    47         link_t link;                    /**< Link to the list of active timeouts on THE->cpu */
    48        
    49         uint64_t ticks;                 /**< Timeout will be activated in this amount of clock() ticks. */
    50 
    51         timeout_handler_t handler;      /**< Function that will be called on timeout activation. */
    52         void *arg;                      /**< Argument to be passed to handler() function. */
    53        
    54         cpu_t *cpu;                     /**< On which processor is this timeout registered. */
     47        /** Link to the list of active timeouts on THE->cpu */
     48        link_t link;
     49        /** Timeout will be activated in this amount of clock() ticks. */       
     50        uint64_t ticks;
     51        /** Function that will be called on timeout activation. */
     52        timeout_handler_t handler;
     53        /** Argument to be passed to handler() function. */
     54        void *arg;
     55        /** On which processor is this timeout registered. */
     56        cpu_t *cpu;
    5557} timeout_t;
    5658
     
    6062extern void timeout_initialize(timeout_t *t);
    6163extern void timeout_reinitialize(timeout_t *t);
    62 extern void timeout_register(timeout_t *t, uint64_t usec, timeout_handler_t f, void *arg);
     64extern void timeout_register(timeout_t *t, uint64_t usec, timeout_handler_t f,
     65    void *arg);
    6366extern bool timeout_unregister(timeout_t *t);
    6467
Note: See TracChangeset for help on using the changeset viewer.