提交 783753d9 编写于 作者: B Bernard Xiong

[Kernel] export more symbols.

上级 717db393
...@@ -371,6 +371,7 @@ void rt_enter_critical(void) ...@@ -371,6 +371,7 @@ void rt_enter_critical(void)
/* enable interrupt */ /* enable interrupt */
rt_hw_interrupt_enable(level); rt_hw_interrupt_enable(level);
} }
RTM_EXPORT(rt_enter_critical);
/** /**
* This function will unlock the thread scheduler. * This function will unlock the thread scheduler.
...@@ -398,6 +399,7 @@ void rt_exit_critical(void) ...@@ -398,6 +399,7 @@ void rt_exit_critical(void)
rt_hw_interrupt_enable(level); rt_hw_interrupt_enable(level);
} }
} }
RTM_EXPORT(rt_exit_critical);
/** /**
* Get the scheduler lock level * Get the scheduler lock level
...@@ -408,5 +410,6 @@ rt_uint16_t rt_critical_level(void) ...@@ -408,5 +410,6 @@ rt_uint16_t rt_critical_level(void)
{ {
return rt_scheduler_lock_nest; return rt_scheduler_lock_nest;
} }
RTM_EXPORT(rt_critical_level);
/*@}*/ /*@}*/
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册