base/include/rtai_wd.h File Reference

Include dependency graph for rtai_wd.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  bad_rt_task

Defines

#define NSECS_PER_SEC   1000000000
#define WDLOG(fmt, args...)   rt_printk("RTAI[watchdog]: " fmt, ##args)
#define WD_INDX   2
#define WD_SET_GRACE   1
#define WD_SET_GRACEDIV   2
#define WD_SET_SAFETY   3
#define WD_SET_POLICY   4
#define WD_SET_SLIP   5
#define WD_SET_STRETCH   6
#define WD_SET_LIMIT   7

Typedefs

typedef enum watchdog_policy wd_policy
typedef bad_rt_task BAD_RT_TASK

Enumerations

enum  watchdog_policy {
  WD_NOTHING, WD_RESYNC, WD_DEBUG, WD_STRETCH,
  WD_SLIP, WD_SUSPEND, WD_KILL
}

Functions

static int rt_wdset_grace (int new_value)
static int rt_wdset_gracediv (int new_value)
static wd_policy rt_wdset_policy (wd_policy new_value)
static int rt_wdset_slip (int new_value)
static int rt_wdset_stretch (int new_value)
static int rt_wdset_limit (int new_value)
static int rt_wdset_safety (int new_value)


Define Documentation

#define NSECS_PER_SEC   1000000000

Definition at line 28 of file rtai_wd.h.

Referenced by __rtai_wd_init().

#define WD_INDX   2

Definition at line 58 of file rtai_wd.h.

Referenced by __rtai_wd_exit(), __rtai_wd_init(), rt_wdset_grace(), rt_wdset_gracediv(), rt_wdset_limit(), rt_wdset_policy(), rt_wdset_safety(), rt_wdset_slip(), and rt_wdset_stretch().

#define WD_SET_GRACE   1

Definition at line 60 of file rtai_wd.h.

Referenced by rt_wdset_grace().

#define WD_SET_GRACEDIV   2

Definition at line 61 of file rtai_wd.h.

Referenced by rt_wdset_gracediv().

#define WD_SET_LIMIT   7

Definition at line 66 of file rtai_wd.h.

Referenced by rt_wdset_limit().

#define WD_SET_POLICY   4

Definition at line 63 of file rtai_wd.h.

Referenced by rt_wdset_policy().

#define WD_SET_SAFETY   3

Definition at line 62 of file rtai_wd.h.

Referenced by rt_wdset_safety().

#define WD_SET_SLIP   5

Definition at line 64 of file rtai_wd.h.

Referenced by rt_wdset_slip().

#define WD_SET_STRETCH   6

Definition at line 65 of file rtai_wd.h.

Referenced by rt_wdset_stretch().

#define WDLOG ( fmt,
args...   )     rt_printk("RTAI[watchdog]: " fmt, ##args)

Definition at line 31 of file rtai_wd.h.

Referenced by __rtai_wd_exit(), __rtai_wd_init(), handle_badtask(), and watch_looper().


Typedef Documentation

typedef struct bad_rt_task BAD_RT_TASK

typedef enum watchdog_policy wd_policy


Enumeration Type Documentation

enum watchdog_policy

Enumerator:
WD_NOTHING 
WD_RESYNC 
WD_DEBUG 
WD_STRETCH 
WD_SLIP 
WD_SUSPEND 
WD_KILL 

Definition at line 34 of file rtai_wd.h.


Function Documentation

static int rt_wdset_grace ( int  new_value  )  [inline, static]

Definition at line 104 of file rtai_wd.h.

References rtai_lxrt_t::i, LOW, rtai_lxrt(), SIZARG, WD_INDX, and WD_SET_GRACE.

Here is the call graph for this function:

static int rt_wdset_gracediv ( int  new_value  )  [inline, static]

Definition at line 110 of file rtai_wd.h.

References rtai_lxrt_t::i, LOW, rtai_lxrt(), SIZARG, WD_INDX, and WD_SET_GRACEDIV.

Here is the call graph for this function:

static int rt_wdset_limit ( int  new_value  )  [inline, static]

Definition at line 134 of file rtai_wd.h.

References rtai_lxrt_t::i, LOW, rtai_lxrt(), SIZARG, WD_INDX, and WD_SET_LIMIT.

Here is the call graph for this function:

static wd_policy rt_wdset_policy ( wd_policy  new_value  )  [inline, static]

Definition at line 116 of file rtai_wd.h.

References rtai_lxrt_t::i, LOW, rtai_lxrt(), SIZARG, WD_INDX, and WD_SET_POLICY.

Here is the call graph for this function:

static int rt_wdset_safety ( int  new_value  )  [inline, static]

Definition at line 140 of file rtai_wd.h.

References rtai_lxrt_t::i, LOW, rtai_lxrt(), SIZARG, WD_INDX, and WD_SET_SAFETY.

Here is the call graph for this function:

static int rt_wdset_slip ( int  new_value  )  [inline, static]

Definition at line 122 of file rtai_wd.h.

References rtai_lxrt_t::i, LOW, rtai_lxrt(), SIZARG, WD_INDX, and WD_SET_SLIP.

Here is the call graph for this function:

static int rt_wdset_stretch ( int  new_value  )  [inline, static]

Definition at line 128 of file rtai_wd.h.

References rtai_lxrt_t::i, LOW, rtai_lxrt(), SIZARG, WD_INDX, and WD_SET_STRETCH.

Here is the call graph for this function:


Generated on Tue Feb 2 17:47:27 2010 for RTAI API by  doxygen 1.4.7