base/include/rtai_signal.h File Reference

#include <sys/mman.h>
#include <rtai_lxrt.h>

Include dependency graph for rtai_signal.h:

Include dependency graph

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

Included by dependency graph

Go to the source code of this file.

Data Structures

struct  sigsuprt_t

Defines

#define RTAI_SIGNALS_IDX   2
#define SIGNAL_HELPER   0
#define SIGNAL_WAITSIG   1
#define SIGNAL_REQUEST   2
#define SIGNAL_RELEASE   3
#define SIGNAL_ENABLE   4
#define SIGNAL_DISABLE   5
#define SIGNAL_TRIGGER   6
#define SIGNAL_TASK_INIPRIO   0
#define SIGNAL_TASK_STACK_SIZE   8192

Functions

void signal_suprt_fun (struct sigsuprt_t *funarg)
int rt_request_signal (long signal, void(*sighdl)(long, RT_TASK *))
int rt_release_signal (long signal, RT_TASK *task)
void rt_enable_signal (long signal, RT_TASK *task)
void rt_disable_signal (long signal, RT_TASK *task)
void rt_trigger_signal (long signal, RT_TASK *task)


Define Documentation

#define RTAI_SIGNALS_IDX   2
 

Definition at line 23 of file rtai_signal.h.

Referenced by cleanup_module(), init_module(), rt_disable_signal(), rt_enable_signal(), rt_release_signal(), rt_request_signal(), rt_trigger_signal(), and signal_suprt_fun().

#define SIGNAL_DISABLE   5
 

Definition at line 30 of file rtai_signal.h.

Referenced by rt_disable_signal().

#define SIGNAL_ENABLE   4
 

Definition at line 29 of file rtai_signal.h.

Referenced by rt_enable_signal().

#define SIGNAL_HELPER   0
 

Definition at line 25 of file rtai_signal.h.

Referenced by rt_request_signal().

#define SIGNAL_RELEASE   3
 

Definition at line 28 of file rtai_signal.h.

Referenced by rt_release_signal().

#define SIGNAL_REQUEST   2
 

Definition at line 27 of file rtai_signal.h.

Referenced by signal_suprt_fun().

#define SIGNAL_TASK_INIPRIO   0
 

Definition at line 33 of file rtai_signal.h.

Referenced by signal_suprt_fun().

#define SIGNAL_TASK_STACK_SIZE   8192
 

Definition at line 62 of file rtai_signal.h.

Referenced by rt_request_signal().

#define SIGNAL_TRIGGER   6
 

Definition at line 31 of file rtai_signal.h.

Referenced by rt_trigger_signal().

#define SIGNAL_WAITSIG   1
 

Definition at line 26 of file rtai_signal.h.

Referenced by signal_suprt_fun().


Function Documentation

void rt_disable_signal long  signal,
RT_TASK task
[inline, static]
 

Definition at line 111 of file rtai_signal.h.

References RT_TASK, rtai_lxrt(), RTAI_SIGNALS_IDX, SIGNAL_DISABLE, SIZARG, and task.

Here is the call graph for this function:

void rt_enable_signal long  signal,
RT_TASK task
[inline, static]
 

Definition at line 105 of file rtai_signal.h.

References RT_TASK, rtai_lxrt(), RTAI_SIGNALS_IDX, SIGNAL_ENABLE, SIZARG, and task.

Here is the call graph for this function:

int rt_release_signal long  signal,
RT_TASK task
[inline, static]
 

Definition at line 99 of file rtai_signal.h.

References rtai_lxrt_t::i, LOW, RT_TASK, rtai_lxrt(), RTAI_SIGNALS_IDX, SIGNAL_RELEASE, SIZARG, and task.

Here is the call graph for this function:

int rt_request_signal long  signal,
void(*  sighdl)(long, RT_TASK *)
[inline, static]
 

Definition at line 88 of file rtai_signal.h.

References rtai_lxrt_t::i, LOW, rt_buddy, rt_clone(), RT_TASK, rtai_lxrt(), RTAI_SIGNALS_IDX, SIGNAL_HELPER, signal_suprt_fun(), SIGNAL_TASK_STACK_SIZE, sigsuprt_t::sigtask, and sigsuprt_t::task.

Here is the call graph for this function:

void rt_trigger_signal long  signal,
RT_TASK task
[inline, static]
 

Definition at line 117 of file rtai_signal.h.

References RT_TASK, rtai_lxrt(), RTAI_SIGNALS_IDX, SIGNAL_TRIGGER, SIZARG, and task.

Here is the call graph for this function:

void signal_suprt_fun struct sigsuprt_t funarg  )  [static]
 

Definition at line 67 of file rtai_signal.h.

References sigsuprt_t::cpuid, rtai_lxrt_t::i, LOW, rt_get_name(), rt_make_hard_real_time(), rt_make_soft_real_time(), RT_TASK, rt_task_delete(), rt_thread_init(), rtai_lxrt(), RTAI_SIGNALS_IDX, sigsuprt_t::sighdl, sigsuprt_t::signal, SIGNAL_REQUEST, SIGNAL_TASK_INIPRIO, SIGNAL_WAITSIG, sigsuprt_t::sigtask, sigsuprt_t::task, and task.

Referenced by rt_request_signal().

Here is the call graph for this function:


Generated on Thu Nov 20 11:53:59 2008 for RTAI API by doxygen 1.3.8