#include <linux/kernel.h>
#include <linux/module.h>
#include <rtai_schedcore.h>
#include <rtai_signal.h>
Include dependency graph for signal.c:
Go to the source code of this file.
Data Structures | |
struct | rt_signal_t |
Defines | |
#define | MODULE_NAME "RTAI_SIGNALS" |
#define | RT_SCHED_SIGSUSP (1 << 15) |
#define | RT_SIGNALS ((struct rt_signal_t *)task->rt_signals) |
Functions | |
MODULE_LICENSE ("GPL") | |
int | rt_request_signal_ (RT_TASK *sigtask, RT_TASK *task, long signal) |
EXPORT_SYMBOL (rt_request_signal_) | |
void | rt_exec_signal (RT_TASK *sigtask, RT_TASK *task) |
int | rt_release_signal (long signal, RT_TASK *task) |
Release a signal previously requested for a task. | |
EXPORT_SYMBOL (rt_release_signal) | |
void | rt_trigger_signal (long signal, RT_TASK *task) |
Trigger a signal for a task (i.e. | |
EXPORT_SYMBOL (rt_trigger_signal) | |
void | rt_enable_signal (long signal, RT_TASK *task) |
Enable a signal for a task. | |
EXPORT_SYMBOL (rt_enable_signal) | |
void | rt_disable_signal (long signal, RT_TASK *task) |
disable a signal for a task. | |
EXPORT_SYMBOL (rt_disable_signal) | |
int | rt_signal_helper (RT_TASK *task) |
int | rt_wait_signal (RT_TASK *sigtask, RT_TASK *task) |
EXPORT_SYMBOL (rt_wait_signal) | |
void | signal_suprt_fun (struct sigsuprt_t *funarg) |
int | rt_request_signal (long signal, void(*sighdl)(long, RT_TASK *)) |
Install a handler for catching RTAI real time async signals. | |
int | init_module (void) |
void | cleanup_module (void) |
Variables | |
rt_fun_entry | rtai_signals_fun [] |
|
Definition at line 27 of file signal.c. Referenced by cleanup_module(), and init_module(). |
|
Definition at line 29 of file signal.c. Referenced by rt_exec_signal(), and rt_wait_signal(). |
|
Definition at line 31 of file signal.c. Referenced by rt_disable_signal(), rt_enable_signal(), rt_release_signal(), rt_request_signal_(), and rt_trigger_signal(). |
|
Definition at line 279 of file signal.c. References MODULE_NAME, printk(), reset_rt_fun_ext_index(), rtai_signals_fun, and RTAI_SIGNALS_IDX. Here is the call graph for this function: |
|
|
|
|
|
|
|
|
|
|
|
|
|
Definition at line 269 of file signal.c. References MODULE_NAME, printk(), rtai_signals_fun, RTAI_SIGNALS_IDX, and set_rt_fun_ext_index(). Here is the call graph for this function: |
|
|
|
disable a signal for a task.
References flags, RT_SIGNALS, RT_TASK, and task. |
|
Enable a signal for a task.
References flags, RT_SIGNALS, RT_TASK, and task. |
|
Definition at line 54 of file signal.c. References flags, RT_SCHED_SIGSUSP, RT_TASK, and task. Referenced by rt_release_signal(), and rt_trigger_signal(). |
|
Release a signal previously requested for a task.
References rt_exec_signal(), RT_SIGNALS, RT_TASK, and task. Here is the call graph for this function: |
|
Install a handler for catching RTAI real time async signals.
References rt_malloc(), RT_TASK, rt_task_init_cpuid(), rt_task_resume(), rt_task_suspend(), signal_suprt_fun(), SIGNAL_TASK_STACK_SIZE, and task. Here is the call graph for this function: |
|
Definition at line 34 of file signal.c. References rt_malloc(), RT_SIGNALS, RT_TASK, rt_task_resume(), and task. Referenced by signal_suprt_fun(). Here is the call graph for this function: |
|
Definition at line 183 of file signal.c. References RT_TASK, rt_task_suspend(), and task. Here is the call graph for this function: |
|
Trigger a signal for a task (i.e. send a signal to the task), executing the related handler.
References flags, rt_exec_signal(), RT_SIGNALS, RT_TASK, and task. Here is the call graph for this function: |
|
Definition at line 192 of file signal.c. References flags, RT_SCHED_READY, RT_SCHED_SIGSUSP, rt_schedule(), RT_TASK, and task. Referenced by signal_suprt_fun(). Here is the call graph for this function: |
|
Definition at line 210 of file signal.c. References rt_request_signal_(), rt_task_resume(), rt_wait_signal(), sigsuprt_t::sighdl, sigsuprt_t::signal, sigsuprt_t::sigtask, and sigsuprt_t::task. Referenced by rt_request_signal(). Here is the call graph for this function: |
|
Initial value: Definition at line 259 of file signal.c. Referenced by cleanup_module(), and init_module(). |