rtm.c 931 B

123456789101112131415161718192021222324252627282930313233343536
  1. /*
  2. * File : module.c
  3. * This file is part of RT-Thread RTOS
  4. * COPYRIGHT (C) 2006 - 2010, RT-Thread Development Team
  5. *
  6. * The license and distribution terms for this file may be
  7. * found in the file LICENSE in this distribution or at
  8. * http://www.rt-thread.org/license/LICENSE
  9. *
  10. * Change Logs:
  11. * Date Author Notes
  12. * 2010-04-12 yi.qiu first version
  13. */
  14. #include <rtthread.h>
  15. #include <rtm.h>
  16. /* some buildin kernel symbol */
  17. /* thread symbol */
  18. RTM_EXPORT(rt_thread_init)
  19. RTM_EXPORT(rt_thread_detach)
  20. RTM_EXPORT(rt_thread_create)
  21. RTM_EXPORT(rt_thread_self)
  22. RTM_EXPORT(rt_thread_find)
  23. RTM_EXPORT(rt_thread_startup)
  24. RTM_EXPORT(rt_thread_delete)
  25. RTM_EXPORT(rt_thread_yield)
  26. RTM_EXPORT(rt_thread_delay)
  27. RTM_EXPORT(rt_thread_control)
  28. RTM_EXPORT(rt_thread_suspend)
  29. RTM_EXPORT(rt_thread_resume)
  30. RTM_EXPORT(rt_thread_timeout)
  31. /* kservice symbol */
  32. RTM_EXPORT(rt_kprintf)