#include <rtai_types.h>
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) |
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 | |
int | __rtai_wd_init (void) |
void | __rtai_wd_exit (void) |
int | rt_wdset_grace (int new_value) |
int | rt_wdset_gracediv (int new_value) |
wd_policy | rt_wdset_policy (wd_policy new_value) |
int | rt_wdset_slip (int new_value) |
int | rt_wdset_stretch (int new_value) |
int | rt_wdset_limit (int new_value) |
int | rt_wdset_safety (int new_value) |
|
Definition at line 28 of file rtai_wd.h. Referenced by __rtai_wd_init(). |
|
Definition at line 31 of file rtai_wd.h. Referenced by __rtai_wd_exit(), __rtai_wd_init(), handle_badtask(), and watchdog(). |
|
|
Referenced by rt_wdset_policy(). |
|
Definition at line 34 of file rtai_wd.h. |
|
Definition at line 780 of file wd.c. References BAD_RT_TASK, bad_tl, delete_bad_task(), NR_RT_CPUS, num_wdogs, rt_busy_sleep(), rt_deregister_watchdog(), rt_task_delete(), rtai_proc_root, stop_rt_timer(), TickPeriod, WDLOG, and wdog. Here is the call graph for this function: ![]() |
|
Definition at line 665 of file wd.c. References BAD_TASK_MAX, dummy(), Grace, GraceDiv, imuldiv(), Limit, nano2count(), nano2count_cpuid(), NR_RT_CPUS, NSECS_PER_SEC, num_wdogs, Policy, policy_name, rt_deregister_watchdog(), rt_get_base_linux_task(), rt_get_time_cpuid(), rt_printk(), rt_register_watchdog(), RT_SCHED_HIGHEST_PRIORITY, RT_SCHED_MUP, RT_SCHED_SMP, rt_sched_type(), RT_SCHED_UP, rt_set_oneshot_mode(), rt_set_periodic_mode(), RT_TASK, rt_task_init_cpuid(), rt_task_make_periodic(), rtai_proc_root, RTIME, Safety, sched, Slip, smp_current, start_rt_apic_timers(), start_rt_timer(), Stretch, TickPeriod, tlists, ver, version, watchdog(), WD_DEBUG, wd_OneShot, WD_STRETCH, WDLOG, and wdog. Here is the call graph for this function: ![]() |
|
Definition at line 185 of file wd.c. References Grace, Policy, and WD_STRETCH. |
|
Definition at line 195 of file wd.c. References GraceDiv, Policy, and WD_STRETCH. |
|
Definition at line 243 of file wd.c. References Limit. |
|
Definition at line 214 of file wd.c. References Grace, GraceDiv, Limit, Policy, Safety, WD_DEBUG, WD_KILL, wd_policy, and WD_STRETCH. |
|
|
Definition at line 225 of file wd.c. References Slip. |
|
Definition at line 234 of file wd.c. References Stretch. |