RT-Thread RTOS 1.2.0
An open source embedded real-time operating system
|
宏定义 | |
#define | DBG_TAG "kernel.scheduler" |
#define | DBG_LVL DBG_INFO |
#define | SCHEDULER_LOCK_FLAG(percpu) |
#define | SCHEDULER_ENTER_CRITICAL(curthr) |
#define | SCHEDULER_EXIT_CRITICAL(curthr) |
#define | SCHEDULER_CONTEXT_LOCK(percpu) |
#define | SCHEDULER_CONTEXT_UNLOCK(percpu) |
#define | SCHEDULER_LOCK(level) |
#define | SCHEDULER_UNLOCK(level) |
#define | IS_CRITICAL_SWITCH_PEND(pcpu, curthr) |
#define | SET_CRITICAL_SWITCH_FLAG(pcpu, curthr) |
#define | CLR_CRITICAL_SWITCH_FLAG(pcpu, curthr) |
函数 | |
rt_inline void | _fast_spin_lock (struct rt_spinlock *lock) |
rt_inline void | _fast_spin_unlock (struct rt_spinlock *lock) |
rt_inline rt_base_t | _get_global_highest_ready_prio (void) |
rt_inline rt_base_t | _get_local_highest_ready_prio (struct rt_cpu *pcpu) |
void | rt_system_scheduler_init (void) |
void | rt_system_scheduler_start (void) |
变量 | |
rt_list_t | rt_thread_priority_table [RT_THREAD_PRIORITY_MAX] |
#define DBG_TAG "kernel.scheduler" |
在文件 scheduler_mp.c 第 42 行定义.
#define DBG_LVL DBG_INFO |
在文件 scheduler_mp.c 第 43 行定义.
#define SCHEDULER_LOCK_FLAG | ( | percpu | ) |
在文件 scheduler_mp.c 第 49 行定义.
#define SCHEDULER_ENTER_CRITICAL | ( | curthr | ) |
在文件 scheduler_mp.c 第 51 行定义.
#define SCHEDULER_EXIT_CRITICAL | ( | curthr | ) |
在文件 scheduler_mp.c 第 57 行定义.
#define SCHEDULER_CONTEXT_LOCK | ( | percpu | ) |
在文件 scheduler_mp.c 第 63 行定义.
#define SCHEDULER_CONTEXT_UNLOCK | ( | percpu | ) |
在文件 scheduler_mp.c 第 71 行定义.
#define SCHEDULER_LOCK | ( | level | ) |
在文件 scheduler_mp.c 第 79 行定义.
#define SCHEDULER_UNLOCK | ( | level | ) |
在文件 scheduler_mp.c 第 91 行定义.
#define IS_CRITICAL_SWITCH_PEND | ( | pcpu, | |
curthr ) |
在文件 scheduler_mp.c 第 109 行定义.
#define SET_CRITICAL_SWITCH_FLAG | ( | pcpu, | |
curthr ) |
在文件 scheduler_mp.c 第 110 行定义.
#define CLR_CRITICAL_SWITCH_FLAG | ( | pcpu, | |
curthr ) |
在文件 scheduler_mp.c 第 111 行定义.
rt_inline void _fast_spin_lock | ( | struct rt_spinlock * | lock | ) |
Used only on scheduler for optimization of control flows, where the critical region is already guaranteed.
在文件 scheduler_mp.c 第 125 行定义.
引用了 rt_spinlock::lock, rt_hw_spin_lock , 以及 RT_SPIN_LOCK_DEBUG.
rt_inline void _fast_spin_unlock | ( | struct rt_spinlock * | lock | ) |
在文件 scheduler_mp.c 第 132 行定义.
引用了 rt_spinlock::lock, rt_hw_spin_unlock, RT_SPIN_UNLOCK_DEBUG , 以及 RT_UNUSED.
rt_inline rt_base_t _get_global_highest_ready_prio | ( | void | ) |
在文件 scheduler_mp.c 第 216 行定义.
引用了 __rt_ffs().
rt_list_t rt_thread_priority_table[RT_THREAD_PRIORITY_MAX] |
在文件 scheduler_mp.c 第 46 行定义.