[Kernel] export more symbols.

This commit is contained in:
Bernard Xiong 2015-08-03 16:01:50 +08:00
parent 717db3931a
commit 783753d943
1 changed files with 3 additions and 0 deletions

View File

@ -371,6 +371,7 @@ void rt_enter_critical(void)
/* enable interrupt */
rt_hw_interrupt_enable(level);
}
RTM_EXPORT(rt_enter_critical);
/**
* This function will unlock the thread scheduler.
@ -398,6 +399,7 @@ void rt_exit_critical(void)
rt_hw_interrupt_enable(level);
}
}
RTM_EXPORT(rt_exit_critical);
/**
* Get the scheduler lock level
@ -408,5 +410,6 @@ rt_uint16_t rt_critical_level(void)
{
return rt_scheduler_lock_nest;
}
RTM_EXPORT(rt_critical_level);
/*@}*/