Changeset 66659ff in rtems-libbsd for freebsd/sys/sys/callout.h


Ignore:
Timestamp:
Nov 6, 2013, 3:20:21 PM (6 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
4.11, afaeccc05a556f6aa25ba044a7e49d6aa634a59e, freebsd-9.3, master
Children:
9ca3faf
Parents:
ce96623
git-author:
Sebastian Huber <sebastian.huber@…> (11/06/13 15:20:21)
git-committer:
Sebastian Huber <sebastian.huber@…> (11/11/13 09:08:08)
Message:

Update to FreeBSD 9.2

File:
1 edited

Legend:

Unmodified
Added
Removed
  • freebsd/sys/sys/callout.h

    rce96623 r66659ff  
    3939#define _SYS_CALLOUT_H_
    4040
    41 #include <sys/queue.h>
    42 
    43 struct lock_object;
    44 
    45 SLIST_HEAD(callout_list, callout);
    46 TAILQ_HEAD(callout_tailq, callout);
    47 
    48 struct callout {
    49         union {
    50                 SLIST_ENTRY(callout) sle;
    51                 TAILQ_ENTRY(callout) tqe;
    52         } c_links;
    53         int     c_time;                         /* ticks to the event */
    54         void    *c_arg;                         /* function argument */
    55         void    (*c_func)(void *);              /* function to call */
    56         struct lock_object *c_lock;             /* lock to handle */
    57         int     c_flags;                        /* state of this entry */
    58         volatile int c_cpu;                     /* CPU we're scheduled on */
    59 };
     41#include <sys/_callout.h>
    6042
    6143#define CALLOUT_LOCAL_ALLOC     0x0001 /* was allocated from callfree */
     
    9880int     _callout_stop_safe(struct callout *, int);
    9981void    callout_tick(void);
    100 
     82int     callout_tickstofirst(int limit);
     83extern void (*callout_new_inserted)(int cpu, int ticks);
    10184
    10285#endif
Note: See TracChangeset for help on using the changeset viewer.