Include dependency graph for rtai_sched.h:
This graph shows which files directly or indirectly include this file:
Go to the source code of this file.
Data Structures | |
struct | rt_task_info |
struct | rt_task_struct |
struct | QueueBlock |
struct | QueueHook |
Defines | |
#define | RT_SCHED_UP 1 |
#define | RT_SCHED_SMP 2 |
#define | RT_SCHED_MUP 3 |
#define | RT_SCHED_HIGHEST_PRIORITY 0 |
#define | RT_SCHED_LOWEST_PRIORITY 0x3fffFfff |
#define | RT_SCHED_LINUX_PRIORITY 0x7fffFfff |
#define | RT_RESEM_SUSPDEL (-0x7fffFfff) |
#define | RT_SCHED_READY 1 |
#define | RT_SCHED_SUSPENDED 2 |
#define | RT_SCHED_DELAYED 4 |
#define | RT_SCHED_SEMAPHORE 8 |
#define | RT_SCHED_SEND 16 |
#define | RT_SCHED_RECEIVE 32 |
#define | RT_SCHED_RPC 64 |
#define | RT_SCHED_RETURN 128 |
#define | RT_SCHED_MBXSUSP 256 |
#define | RT_SCHED_SFTRDY 512 |
#define | RT_SCHED_POLL 1024 |
#define | RT_SCHED_SIGSUSP (1 << 15) |
#define | RT_RWLINV (11) |
#define | RT_CHGPORTERR (10) |
#define | RT_CHGPORTOK (9) |
#define | RT_NETIMOUT (8) |
#define | RT_DEADLOK (7) |
#define | RT_PERM (6) |
#define | RT_OBJINV (5) |
#define | RT_OBJREM (4) |
#define | RT_TIMOUT (3) |
#define | RT_UNBLKD (2) |
#define | RT_TMROVRN (1) |
#define | RTP_RWLINV ((void *)RT_RWLINV) |
#define | RTP_CHGPORTERR ((void *)RT_CHGPORTERR) |
#define | RTP_CHGPORTOK ((void *)RT_CHGPORTOK) |
#define | RTP_NETIMOUT ((void *)RT_NETIMOUT) |
#define | RTP_DEADLOK ((void *)RT_DEADLOK) |
#define | RTP_PERM ((void *)RT_PERM) |
#define | RTP_OBJINV ((void *)RT_OBJINV) |
#define | RTP_OBJREM ((void *)RT_OBJREM) |
#define | RTP_TIMOUT ((void *)RT_TIMOUT) |
#define | RTP_UNBLKD ((void *)RT_UNBLKD) |
#define | RTP_TMROVRN ((void *)RT_TMROVRN) |
#define | RTP_HIGERR (RTP_RWLINV) |
#define | RTP_LOWERR (RTP_TMROVRN) |
#define | RTE_BASE (0xFFFB) |
#define | RTE_RWLINV (RTE_BASE + RT_RWLINV) |
#define | RTE_CHGPORTERR (RTE_BASE + RT_CHGPORTERR) |
#define | RTE_CHGPORTOK (RTE_BASE + RT_CHGPORTOK) |
#define | RTE_NETIMOUT (RTE_BASE + RT_NETIMOUT) |
#define | RTE_DEADLOK (RTE_BASE + RT_DEADLOK) |
#define | RTE_PERM (RTE_BASE + RT_PERM) |
#define | RTE_OBJINV (RTE_BASE + RT_OBJREM) |
#define | RTE_OBJREM (RTE_BASE + RT_OBJREM) |
#define | RTE_TIMOUT (RTE_BASE + RT_TIMOUT) |
#define | RTE_UNBLKD (RTE_BASE + RT_UNBLKD) |
#define | RTE_TMROVRN (RTE_BASE + RT_TMROVRN) |
#define | RTE_HIGERR (RTE_RWLINV) |
#define | RTE_LOWERR (RTE_TMROVRN) |
#define | RT_EINTR (RTE_UNBLKD) |
#define | rt_is_reterr(i) (i >= RTE_LOWERR) |
#define | RT_IRQ_TASK 0 |
#define | RT_IRQ_TASKLET 1 |
#define | RT_IRQ_TASK_ERR 0x7FFFFFFF |
Typedefs | |
typedef rt_task_info | RT_TASK_INFO |
typedef rt_task_struct | RT_TASK |
typedef QueueBlock | QBLK |
typedef QueueHook | QHOOK |
#define RT_CHGPORTERR (10) |
Definition at line 54 of file rtai_sched.h.
#define RT_CHGPORTOK (9) |
Definition at line 55 of file rtai_sched.h.
#define RT_DEADLOK (7) |
Definition at line 57 of file rtai_sched.h.
#define RT_EINTR (RTE_UNBLKD) |
Definition at line 109 of file rtai_sched.h.
#define RT_IRQ_TASK 0 |
Definition at line 113 of file rtai_sched.h.
#define RT_IRQ_TASK_ERR 0x7FFFFFFF |
Definition at line 115 of file rtai_sched.h.
#define RT_IRQ_TASKLET 1 |
Definition at line 114 of file rtai_sched.h.
#define rt_is_reterr | ( | i | ) | (i >= RTE_LOWERR) |
Definition at line 111 of file rtai_sched.h.
#define RT_NETIMOUT (8) |
Definition at line 56 of file rtai_sched.h.
#define RT_OBJINV (5) |
Definition at line 59 of file rtai_sched.h.
#define RT_OBJREM (4) |
Definition at line 60 of file rtai_sched.h.
#define RT_PERM (6) |
Definition at line 58 of file rtai_sched.h.
#define RT_RESEM_SUSPDEL (-0x7fffFfff) |
Definition at line 38 of file rtai_sched.h.
Referenced by rt_check_current_stack(), rt_sem_delete(), and rt_sem_signal().
#define RT_RWLINV (11) |
Definition at line 53 of file rtai_sched.h.
#define RT_SCHED_DELAYED 4 |
Definition at line 42 of file rtai_sched.h.
Referenced by _rt_bits_wait_until(), clr_rtext(), mbx_signal(), mbx_wait_until(), rt_bits_delete(), rt_bits_reset(), rt_bits_signal(), rt_cndmtx_signal(), rt_cond_signal(), rt_cond_wait_until(), rt_insert_timer(), rt_receive(), rt_receive_if(), rt_receive_until(), rt_return(), rt_rpc(), rt_rpc_if(), rt_rpc_until(), rt_sem_broadcast(), rt_sem_delete(), rt_sem_signal(), rt_sem_wait_until(), rt_send(), rt_send_if(), rt_send_until(), rt_set_resume_time(), rt_set_runnable_on_cpuid(), rt_set_timer_firing_time(), rt_sleep(), rt_sleep_until(), rt_task_make_periodic(), rt_task_make_periodic_relative_ns(), rt_task_masked_unblock(), rt_task_resume(), rt_task_set_resume_end_times(), rt_task_suspend_until(), rt_task_wait_period(), and watchdog().
#define RT_SCHED_HIGHEST_PRIORITY 0 |
Definition at line 34 of file rtai_sched.h.
Referenced by __rtai_wd_init(), rt_register_watchdog(), and set_rtext().
#define RT_SCHED_LINUX_PRIORITY 0x7fffFfff |
Definition at line 36 of file rtai_sched.h.
Referenced by __rt_proxy_attach(), __rtai_lxrt_init(), clr_rtext(), hard_stub_fun(), and soft_stub_fun().
#define RT_SCHED_LOWEST_PRIORITY 0x3fffFfff |
Definition at line 35 of file rtai_sched.h.
Referenced by __rt_proxy_attach(), __rtai_netrpc_init(), __task_init(), and rt_timers_manager().
#define RT_SCHED_MBXSUSP 256 |
Definition at line 48 of file rtai_sched.h.
Referenced by clr_rtext(), mbx_signal(), mbx_wait(), and mbx_wait_until().
#define RT_SCHED_MUP 3 |
#define RT_SCHED_POLL 1024 |
Definition at line 50 of file rtai_sched.h.
#define RT_SCHED_READY 1 |
Definition at line 40 of file rtai_sched.h.
Referenced by __rtai_lxrt_init(), __task_delete(), _rt_schedule_soft_tail(), asgn_min_prio(), clr_rtext(), fast_schedule(), force_current_soft(), kthread_m(), mbx_signal(), port_server_fun(), rt_bits_delete(), rt_bits_reset(), rt_bits_signal(), rt_change_prio(), rt_cndmtx_signal(), rt_cond_signal(), rt_do_force_soft(), rt_receive(), rt_receive_if(), rt_receive_until(), rt_return(), rt_rpc(), rt_rpc_if(), rt_rpc_until(), rt_schedule(), rt_schedule_soft(), rt_sem_broadcast(), rt_sem_delete(), rt_sem_signal(), rt_send(), rt_send_if(), rt_send_until(), rt_signal_wake_up(), rt_task_masked_unblock(), rt_task_resume(), rt_wait_signal(), set_rtext(), soft_kthread_delete(), soft_kthread_init(), and steal_from_linux().
#define RT_SCHED_RECEIVE 32 |
Definition at line 45 of file rtai_sched.h.
Referenced by rt_receive(), rt_receive_until(), rt_rpc(), rt_rpc_if(), rt_rpc_until(), rt_send(), rt_send_if(), rt_send_until(), and watchdog().
#define RT_SCHED_RETURN 128 |
Definition at line 47 of file rtai_sched.h.
Referenced by clr_rtext(), rt_change_prio(), rt_isrpc(), rt_receive(), rt_receive_if(), rt_receive_until(), rt_return(), rt_rpc(), rt_rpc_if(), rt_rpc_until(), and watchdog().
#define RT_SCHED_RPC 64 |
Definition at line 46 of file rtai_sched.h.
Referenced by clr_rtext(), rt_change_prio(), rt_evdrp(), rt_receive(), rt_receive_if(), rt_receive_until(), rt_rpc(), rt_rpc_until(), and watchdog().
#define RT_SCHED_SEMAPHORE 8 |
Definition at line 43 of file rtai_sched.h.
Referenced by _rt_bits_wait(), _rt_bits_wait_until(), clr_rtext(), rt_bits_delete(), rt_bits_reset(), rt_bits_signal(), rt_change_prio(), rt_cndmtx_signal(), rt_cond_signal(), rt_cond_wait(), rt_cond_wait_until(), rt_sem_broadcast(), rt_sem_delete(), rt_sem_signal(), rt_sem_wait(), rt_sem_wait_until(), and watchdog().
#define RT_SCHED_SEND 16 |
Definition at line 44 of file rtai_sched.h.
Referenced by clr_rtext(), rt_change_prio(), rt_evdrp(), rt_receive(), rt_receive_if(), rt_receive_until(), rt_send(), rt_send_until(), and watchdog().
#define RT_SCHED_SFTRDY 512 |
Definition at line 49 of file rtai_sched.h.
Referenced by _rt_schedule_soft_tail(), and rt_schedule().
#define RT_SCHED_SIGSUSP (1 << 15) |
#define RT_SCHED_SMP 2 |
Definition at line 31 of file rtai_sched.h.
#define RT_SCHED_SUSPENDED 2 |
Definition at line 41 of file rtai_sched.h.
Referenced by kthread_m(), rt_sem_delete(), rt_sem_signal(), rt_task_make_periodic(), rt_task_make_periodic_relative_ns(), rt_task_resume(), rt_task_suspend(), rt_task_suspend_until(), rt_wait_tasklet_is_hard(), set_rtext(), soft_kthread_init(), and watchdog().
#define RT_SCHED_UP 1 |
Definition at line 30 of file rtai_sched.h.
#define RT_TIMOUT (3) |
Definition at line 61 of file rtai_sched.h.
#define RT_TMROVRN (1) |
Definition at line 63 of file rtai_sched.h.
#define RT_UNBLKD (2) |
Definition at line 62 of file rtai_sched.h.
#define RTE_BASE (0xFFFB) |
Definition at line 93 of file rtai_sched.h.
Referenced by __wrap_pthread_mutex_lock(), __wrap_sem_timedwait(), __wrap_sem_trywait(), and __wrap_sem_wait().
#define RTE_CHGPORTERR (RTE_BASE + RT_CHGPORTERR) |
#define RTE_CHGPORTOK (RTE_BASE + RT_CHGPORTOK) |
#define RTE_DEADLOK (RTE_BASE + RT_DEADLOK) |
Definition at line 98 of file rtai_sched.h.
Referenced by __wrap_pthread_mutex_destroy(), rt_sem_wait(), rt_sem_wait_if(), and rt_sem_wait_until().
#define RTE_HIGERR (RTE_RWLINV) |
Definition at line 105 of file rtai_sched.h.
Referenced by __task_delete(), rt_change_prio(), rt_receive(), rt_receive_if(), and rt_receive_until().
#define RTE_LOWERR (RTE_TMROVRN) |
Definition at line 106 of file rtai_sched.h.
Referenced by _rt_msg_broadcast(), _rt_msg_broadcast_until(), _rt_msg_receive(), _rt_msg_receive_until(), _rt_msg_send(), _rt_msg_send_until(), hard_stub_fun(), linux_syscall_server_fun(), port_server_fun(), rt_cond_wait(), rt_cond_wait_until(), rt_rwl_rdlock(), rt_rwl_rdlock_until(), rt_rwl_wrlock(), rt_rwl_wrlock_if(), rt_rwl_wrlock_until(), and soft_stub_fun().
#define RTE_NETIMOUT (RTE_BASE + RT_NETIMOUT) |
#define RTE_OBJINV (RTE_BASE + RT_OBJREM) |
Definition at line 100 of file rtai_sched.h.
Referenced by rt_named_rwl_delete(), rt_named_sem_delete(), rt_poll(), rt_rwl_delete(), and RTAI_LXRT().
#define RTE_OBJREM (RTE_BASE + RT_OBJREM) |
Definition at line 101 of file rtai_sched.h.
Referenced by _rt_bits_wait(), _rt_bits_wait_until(), mbx_wait_until(), rt_cond_wait(), rt_cond_wait_until(), rt_mbx_delete(), rt_sem_delete(), rt_sem_wait(), and rt_sem_wait_until().
#define RTE_PERM (RTE_BASE + RT_PERM) |
Definition at line 99 of file rtai_sched.h.
Referenced by __wrap_pthread_mutex_unlock(), rt_cond_wait(), rt_cond_wait_until(), rt_rwl_unlock(), and rt_sem_signal().
#define RTE_RWLINV (RTE_BASE + RT_RWLINV) |
Definition at line 94 of file rtai_sched.h.
Referenced by rt_rwl_rdlock(), and rt_rwl_rdlock_until().
#define RTE_TIMOUT (RTE_BASE + RT_TIMOUT) |
Definition at line 102 of file rtai_sched.h.
Referenced by __wrap_pthread_cond_timedwait(), __wrap_sem_timedwait(), _rt_bits_wait_until(), _rt_net_rpc(), mbx_wait_until(), rt_cond_wait_until(), rt_sem_wait_until(), and rt_task_suspend_until().
#define RTE_TMROVRN (RTE_BASE + RT_TMROVRN) |
Definition at line 104 of file rtai_sched.h.
Referenced by rt_sleep(), rt_sleep_until(), and rt_task_wait_period().
#define RTE_UNBLKD (RTE_BASE + RT_UNBLKD) |
Definition at line 103 of file rtai_sched.h.
Referenced by __wrap_pthread_mutex_lock(), _rt_bits_wait(), _rt_bits_wait_until(), mbx_wait_until(), pthread_make_periodic_np(), rt_cond_wait(), rt_cond_wait_until(), rt_sem_wait(), rt_sem_wait_until(), rt_sleep(), rt_sleep_until(), rt_task_masked_unblock(), rt_task_suspend(), rt_task_suspend_until(), and rt_task_wait_period().
#define RTP_CHGPORTERR ((void *)RT_CHGPORTERR) |
Definition at line 65 of file rtai_sched.h.
#define RTP_CHGPORTOK ((void *)RT_CHGPORTOK) |
Definition at line 66 of file rtai_sched.h.
#define RTP_DEADLOK ((void *)RT_DEADLOK) |
Definition at line 68 of file rtai_sched.h.
#define RTP_HIGERR (RTP_RWLINV) |
Definition at line 75 of file rtai_sched.h.
Referenced by _rt_bits_wait_until(), mbx_wait_until(), rt_cond_wait_until(), rt_receive(), rt_receive_until(), and rt_sem_wait_until().
#define RTP_LOWERR (RTP_TMROVRN) |
Definition at line 76 of file rtai_sched.h.
#define RTP_NETIMOUT ((void *)RT_NETIMOUT) |
Definition at line 67 of file rtai_sched.h.
#define RTP_OBJINV ((void *)RT_OBJINV) |
Definition at line 70 of file rtai_sched.h.
#define RTP_OBJREM ((void *)RT_OBJREM) |
Definition at line 71 of file rtai_sched.h.
Referenced by _rt_bits_wait(), _rt_bits_wait_until(), clr_rtext(), mbx_delete_signal(), rt_bits_delete(), rt_cond_wait(), rt_cond_wait_until(), rt_sem_delete(), rt_sem_wait(), rt_sem_wait_until(), and rt_task_wait_period().
#define RTP_PERM ((void *)RT_PERM) |
Definition at line 69 of file rtai_sched.h.
#define RTP_RWLINV ((void *)RT_RWLINV) |
Definition at line 64 of file rtai_sched.h.
#define RTP_TIMOUT ((void *)RT_TIMOUT) |
Definition at line 72 of file rtai_sched.h.
#define RTP_TMROVRN ((void *)RT_TMROVRN) |
Definition at line 74 of file rtai_sched.h.
#define RTP_UNBLKD ((void *)RT_UNBLKD) |
Definition at line 73 of file rtai_sched.h.
Referenced by mbx_wait_until(), and rt_task_masked_unblock().
typedef struct QueueBlock QBLK |
typedef struct rt_task_struct RT_TASK |
typedef struct rt_task_info RT_TASK_INFO |