This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
Definition in file api.c.
Include dependency graph for api.c:
Go to the source code of this file.
Defines | |
#define | HASHED_REGISTRY |
#define | COLLISION_COUNT() do { col++; } while(0) |
#define | NONAME (1UL) |
#define | NOADR ((void *)1) |
#define | PRIMES_TAB_GRANULARITY 100 |
#define | hash_fun(m, n) ((m)%(n) + 1) |
Functions | |
RTAI_SYSCALL_MODE void | rt_set_sched_policy (RT_TASK *task, int policy, int rr_quantum_ns) |
int | rt_get_prio (RT_TASK *task) |
Check a task priority. | |
int | rt_get_inher_prio (RT_TASK *task) |
Check a task priority. | |
RTAI_SYSCALL_MODE int | rt_get_priorities (RT_TASK *task, int *priority, int *base_priority) |
Check inheredited and base priority. | |
RTAI_SYSCALL_MODE int | rt_task_get_info (RT_TASK *task, RT_TASK_INFO *task_info) |
Get task task data listed in RT_TASK_INFO type. | |
RTAI_SYSCALL_MODE int | rt_change_prio (RT_TASK *task, int priority) |
Change a task priority. | |
RT_TASK * | rt_whoami (void) |
Get the task pointer of the current task. | |
void | rt_task_yield (void) |
Yield the current task. | |
RTAI_SYSCALL_MODE int | rt_task_suspend (RT_TASK *task) |
rt_task_suspend suspends execution of the task task. | |
RTAI_SYSCALL_MODE int | rt_task_suspend_if (RT_TASK *task) |
RTAI_SYSCALL_MODE int | rt_task_suspend_until (RT_TASK *task, RTIME time) |
RTAI_SYSCALL_MODE int | rt_task_suspend_timed (RT_TASK *task, RTIME delay) |
RTAI_SYSCALL_MODE int | rt_task_resume (RT_TASK *task) |
Resume a task. | |
int | rt_get_task_state (RT_TASK *task) |
Query task state | |
void | rt_linux_use_fpu (int use_fpu_flag) |
Set indication of FPU usage. | |
RTAI_SYSCALL_MODE int | rt_task_use_fpu (RT_TASK *task, int use_fpu_flag) |
| |
RTAI_SYSCALL_MODE int | rt_task_signal_handler (RT_TASK *task, void(*handler)(void)) |
Set the signal handler of a task. | |
EXPORT_SYMBOL (boot_epoch) | |
static void | _rt_get_boot_epoch (volatile RTIME time_orig[]) |
void | rt_get_boot_epoch (void) |
void | rt_gettimeorig (RTIME time_orig[]) |
RTAI_SYSCALL_MODE int | rt_task_make_periodic_relative_ns (RT_TASK *task, RTIME start_delay, RTIME period) |
Make a task run periodically. | |
RTAI_SYSCALL_MODE int | rt_task_make_periodic (RT_TASK *task, RTIME start_time, RTIME period) |
Make a task run periodically | |
int | rt_task_wait_period (void) |
Wait till next period. | |
RTAI_SYSCALL_MODE void | rt_task_set_resume_end_times (RTIME resume, RTIME end) |
RTAI_SYSCALL_MODE int | rt_set_resume_time (RT_TASK *task, RTIME new_resume_time) |
RTAI_SYSCALL_MODE int | rt_set_period (RT_TASK *task, RTIME new_period) |
RTIME | next_period (void) |
Get the time a periodic task will be resumed after calling rt_task_wait_period. | |
RTAI_SYSCALL_MODE void | rt_busy_sleep (int ns) |
Delay/suspend execution for a while. | |
RTAI_SYSCALL_MODE int | rt_sleep (RTIME delay) |
Delay/suspend execution for a while. | |
RTAI_SYSCALL_MODE int | rt_sleep_until (RTIME time) |
Delay/suspend execution for a while. | |
RTAI_SYSCALL_MODE int | rt_task_masked_unblock (RT_TASK *task, unsigned long mask) |
int | rt_nanosleep (struct timespec *rqtp, struct timespec *rmtp) |
void | rt_enq_ready_edf_task (RT_TASK *ready_task) |
void | rt_enq_ready_task (RT_TASK *ready_task) |
int | rt_renq_ready_task (RT_TASK *ready_task, int priority) |
void | rt_rem_ready_task (RT_TASK *task) |
void | rt_rem_ready_current (RT_TASK *rt_current) |
void | rt_enq_timed_task (RT_TASK *timed_task) |
void | rt_wake_up_timed_tasks (int cpuid) |
void | rt_rem_timed_task (RT_TASK *task) |
void | rt_enqueue_blocked (RT_TASK *task, QUEUE *queue, int qtype) |
void | rt_dequeue_blocked (RT_TASK *task) |
int | rt_renq_current (RT_TASK *rt_current, int priority) |
RTAI_SYSCALL_MODE RT_TASK * | rt_named_task_init (const char *task_name, void(*thread)(long), long data, int stack_size, int prio, int uses_fpu, void(*signal)(void)) |
RTAI_SYSCALL_MODE RT_TASK * | rt_named_task_init_cpuid (const char *task_name, void(*thread)(long), long data, int stack_size, int prio, int uses_fpu, void(*signal)(void), unsigned int run_on_cpu) |
RTAI_SYSCALL_MODE int | rt_named_task_delete (RT_TASK *task) |
static int | hash_ins_adr (void *adr, struct rt_registry_entry *list, int lstlen, int nlink) |
static int | hash_ins_name (unsigned long name, void *adr, int type, struct task_struct *lnxtsk, struct rt_registry_entry *list, int lstlen, int inc) |
static void * | hash_find_name (unsigned long name, struct rt_registry_entry *list, long lstlen, int inc, int *slot) |
static unsigned long | hash_find_adr (void *adr, struct rt_registry_entry *list, long lstlen, int inc) |
static int | hash_rem_name (unsigned long name, struct rt_registry_entry *list, long lstlen, int dec) |
static int | hash_rem_adr (void *adr, struct rt_registry_entry *list, long lstlen, int dec) |
static int | registr (unsigned long name, void *adr, int type, struct task_struct *lnxtsk) |
static int | drg_on_name (unsigned long name) |
static int | drg_on_name_cnt (unsigned long name) |
static int | drg_on_adr (void *adr) |
static int | drg_on_adr_cnt (void *adr) |
static unsigned long | get_name (void *adr) |
static void * | get_adr (unsigned long name) |
static void * | get_adr_cnt (unsigned long name) |
static int | get_type (unsigned long name) |
unsigned long | is_process_registered (struct task_struct *lnxtsk) |
int | rt_get_registry_slot (int slot, struct rt_registry_entry *entry) |
int | rt_registry_alloc (void) |
void | rt_registry_free (void) |
int | rt_register (unsigned long name, void *adr, int type, struct task_struct *t) |
Register an object. | |
int | rt_drg_on_name (unsigned long name) |
Deregister an object by its name. | |
int | rt_drg_on_adr (void *adr) |
Deregister an object by its address. | |
RTAI_SYSCALL_MODE unsigned long | rt_get_name (void *adr) |
RTAI_SYSCALL_MODE void * | rt_get_adr (unsigned long name) |
int | rt_get_type (unsigned long name) |
int | rt_drg_on_name_cnt (unsigned long name) |
int | rt_drg_on_adr_cnt (void *adr) |
void * | rt_get_adr_cnt (unsigned long name) |
void | krtai_objects_release (void) |
RTAI_SYSCALL_MODE void | rt_set_linux_syscall_mode (long mode, void(*callback_fun)(long, long)) |
void | rt_exec_linux_syscall (RT_TASK *rt_current, struct linux_syscalls_list *syscalls, struct pt_regs *regs) |
EXPORT_SYMBOL (rt_set_sched_policy) | |
EXPORT_SYMBOL (rt_get_prio) | |
EXPORT_SYMBOL (rt_get_inher_prio) | |
EXPORT_SYMBOL (rt_get_priorities) | |
EXPORT_SYMBOL (rt_change_prio) | |
EXPORT_SYMBOL (rt_whoami) | |
EXPORT_SYMBOL (rt_task_yield) | |
EXPORT_SYMBOL (rt_task_suspend) | |
EXPORT_SYMBOL (rt_task_suspend_if) | |
EXPORT_SYMBOL (rt_task_suspend_until) | |
EXPORT_SYMBOL (rt_task_suspend_timed) | |
EXPORT_SYMBOL (rt_task_resume) | |
EXPORT_SYMBOL (rt_get_task_state) | |
EXPORT_SYMBOL (rt_linux_use_fpu) | |
EXPORT_SYMBOL (rt_task_use_fpu) | |
EXPORT_SYMBOL (rt_task_signal_handler) | |
EXPORT_SYMBOL (rt_gettimeorig) | |
EXPORT_SYMBOL (rt_task_make_periodic_relative_ns) | |
EXPORT_SYMBOL (rt_task_make_periodic) | |
EXPORT_SYMBOL (rt_task_wait_period) | |
EXPORT_SYMBOL (rt_task_set_resume_end_times) | |
EXPORT_SYMBOL (rt_set_resume_time) | |
EXPORT_SYMBOL (rt_set_period) | |
EXPORT_SYMBOL (next_period) | |
EXPORT_SYMBOL (rt_busy_sleep) | |
EXPORT_SYMBOL (rt_sleep) | |
EXPORT_SYMBOL (rt_sleep_until) | |
EXPORT_SYMBOL (rt_task_masked_unblock) | |
EXPORT_SYMBOL (rt_nanosleep) | |
EXPORT_SYMBOL (rt_enq_ready_edf_task) | |
EXPORT_SYMBOL (rt_enq_ready_task) | |
EXPORT_SYMBOL (rt_renq_ready_task) | |
EXPORT_SYMBOL (rt_rem_ready_task) | |
EXPORT_SYMBOL (rt_rem_ready_current) | |
EXPORT_SYMBOL (rt_enq_timed_task) | |
EXPORT_SYMBOL (rt_wake_up_timed_tasks) | |
EXPORT_SYMBOL (rt_rem_timed_task) | |
EXPORT_SYMBOL (rt_enqueue_blocked) | |
EXPORT_SYMBOL (rt_dequeue_blocked) | |
EXPORT_SYMBOL (rt_renq_current) | |
EXPORT_SYMBOL (rt_named_task_init) | |
EXPORT_SYMBOL (rt_named_task_init_cpuid) | |
EXPORT_SYMBOL (rt_named_task_delete) | |
EXPORT_SYMBOL (is_process_registered) | |
EXPORT_SYMBOL (rt_register) | |
EXPORT_SYMBOL (rt_drg_on_name) | |
EXPORT_SYMBOL (rt_drg_on_adr) | |
EXPORT_SYMBOL (rt_get_name) | |
EXPORT_SYMBOL (rt_get_adr) | |
EXPORT_SYMBOL (rt_get_type) | |
EXPORT_SYMBOL (rt_drg_on_name_cnt) | |
EXPORT_SYMBOL (rt_drg_on_adr_cnt) | |
EXPORT_SYMBOL (rt_get_adr_cnt) | |
EXPORT_SYMBOL (rt_get_registry_slot) | |
EXPORT_SYMBOL (rt_task_init) | |
EXPORT_SYMBOL (rt_task_init_cpuid) | |
EXPORT_SYMBOL (rt_set_runnable_on_cpus) | |
EXPORT_SYMBOL (rt_set_runnable_on_cpuid) | |
EXPORT_SYMBOL (rt_check_current_stack) | |
EXPORT_SYMBOL (rt_schedule) | |
EXPORT_SYMBOL (rt_spv_RMS) | |
EXPORT_SYMBOL (rt_sched_lock) | |
EXPORT_SYMBOL (rt_sched_unlock) | |
EXPORT_SYMBOL (rt_task_delete) | |
EXPORT_SYMBOL (rt_is_hard_timer_running) | |
EXPORT_SYMBOL (rt_set_periodic_mode) | |
EXPORT_SYMBOL (rt_set_oneshot_mode) | |
EXPORT_SYMBOL (rt_get_timer_cpu) | |
EXPORT_SYMBOL (start_rt_timer) | |
EXPORT_SYMBOL (stop_rt_timer) | |
EXPORT_SYMBOL (start_rt_apic_timers) | |
EXPORT_SYMBOL (rt_sched_type) | |
EXPORT_SYMBOL (rt_hard_timer_tick_count) | |
EXPORT_SYMBOL (rt_hard_timer_tick_count_cpuid) | |
EXPORT_SYMBOL (rt_set_task_trap_handler) | |
EXPORT_SYMBOL (rt_get_time) | |
EXPORT_SYMBOL (rt_get_time_cpuid) | |
EXPORT_SYMBOL (rt_get_time_ns) | |
EXPORT_SYMBOL (rt_get_time_ns_cpuid) | |
EXPORT_SYMBOL (rt_get_cpu_time_ns) | |
EXPORT_SYMBOL (rt_get_real_time) | |
EXPORT_SYMBOL (rt_get_real_time_ns) | |
EXPORT_SYMBOL (rt_get_base_linux_task) | |
EXPORT_SYMBOL (rt_alloc_dynamic_task) | |
EXPORT_SYMBOL (rt_register_watchdog) | |
EXPORT_SYMBOL (rt_deregister_watchdog) | |
EXPORT_SYMBOL (count2nano) | |
EXPORT_SYMBOL (nano2count) | |
EXPORT_SYMBOL (count2nano_cpuid) | |
EXPORT_SYMBOL (nano2count_cpuid) | |
EXPORT_SYMBOL (rt_kthread_init) | |
EXPORT_SYMBOL (rt_kthread_init_cpuid) | |
EXPORT_SYMBOL (rt_smp_linux_task) | |
EXPORT_SYMBOL (rt_smp_current) | |
EXPORT_SYMBOL (rt_smp_time_h) | |
EXPORT_SYMBOL (rt_smp_oneshot_timer) | |
EXPORT_SYMBOL (wake_up_srq) | |
EXPORT_SYMBOL (set_rt_fun_entries) | |
EXPORT_SYMBOL (reset_rt_fun_entries) | |
EXPORT_SYMBOL (set_rt_fun_ext_index) | |
EXPORT_SYMBOL (reset_rt_fun_ext_index) | |
EXPORT_SYMBOL (max_slots) | |
Variables | |
epoch_struct | boot_epoch = { SPIN_LOCK_UNLOCKED, 0, } |
int | max_slots |
static struct rt_registry_entry * | lxrt_list |
static spinlock_t | list_lock = SPIN_LOCK_UNLOCKED |
static unsigned long long | col |
static unsigned short | primes [] |
rt_fun_entry | rt_fun_lxrt [] |
#define COLLISION_COUNT | ( | ) | do { col++; } while(0) |
Definition at line 1218 of file api.c.
Referenced by hash_find_adr(), hash_find_name(), hash_ins_adr(), hash_ins_name(), hash_rem_adr(), and hash_rem_name().
#define hash_fun | ( | m, | |||
n | ) | ((m)%(n) + 1) |
Definition at line 1234 of file api.c.
Referenced by hash_find_adr(), hash_find_name(), hash_ins_adr(), hash_ins_name(), hash_rem_adr(), and hash_rem_name().
#define NOADR ((void *)1) |
Definition at line 1225 of file api.c.
Referenced by hash_find_adr(), hash_ins_adr(), hash_rem_adr(), and hash_rem_name().
#define NONAME (1UL) |
Definition at line 1224 of file api.c.
Referenced by hash_find_name(), hash_ins_name(), hash_rem_adr(), hash_rem_name(), and rt_get_registry_slot().
#define PRIMES_TAB_GRANULARITY 100 |
static void _rt_get_boot_epoch | ( | volatile RTIME | time_orig[] | ) | [inline, static] |
Definition at line 659 of file api.c.
References flags, imuldiv(), llimd(), rt_spin_lock_irqsave(), rt_spin_unlock_irqrestore, rtai_rdtsc, and tuned.
Referenced by rt_get_boot_epoch(), and rt_gettimeorig().
Here is the call graph for this function:
static int drg_on_adr | ( | void * | adr | ) | [inline, static] |
Definition at line 1466 of file api.c.
References hash_rem_adr(), and lxrt_list.
Referenced by rt_drg_on_adr().
Here is the call graph for this function:
static int drg_on_adr_cnt | ( | void * | adr | ) | [inline, static] |
Definition at line 1471 of file api.c.
References hash_rem_adr(), and lxrt_list.
Referenced by rt_drg_on_adr_cnt().
Here is the call graph for this function:
static int drg_on_name | ( | unsigned long | name | ) | [inline, static] |
Definition at line 1456 of file api.c.
References hash_rem_name(), and lxrt_list.
Referenced by rt_drg_on_name().
Here is the call graph for this function:
static int drg_on_name_cnt | ( | unsigned long | name | ) | [inline, static] |
Definition at line 1461 of file api.c.
References hash_rem_name(), and lxrt_list.
Referenced by rt_drg_on_name_cnt().
Here is the call graph for this function:
EXPORT_SYMBOL | ( | max_slots | ) |
EXPORT_SYMBOL | ( | reset_rt_fun_ext_index | ) |
EXPORT_SYMBOL | ( | set_rt_fun_ext_index | ) |
EXPORT_SYMBOL | ( | reset_rt_fun_entries | ) |
EXPORT_SYMBOL | ( | set_rt_fun_entries | ) |
EXPORT_SYMBOL | ( | wake_up_srq | ) |
EXPORT_SYMBOL | ( | rt_smp_oneshot_timer | ) |
EXPORT_SYMBOL | ( | rt_smp_time_h | ) |
EXPORT_SYMBOL | ( | rt_smp_current | ) |
EXPORT_SYMBOL | ( | rt_smp_linux_task | ) |
EXPORT_SYMBOL | ( | rt_kthread_init_cpuid | ) |
EXPORT_SYMBOL | ( | rt_kthread_init | ) |
EXPORT_SYMBOL | ( | nano2count_cpuid | ) |
EXPORT_SYMBOL | ( | count2nano_cpuid | ) |
EXPORT_SYMBOL | ( | nano2count | ) |
EXPORT_SYMBOL | ( | count2nano | ) |
EXPORT_SYMBOL | ( | rt_deregister_watchdog | ) |
EXPORT_SYMBOL | ( | rt_register_watchdog | ) |
EXPORT_SYMBOL | ( | rt_alloc_dynamic_task | ) |
EXPORT_SYMBOL | ( | rt_get_base_linux_task | ) |
EXPORT_SYMBOL | ( | rt_get_real_time_ns | ) |
EXPORT_SYMBOL | ( | rt_get_real_time | ) |
EXPORT_SYMBOL | ( | rt_get_cpu_time_ns | ) |
EXPORT_SYMBOL | ( | rt_get_time_ns_cpuid | ) |
EXPORT_SYMBOL | ( | rt_get_time_ns | ) |
EXPORT_SYMBOL | ( | rt_get_time_cpuid | ) |
EXPORT_SYMBOL | ( | rt_get_time | ) |
EXPORT_SYMBOL | ( | rt_set_task_trap_handler | ) |
EXPORT_SYMBOL | ( | rt_hard_timer_tick_count_cpuid | ) |
EXPORT_SYMBOL | ( | rt_hard_timer_tick_count | ) |
EXPORT_SYMBOL | ( | rt_sched_type | ) |
EXPORT_SYMBOL | ( | start_rt_apic_timers | ) |
EXPORT_SYMBOL | ( | stop_rt_timer | ) |
EXPORT_SYMBOL | ( | start_rt_timer | ) |
EXPORT_SYMBOL | ( | rt_get_timer_cpu | ) |
EXPORT_SYMBOL | ( | rt_set_oneshot_mode | ) |
EXPORT_SYMBOL | ( | rt_set_periodic_mode | ) |
EXPORT_SYMBOL | ( | rt_is_hard_timer_running | ) |
EXPORT_SYMBOL | ( | rt_task_delete | ) |
EXPORT_SYMBOL | ( | rt_sched_unlock | ) |
EXPORT_SYMBOL | ( | rt_sched_lock | ) |
EXPORT_SYMBOL | ( | rt_spv_RMS | ) |
EXPORT_SYMBOL | ( | rt_schedule | ) |
EXPORT_SYMBOL | ( | rt_check_current_stack | ) |
EXPORT_SYMBOL | ( | rt_set_runnable_on_cpuid | ) |
EXPORT_SYMBOL | ( | rt_set_runnable_on_cpus | ) |
EXPORT_SYMBOL | ( | rt_task_init_cpuid | ) |
EXPORT_SYMBOL | ( | rt_task_init | ) |
EXPORT_SYMBOL | ( | rt_get_registry_slot | ) |
EXPORT_SYMBOL | ( | rt_get_adr_cnt | ) |
EXPORT_SYMBOL | ( | rt_drg_on_adr_cnt | ) |
EXPORT_SYMBOL | ( | rt_drg_on_name_cnt | ) |
EXPORT_SYMBOL | ( | rt_get_type | ) |
EXPORT_SYMBOL | ( | rt_get_adr | ) |
EXPORT_SYMBOL | ( | rt_get_name | ) |
EXPORT_SYMBOL | ( | rt_drg_on_adr | ) |
EXPORT_SYMBOL | ( | rt_drg_on_name | ) |
EXPORT_SYMBOL | ( | rt_register | ) |
EXPORT_SYMBOL | ( | is_process_registered | ) |
EXPORT_SYMBOL | ( | rt_named_task_delete | ) |
EXPORT_SYMBOL | ( | rt_named_task_init_cpuid | ) |
EXPORT_SYMBOL | ( | rt_named_task_init | ) |
EXPORT_SYMBOL | ( | rt_renq_current | ) |
EXPORT_SYMBOL | ( | rt_dequeue_blocked | ) |
EXPORT_SYMBOL | ( | rt_enqueue_blocked | ) |
EXPORT_SYMBOL | ( | rt_rem_timed_task | ) |
EXPORT_SYMBOL | ( | rt_wake_up_timed_tasks | ) |
EXPORT_SYMBOL | ( | rt_enq_timed_task | ) |
EXPORT_SYMBOL | ( | rt_rem_ready_current | ) |
EXPORT_SYMBOL | ( | rt_rem_ready_task | ) |
EXPORT_SYMBOL | ( | rt_renq_ready_task | ) |
EXPORT_SYMBOL | ( | rt_enq_ready_task | ) |
EXPORT_SYMBOL | ( | rt_enq_ready_edf_task | ) |
EXPORT_SYMBOL | ( | rt_nanosleep | ) |
EXPORT_SYMBOL | ( | rt_task_masked_unblock | ) |
EXPORT_SYMBOL | ( | rt_sleep_until | ) |
EXPORT_SYMBOL | ( | rt_sleep | ) |
EXPORT_SYMBOL | ( | rt_busy_sleep | ) |
EXPORT_SYMBOL | ( | next_period | ) |
EXPORT_SYMBOL | ( | rt_set_period | ) |
EXPORT_SYMBOL | ( | rt_set_resume_time | ) |
EXPORT_SYMBOL | ( | rt_task_set_resume_end_times | ) |
EXPORT_SYMBOL | ( | rt_task_wait_period | ) |
EXPORT_SYMBOL | ( | rt_task_make_periodic | ) |
EXPORT_SYMBOL | ( | rt_task_make_periodic_relative_ns | ) |
EXPORT_SYMBOL | ( | rt_gettimeorig | ) |
EXPORT_SYMBOL | ( | rt_task_signal_handler | ) |
EXPORT_SYMBOL | ( | rt_task_use_fpu | ) |
EXPORT_SYMBOL | ( | rt_linux_use_fpu | ) |
EXPORT_SYMBOL | ( | rt_get_task_state | ) |
EXPORT_SYMBOL | ( | rt_task_resume | ) |
EXPORT_SYMBOL | ( | rt_task_suspend_timed | ) |
EXPORT_SYMBOL | ( | rt_task_suspend_until | ) |
EXPORT_SYMBOL | ( | rt_task_suspend_if | ) |
EXPORT_SYMBOL | ( | rt_task_suspend | ) |
EXPORT_SYMBOL | ( | rt_task_yield | ) |
EXPORT_SYMBOL | ( | rt_whoami | ) |
EXPORT_SYMBOL | ( | rt_change_prio | ) |
EXPORT_SYMBOL | ( | rt_get_priorities | ) |
EXPORT_SYMBOL | ( | rt_get_inher_prio | ) |
EXPORT_SYMBOL | ( | rt_get_prio | ) |
EXPORT_SYMBOL | ( | rt_set_sched_policy | ) |
EXPORT_SYMBOL | ( | boot_epoch | ) |
static void* get_adr | ( | unsigned long | name | ) | [inline, static] |
Definition at line 1494 of file api.c.
References hash_find_name(), and lxrt_list.
Referenced by rt_get_adr(), and rt_register().
Here is the call graph for this function:
static void* get_adr_cnt | ( | unsigned long | name | ) | [inline, static] |
Definition at line 1499 of file api.c.
References hash_find_name(), and lxrt_list.
Referenced by rt_get_adr_cnt().
Here is the call graph for this function:
static unsigned long get_name | ( | void * | adr | ) | [inline, static] |
Definition at line 1476 of file api.c.
References flags, hash_find_adr(), lxrt_list, rt_registry_entry::name, rt_spin_lock_irqsave(), and rt_spin_unlock_irqrestore.
Referenced by rt_get_name().
Here is the call graph for this function:
static int get_type | ( | unsigned long | name | ) | [inline, static] |
Definition at line 1504 of file api.c.
References hash_find_name(), lxrt_list, and rt_registry_entry::type.
Referenced by rt_get_type().
Here is the call graph for this function:
static unsigned long hash_find_adr | ( | void * | adr, | |
struct rt_registry_entry * | list, | |||
long | lstlen, | |||
int | inc | |||
) | [static] |
Definition at line 1341 of file api.c.
References COLLISION_COUNT, rt_registry_entry::count, flags, hash_fun, rt_registry_entry::name, rt_registry_entry::nlink, NOADR, rt_spin_lock_irqsave(), and rt_spin_unlock_irqrestore.
Referenced by get_name(), and is_process_registered().
Here is the call graph for this function:
static void* hash_find_name | ( | unsigned long | name, | |
struct rt_registry_entry * | list, | |||
long | lstlen, | |||
int | inc, | |||
int * | slot | |||
) | [static] |
Definition at line 1307 of file api.c.
References rt_registry_entry::adr, rt_registry_entry::alink, COLLISION_COUNT, rt_registry_entry::count, flags, hash_fun, NONAME, rt_spin_lock_irqsave(), and rt_spin_unlock_irqrestore.
Referenced by get_adr(), get_adr_cnt(), and get_type().
Here is the call graph for this function:
static int hash_ins_adr | ( | void * | adr, | |
struct rt_registry_entry * | list, | |||
int | lstlen, | |||
int | nlink | |||
) | [static] |
Definition at line 1236 of file api.c.
References rt_registry_entry::adr, rt_registry_entry::alink, COLLISION_COUNT, flags, hash_fun, rt_registry_entry::nlink, NOADR, rt_spin_lock_irqsave(), and rt_spin_unlock_irqrestore.
Referenced by hash_ins_name().
Here is the call graph for this function:
static int hash_ins_name | ( | unsigned long | name, | |
void * | adr, | |||
int | type, | |||
struct task_struct * | lnxtsk, | |||
struct rt_registry_entry * | list, | |||
int | lstlen, | |||
int | inc | |||
) | [static] |
Definition at line 1267 of file api.c.
References rt_registry_entry::alink, COLLISION_COUNT, rt_registry_entry::count, flags, hash_fun, hash_ins_adr(), rt_registry_entry::name, NONAME, rt_spin_lock_irqsave(), rt_spin_unlock_irqrestore, rt_registry_entry::tsk, and rt_registry_entry::type.
Referenced by registr().
Here is the call graph for this function:
static int hash_rem_adr | ( | void * | adr, | |
struct rt_registry_entry * | list, | |||
long | lstlen, | |||
int | dec | |||
) | [static] |
Definition at line 1412 of file api.c.
References rt_registry_entry::adr, COLLISION_COUNT, rt_registry_entry::count, count, flags, hash_fun, rt_registry_entry::name, rt_registry_entry::nlink, NOADR, NONAME, rt_spin_lock_irqsave(), and rt_spin_unlock_irqrestore.
Referenced by drg_on_adr(), and drg_on_adr_cnt().
Here is the call graph for this function:
static int hash_rem_name | ( | unsigned long | name, | |
struct rt_registry_entry * | list, | |||
long | lstlen, | |||
int | dec | |||
) | [static] |
Definition at line 1372 of file api.c.
References rt_registry_entry::adr, rt_registry_entry::alink, COLLISION_COUNT, rt_registry_entry::count, count, flags, hash_fun, rt_registry_entry::name, NOADR, NONAME, rt_spin_lock_irqsave(), and rt_spin_unlock_irqrestore.
Referenced by drg_on_name(), and drg_on_name_cnt().
Here is the call graph for this function:
unsigned long is_process_registered | ( | struct task_struct * | lnxtsk | ) |
Definition at line 1514 of file api.c.
References rt_registry_entry::adr, hash_find_adr(), lxrt_list, and TSKEXT0.
Referenced by linux_process_termination().
Here is the call graph for this function:
void krtai_objects_release | ( | void | ) |
Definition at line 1866 of file api.c.
References rt_registry_entry::adr, IS_MBX, IS_PRX, IS_RWL, IS_SEM, IS_SPL, IS_TASK, rt_registry_entry::name, NAMED_MBX_DELETE, NAMED_RWL_DELETE, NAMED_SEM_DELETE, NAMED_SPL_DELETE, PROXY_DETACH, rt_drg_on_adr(), rt_get_registry_slot(), rt_named_task_delete(), rt_printk(), and rt_registry_entry::type.
Referenced by __rtai_lxrt_exit().
Here is the call graph for this function:
RTIME next_period | ( | void | ) |
Get the time a periodic task will be resumed after calling rt_task_wait_period.
this function returns the time when the caller task will run next. Combined with the appropriate rt_get_time function() it can be used for checking the fraction of period used or any period overrun.
Definition at line 937 of file api.c.
References flags.
static int registr | ( | unsigned long | name, | |
void * | adr, | |||
int | type, | |||
struct task_struct * | lnxtsk | |||
) | [inline, static] |
Definition at line 1451 of file api.c.
References hash_ins_name(), and lxrt_list.
Referenced by rt_register().
Here is the call graph for this function:
RTAI_SYSCALL_MODE void rt_busy_sleep | ( | int | ns | ) |
Delay/suspend execution for a while.
rt_busy_sleep delays the execution of the caller task without giving back the control to the scheduler. This function burns away CPU cycles in a busy wait loop so it should be used only for very short synchronization delays. On machine not having a TSC clock it can lead to many microseconds uncertain busy sleeps because of the need of reading the 8254 timer.
ns | is the number of nanoseconds to wait. |
Definition at line 966 of file api.c.
References llimd(), rtai_rdtsc, and tuned.
Here is the call graph for this function:
RTAI_SYSCALL_MODE int rt_change_prio | ( | RT_TASK * | task, | |
int | priority | |||
) |
rt_change_prio changes the base priority of task task to prio.
Recall that a task has a base native priority, assigned at its birth or by rt_change_prio(), and an actual, inherited, priority. They can be different because of priority inheritance.
task | is the affected task. | |
priority | is the new priority, it can range within 0 < prio < RT_SCHED_LOWEST_PRIORITY. |
Definition at line 190 of file api.c.
References flags, RT_SCHED_READY, RT_SCHED_RETURN, RT_SCHED_RPC, RT_SCHED_SEMAPHORE, RT_SCHED_SEND, rt_schedule(), rt_smp_linux_task, RTE_HIGERR, and task.
Here is the call graph for this function:
void rt_dequeue_blocked | ( | RT_TASK * | task | ) |
Definition at line 1152 of file api.c.
References dequeue_blocked(), and task.
Here is the call graph for this function:
int rt_drg_on_adr_cnt | ( | void * | adr | ) |
Definition at line 1852 of file api.c.
References drg_on_adr_cnt().
Referenced by rt_named_mbx_delete(), rt_named_msgq_delete(), rt_named_rwl_delete(), rt_named_sem_delete(), and rt_named_spl_delete().
Here is the call graph for this function:
int rt_drg_on_name_cnt | ( | unsigned long | name | ) |
Definition at line 1847 of file api.c.
References drg_on_name_cnt().
Referenced by __rtai_shm_exit(), _rt_shm_free(), linux_process_termination(), and rt_named_hfree_typed().
Here is the call graph for this function:
void rt_enqueue_blocked | ( | RT_TASK * | task, | |
QUEUE * | queue, | |||
int | qtype | |||
) |
Definition at line 1147 of file api.c.
References enqueue_blocked(), and task.
Here is the call graph for this function:
void rt_exec_linux_syscall | ( | RT_TASK * | rt_current, | |
struct linux_syscalls_list * | syscalls, | |||
struct pt_regs * | regs | |||
) |
Definition at line 2000 of file api.c.
References ASYNC_LINUX_SYSCALL, linux_syscalls_list::in, in, mode_regs::mode, linux_syscalls_list::moderegs, out, mode_regs::pacargs, mode_regs::regs, linux_syscalls_list::retval, rt_task_resume(), rt_task_suspend(), and SYNC_LINUX_SYSCALL.
Referenced by lxrt_intercept_syscall_prologue().
Here is the call graph for this function:
RTAI_SYSCALL_MODE void* rt_get_adr | ( | unsigned long | name | ) |
void* rt_get_adr_cnt | ( | unsigned long | name | ) |
Definition at line 1857 of file api.c.
References get_adr_cnt().
Referenced by _rt_named_msgq_init(), _rt_named_rwl_init(), _rt_named_spl_init(), _rt_shm_alloc(), _rt_typed_named_mbx_init(), _rt_typed_named_sem_init(), rt_named_halloc_typed(), and rtai_shm_vm_open().
Here is the call graph for this function:
void rt_get_boot_epoch | ( | void | ) |
Definition at line 674 of file api.c.
References _rt_get_boot_epoch().
Referenced by rt_gettimeorig().
Here is the call graph for this function:
int rt_get_inher_prio | ( | RT_TASK * | task | ) |
rt_get_prio returns the base priority task task has inherited from other tasks, either blocked on resources owned by or waiting to pass a message to task task.
Recall that a task has a base native priority, assigned at its birth or by rt_change_prio(), and an actual, inherited, priority. They can be different because of priority inheritance.
task | is the affected task. |
Definition at line 100 of file api.c.
References task.
RTAI_SYSCALL_MODE unsigned long rt_get_name | ( | void * | adr | ) |
Definition at line 1832 of file api.c.
References get_name().
Here is the call graph for this function:
int rt_get_prio | ( | RT_TASK * | task | ) |
rt_get_prio returns the base priority of task task.
Recall that a task has a base native priority, assigned at its birth or by rt_change_prio(), and an actual, inherited, priority. They can be different because of priority inheritance.
task | is the affected task. |
Definition at line 74 of file api.c.
References task.
RTAI_SYSCALL_MODE int rt_get_priorities | ( | RT_TASK * | task, | |
int * | priority, | |||
int * | base_priority | |||
) |
Check inheredited and base priority.
rt_get_priorities returns the base and inherited priorities of a task.
Recall that a task has a base native priority, assigned at its birth or by rt_change_prio(), and an actual, inherited, priority. They can be different because of priority inheritance.
task | is the affected task. | |
priority | the actual, e.e. inherited priority. | |
base_priority | the base priority. |
Definition at line 130 of file api.c.
References task.
int rt_get_registry_slot | ( | int | slot, | |
struct rt_registry_entry * | entry | |||
) |
Definition at line 1520 of file api.c.
References rt_registry_entry::adr, rt_registry_entry::alink, flags, lxrt_list, rt_registry_entry::name, NONAME, rt_spin_lock_irqsave(), and rt_spin_unlock_irqrestore.
Referenced by __rtai_shm_exit(), krtai_objects_release(), and linux_process_termination().
Here is the call graph for this function:
int rt_get_task_state | ( | RT_TASK * | task | ) |
rt_get_task_state returns the state of a real time task.
task | is a pointer to the task structure. |
READY | Task task is ready to run (i.e. unblocked). Note that on a UniProcessor machine the currently running task is just in READY state, while on MultiProcessors can be (READY | RUNNING), see below. | |
SUSPENDED | Task task blocked waiting for a resume. | |
DELAYED | Task task blocked waiting for its next running period or expiration of a timeout. | |
SEMAPHORE | Task task blocked on a semaphore, waiting for the semaphore to be signaled. | |
SEND | Task task blocked on sending a message, receiver was not in RECEIVE state. | |
RECEIVE | Task task blocked waiting for incoming messages, sends or rpcs. | |
RPC | Task task blocked on a Remote Procedure Call, receiver was not in RECEIVE state. | |
RETURN | Task task blocked waiting for a return from a Remote Procedure Call, receiver got the RPC but has not replied yet. | |
RUNNING | Task task is running, used only for SMP schedulers. |
Definition at line 544 of file api.c.
References task.
int rt_get_type | ( | unsigned long | name | ) |
Definition at line 1842 of file api.c.
References get_type().
Referenced by rt_set_heap(), rt_shm_alloc_usp(), rt_shm_size(), rtai_shm_f_ioctl(), rtai_shm_f_mmap(), and rtai_shm_vm_close().
Here is the call graph for this function:
void rt_gettimeorig | ( | RTIME | time_orig[] | ) |
Definition at line 681 of file api.c.
References _rt_get_boot_epoch(), and rt_get_boot_epoch().
Here is the call graph for this function:
void rt_linux_use_fpu | ( | int | use_fpu_flag | ) |
rt_linux_use_fpu informs the scheduler that floating point arithmetic operations will be used also by foreground Linux processes, i.e. the Linux kernel itself (unlikely) and any of its processes.
use_fpu_flag | If this parameter has a nonzero value, the Floating Point Unit (FPU) context is also switched when task or the kernel becomes active. This makes task switching slower, negligibly, on all 32 bits CPUs but 386s and the oldest 486s. This flag can be set also by rt_task_init when the real time task is created. With UP and MUP schedulers care is taken to avoid useless saves/ restores of the FPU environment. Under SMP tasks can be moved from CPU to CPU so saves/restores for tasks using the FPU are always carried out. Note that by default Linux has this flag cleared. Beside by using rt_linux_use_fpu you can change the Linux FPU flag when you insmod any RTAI scheduler module by setting the LinuxFpu command line parameter of the rtai_sched module itself. |
Definition at line 579 of file api.c.
References cpuid.
RTAI_SYSCALL_MODE int rt_named_task_delete | ( | RT_TASK * | task | ) |
Definition at line 1200 of file api.c.
References rt_drg_on_adr(), rt_free(), rt_task_delete, and task.
Referenced by krtai_objects_release().
Here is the call graph for this function:
RTAI_SYSCALL_MODE RT_TASK* rt_named_task_init | ( | const char * | task_name, | |
void(*)(long) | thread, | |||
long | data, | |||
int | stack_size, | |||
int | prio, | |||
int | uses_fpu, | |||
void(*)(void) | signal | |||
) |
Definition at line 1164 of file api.c.
References IS_TASK, rt_free(), rt_get_adr(), rt_malloc(), rt_register(), rt_task_delete, rt_task_init(), and task.
Here is the call graph for this function:
RTAI_SYSCALL_MODE RT_TASK* rt_named_task_init_cpuid | ( | const char * | task_name, | |
void(*)(long) | thread, | |||
long | data, | |||
int | stack_size, | |||
int | prio, | |||
int | uses_fpu, | |||
void(*)(void) | signal, | |||
unsigned int | run_on_cpu | |||
) |
Definition at line 1182 of file api.c.
References IS_TASK, rt_free(), rt_get_adr(), rt_malloc(), rt_register(), rt_task_delete, rt_task_init_cpuid(), and task.
Here is the call graph for this function:
int rt_nanosleep | ( | struct timespec * | rqtp, | |
struct timespec * | rmtp | |||
) |
Definition at line 1084 of file api.c.
References count2timespec(), rt_get_time(), rt_sleep_until(), and timespec2count().
Here is the call graph for this function:
int rt_registry_alloc | ( | void | ) |
Definition at line 1534 of file api.c.
References lxrt_list, MAX_SLOTS, PRIMES_TAB_GRANULARITY, and printk().
Referenced by __rtai_lxrt_init().
Here is the call graph for this function:
void rt_registry_free | ( | void | ) |
Definition at line 1549 of file api.c.
References lxrt_list.
Referenced by __rtai_lxrt_exit(), and __rtai_lxrt_init().
int rt_renq_ready_task | ( | RT_TASK * | ready_task, | |
int | priority | |||
) |
RTAI_SYSCALL_MODE void rt_set_linux_syscall_mode | ( | long | mode, | |
void(*)(long, long) | callback_fun | |||
) |
RTAI_SYSCALL_MODE void rt_set_sched_policy | ( | RT_TASK * | task, | |
int | policy, | |||
int | rr_quantum_ns | |||
) |
Definition at line 39 of file api.c.
References rt_times::linux_tick, nano2count_cpuid(), rt_smp_times, and task.
Here is the call graph for this function:
RTAI_SYSCALL_MODE int rt_sleep | ( | RTIME | delay | ) |
Delay/suspend execution for a while.
rt_sleep suspends execution of the caller task for a time of delay internal count units. During this time the CPU is used by other tasks.
delay | Corresponds to the time the task is going to be suspended. |
Definition at line 995 of file api.c.
References flags, likely, RT_SCHED_DELAYED, rt_schedule(), RTE_TMROVRN, and RTE_UNBLKD.
Here is the call graph for this function:
RTAI_SYSCALL_MODE int rt_sleep_until | ( | RTIME | time | ) |
Delay/suspend execution for a while.
rt_sleep_until is similar to rt_sleep() but the parameter time is the absolute time till the task have to be suspended. If the given time is already passed this call has no effect.
time | Absolute time till the task have to be suspended |
Definition at line 1038 of file api.c.
References flags, likely, RT_SCHED_DELAYED, rt_schedule(), RTE_TMROVRN, and RTE_UNBLKD.
Here is the call graph for this function:
RTAI_SYSCALL_MODE int rt_task_get_info | ( | RT_TASK * | task, | |
RT_TASK_INFO * | task_info | |||
) |
Get task task data listed in RT_TASK_INFO type.
rt_task_get_info returns task data listed in RT_TASK_INFO type.
task | is the task of interest, NULL can be used for the current task. | |
task_info | a pointer to RT_TASK_INFO. |
Definition at line 156 of file api.c.
References rt_task_info::base_priority, rt_task_info::period, rt_task_info::priority, and task.
rt_task_make_periodic mark the task task, previously created with rt_task_init(), as suitable for a periodic execution, with period period, when rt_task_wait_period() is called.
The time of first execution is defined through start_time or start_delay. start_time is an absolute value measured in clock ticks. start_delay is relative to the current time and measured in nanoseconds.
task | is a pointer to the task you want to make periodic. | |
start_time | is the absolute time to wait before the task start running, in clock ticks. | |
period | corresponds to the period of the task, in clock ticks. |
0 | on success. A negative value on failure as described below:
|
Definition at line 782 of file api.c.
References flags, RT_SCHED_DELAYED, RT_SCHED_SUSPENDED, and task.
RTAI_SYSCALL_MODE int rt_task_make_periodic_relative_ns | ( | RT_TASK * | task, | |
RTIME | start_delay, | |||
RTIME | period | |||
) |
rt_task_make_periodic_relative_ns mark the task task, previously created with rt_task_init(), as suitable for a periodic execution, with period period, when rt_task_wait_period() is called.
The time of first execution is defined through start_time or start_delay. start_time is an absolute value measured in clock ticks. start_delay is relative to the current time and measured in nanoseconds.
task | is a pointer to the task you want to make periodic. | |
start_delay | is the time, to wait before the task start running, in nanoseconds. | |
period | corresponds to the period of the task, in nanoseconds. |
0 | on success. A negative value on failure as described below:
|
Definition at line 723 of file api.c.
References flags, nano2count_cpuid(), rt_get_time_cpuid(), RT_SCHED_DELAYED, RT_SCHED_SUSPENDED, and task.
Here is the call graph for this function:
RTAI_SYSCALL_MODE int rt_task_masked_unblock | ( | RT_TASK * | task, | |
unsigned long | mask | |||
) |
Definition at line 1060 of file api.c.
References flags, RT_SCHED_DELAYED, RT_SCHED_READY, RTE_UNBLKD, RTP_UNBLKD, and task.
RTAI_SYSCALL_MODE int rt_task_resume | ( | RT_TASK * | task | ) |
rt_task_resume resumes execution of the task task previously suspended by rt_task_suspend(), or makes a newly created task ready to run, if it makes the task ready. Since no account is made for multiple suspend rt_task_resume unconditionally resumes any task it makes ready.
task | pointer to a task structure. |
Definition at line 483 of file api.c.
References flags, RT_SCHED_DELAYED, RT_SCHED_READY, RT_SCHED_SUSPENDED, and task.
Definition at line 865 of file api.c.
References flags, RT_SCHED_DELAYED, and rt_schedule().
Here is the call graph for this function:
RTAI_SYSCALL_MODE int rt_task_signal_handler | ( | RT_TASK * | task, | |
void(*)(void) | handler | |||
) |
Set the signal handler of a task.
rt_task_signal_handler installs, or changes, the signal function of a real time task.
task | is a pointer to the real time task. | |
handler | is the entry point of the signal function. |
Definition at line 645 of file api.c.
References task.
RTAI_SYSCALL_MODE int rt_task_suspend | ( | RT_TASK * | task | ) |
rt_task_suspend suspends execution of the task task.
It will not be executed until a call to rt_task_resume() or rt_task_make_periodic() is made. Multiple suspends and require as many rt_task_resume() as the rt_task_suspends placed on a task.
task | pointer to a task structure. |
Definition at line 338 of file api.c.
References flags, RT_SCHED_SUSPENDED, rt_schedule(), RTE_UNBLKD, task, and unlikely.
Here is the call graph for this function:
RTAI_SYSCALL_MODE int rt_task_suspend_if | ( | RT_TASK * | task | ) |
Definition at line 461 of file api.c.
References rt_task_suspend_until(), and task.
Here is the call graph for this function:
Definition at line 401 of file api.c.
References cpuid, flags, RT_SCHED_DELAYED, RT_SCHED_SUSPENDED, rt_schedule(), rt_smp_time_h, RTE_TIMOUT, RTE_UNBLKD, task, and unlikely.
Here is the call graph for this function:
RTAI_SYSCALL_MODE int rt_task_use_fpu | ( | RT_TASK * | task, | |
int | use_fpu_flag | |||
) |
rt_task_use_fpu informs the scheduler that floating point arithmetic operations will be used by the real time task task.
task | is a pointer to the real time task. | |
use_fpu_flag | If this parameter has a nonzero value, the Floating Point Unit (FPU) context is also switched when task or the kernel becomes active. This makes task switching slower, negligibly, on all 32 bits CPUs but 386s and the oldest 486s. This flag can be set also by rt_task_init() when the real time task is created. With UP and MUP schedulers care is taken to avoid useless saves/restores of the FPU environment. Under SMP tasks can be moved from CPU to CPU so saves/restores for tasks using the FPU are always carried out. |
Definition at line 613 of file api.c.
References task.
int rt_task_wait_period | ( | void | ) |
rt_task_wait_period suspends the execution of the currently running real time task until the next period is reached. The task must have been previously marked for a periodic execution by calling rt_task_make_periodic() or rt_task_make_periodic_relative_ns().
Definition at line 826 of file api.c.
References __asm__(), cpuid, flags, likely, RT_SCHED_DELAYED, rt_schedule(), rt_smp_times, rtai_rdtsc, RTE_TMROVRN, RTE_UNBLKD, RTP_OBJREM, and rt_times::tick_time.
Here is the call graph for this function:
void rt_task_yield | ( | void | ) |
rt_task_yield() stops the current task and takes it at the end of the list of ready tasks having its same priority. The scheduler makes the next ready task of the same priority active. If the current task has the highest priority no more then it results in an immediate rescheduling.
Recall that RTAI schedulers allow only higher priority tasks to preempt the execution of lower priority ones. So equal priority tasks cannot preempt each other and rt_task_yield() should be used if a user needs a cooperative time slicing among equal priority tasks. The implementation of the related policy is wholly in the hand of the user. It is believed that time slicing is too much an overhead for the most demanding real time applications, so it is left up to you.
Definition at line 296 of file api.c.
References flags, rt_schedule(), rt_smp_linux_task, and task.
Here is the call graph for this function:
RT_TASK* rt_whoami | ( | void | ) |
Get the task pointer of the current task.
Calling rt_whoami from a task can get a pointer to its own task structure.
Definition at line 271 of file api.c.
Referenced by rt_request_signal_mq(), and watchdog().
unsigned long long col [static] |
Definition at line 1219 of file api.c.
Referenced by column2index(), on_show_data1_activate(), on_show_name1_activate(), on_show_range1_activate(), on_treeview2_button_press_event(), on_treeview2_key_press_event(), and ConfigList::removeColumn().
struct rt_registry_entry* lxrt_list [static] |
Definition at line 1215 of file api.c.
Referenced by drg_on_adr(), drg_on_adr_cnt(), drg_on_name(), drg_on_name_cnt(), get_adr(), get_adr_cnt(), get_name(), get_type(), is_process_registered(), registr(), rt_get_registry_slot(), rt_registry_alloc(), and rt_registry_free().
int max_slots |
Definition at line 1214 of file api.c.
Referenced by __rtai_shm_exit(), and linux_process_termination().
unsigned short primes[] [static] |
Initial value:
{ 1, 103, 211, 307, 401, 503, 601, 701, 809, 907, 1009, 1103, 1201, 1301, 1409, 1511, 1601, 1709, 1801, 1901, 2003, 2111, 2203, 2309, 2411, 2503, 2609, 2707, 2801, 2903, 3001, 3109, 3203, 3301, 3407, 3511, 3607, 3701, 3803, 3907, 4001, 4111, 4201, 4327, 4409, 4507, 4603, 4703, 4801, 4903, 5003, 5101, 5209, 5303, 5407, 5501, 5623, 5701, 5801, 5903, 6007, 6101, 6203, 6301, 6421, 6521, 6607, 6703, 6803, 6907, 7001, 7103, 7207, 7307, 7411, 7507, 7603, 7703, 7817, 7901, 8009, 8101, 8209, 8311, 8419, 8501, 8609, 8707, 8803, 8923, 9001, 9103, 9203, 9311, 9403, 9511, 9601, 9719, 9803, 9901, 10007, 10103, 10211, 10301, 10427, 10501, 10601, 10709, 10831, 10903, 11003, 11113, 11213, 11311, 11411, 11503, 11597, 11617, 11701, 11801, 11903, 12007, 12101, 12203, 12301, 12401, 12503, 12601, 12703, 12809, 12907, 13001, 13103, 13217, 13309, 13411, 13513, 13613, 13709, 13807, 13901, 14009, 14107, 14207, 14303, 14401, 14503, 14621, 14713, 14813, 14923, 15013, 15101, 15217, 15307, 15401, 15511, 15601, 15727, 15803, 15901, 16001, 16103, 16217, 16301, 16411, 16519, 16603, 16703, 16811, 16901, 17011, 17107, 17203, 17317, 17401, 17509, 17609, 17707, 17807, 17903, 18013, 18119, 18211, 18301, 18401, 18503, 18617, 18701, 18803, 18911, 19001, 19121, 19207, 19301, 19403, 19501, 19603, 19709, 19801, 19913, 20011, 20101 }
struct rt_fun_entry rt_fun_lxrt[] |
Definition at line 1694 of file sched.c.
Referenced by __rtai_netrpc_init(), init_fun_ext(), and lxrt_init().