|
@@ -17,7 +17,9 @@
|
|
|
|
|
|
/* some buildin kernel symbol */
|
|
|
|
|
|
-/* thread symbol */
|
|
|
+/*
|
|
|
+ * thread interface symbol
|
|
|
+ */
|
|
|
RTM_EXPORT(rt_thread_init)
|
|
|
RTM_EXPORT(rt_thread_detach)
|
|
|
RTM_EXPORT(rt_thread_create)
|
|
@@ -32,5 +34,111 @@ RTM_EXPORT(rt_thread_suspend)
|
|
|
RTM_EXPORT(rt_thread_resume)
|
|
|
RTM_EXPORT(rt_thread_timeout)
|
|
|
|
|
|
-/* kservice symbol */
|
|
|
+#ifdef RT_USING_SEMAPHORE
|
|
|
+/*
|
|
|
+ * semaphore interface symbol
|
|
|
+ */
|
|
|
+RTM_EXPORT(rt_sem_init)
|
|
|
+RTM_EXPORT(rt_sem_detach)
|
|
|
+RTM_EXPORT(rt_sem_create)
|
|
|
+RTM_EXPORT(rt_sem_delete)
|
|
|
+RTM_EXPORT(rt_sem_take)
|
|
|
+RTM_EXPORT(rt_sem_trytake)
|
|
|
+RTM_EXPORT(rt_sem_release)
|
|
|
+RTM_EXPORT(rt_sem_control)
|
|
|
+#endif
|
|
|
+
|
|
|
+#ifdef RT_USING_MUTEX
|
|
|
+/*
|
|
|
+ * mutex interface symbol
|
|
|
+ */
|
|
|
+RTM_EXPORT(rt_mutex_init)
|
|
|
+RTM_EXPORT(rt_mutex_detach)
|
|
|
+RTM_EXPORT(rt_mutex_create)
|
|
|
+RTM_EXPORT(rt_mutex_delete)
|
|
|
+RTM_EXPORT(rt_mutex_take)
|
|
|
+RTM_EXPORT(rt_mutex_release)
|
|
|
+RTM_EXPORT(rt_mutex_control)
|
|
|
+#endif
|
|
|
+
|
|
|
+#ifdef RT_USING_EVENT
|
|
|
+/*
|
|
|
+ * event interface symbol
|
|
|
+ */
|
|
|
+RTM_EXPORT(rt_event_init)
|
|
|
+RTM_EXPORT(rt_event_detach)
|
|
|
+RTM_EXPORT(rt_event_create)
|
|
|
+RTM_EXPORT(rt_event_delete)
|
|
|
+RTM_EXPORT(rt_event_send)
|
|
|
+RTM_EXPORT(rt_event_recv)
|
|
|
+RTM_EXPORT(rt_event_control)
|
|
|
+#endif
|
|
|
+
|
|
|
+#ifdef RT_USING_MAILBOX
|
|
|
+/*
|
|
|
+ * mailbox interface symbol
|
|
|
+ */
|
|
|
+RTM_EXPORT(rt_mb_init)
|
|
|
+RTM_EXPORT(rt_mb_detach)
|
|
|
+RTM_EXPORT(rt_mb_create)
|
|
|
+RTM_EXPORT(rt_mb_delete)
|
|
|
+RTM_EXPORT(rt_mb_send)
|
|
|
+RTM_EXPORT(rt_mb_recv)
|
|
|
+RTM_EXPORT(rt_mb_control)
|
|
|
+#endif
|
|
|
+
|
|
|
+#ifdef RT_USING_MESSAGEQUEUE
|
|
|
+/*
|
|
|
+ * message queue interface symbol
|
|
|
+ */
|
|
|
+RTM_EXPORT(rt_mq_init)
|
|
|
+RTM_EXPORT(rt_mq_detach)
|
|
|
+RTM_EXPORT(rt_mq_create)
|
|
|
+RTM_EXPORT(rt_mq_delete)
|
|
|
+RTM_EXPORT(rt_mq_send)
|
|
|
+RTM_EXPORT(rt_mq_urgent)
|
|
|
+RTM_EXPORT(rt_mq_recv)
|
|
|
+RTM_EXPORT(rt_mq_control)
|
|
|
+#endif
|
|
|
+
|
|
|
+#ifdef RT_USING_MEMPOOL
|
|
|
+/*
|
|
|
+ * memory pool interface symbol
|
|
|
+ */
|
|
|
+RTM_EXPORT(rt_mp_init)
|
|
|
+RTM_EXPORT(rt_mp_detach)
|
|
|
+RTM_EXPORT(rt_mp_create)
|
|
|
+RTM_EXPORT(rt_mp_delete)
|
|
|
+RTM_EXPORT(rt_mp_alloc)
|
|
|
+RTM_EXPORT(rt_mp_free)
|
|
|
+#endif
|
|
|
+
|
|
|
+#ifdef RT_USING_HEAP
|
|
|
+/*
|
|
|
+ * heap memory interface symbol
|
|
|
+ */
|
|
|
+RTM_EXPORT(rt_malloc)
|
|
|
+RTM_EXPORT(rt_free)
|
|
|
+RTM_EXPORT(rt_realloc)
|
|
|
+RTM_EXPORT(rt_calloc)
|
|
|
+#endif
|
|
|
+/*
|
|
|
+ * clock & timer interface symbol
|
|
|
+ */
|
|
|
+RTM_EXPORT(rt_tick_get)
|
|
|
+RTM_EXPORT(rt_tick_from_millisecond)
|
|
|
+RTM_EXPORT(rt_system_timer_init)
|
|
|
+RTM_EXPORT(rt_system_timer_thread_init)
|
|
|
+RTM_EXPORT(rt_timer_init)
|
|
|
+RTM_EXPORT(rt_timer_detach)
|
|
|
+RTM_EXPORT(rt_timer_create)
|
|
|
+RTM_EXPORT(rt_timer_delete)
|
|
|
+RTM_EXPORT(rt_timer_start)
|
|
|
+RTM_EXPORT(rt_timer_stop)
|
|
|
+RTM_EXPORT(rt_timer_control)
|
|
|
+
|
|
|
+/*
|
|
|
+ * kservice interface symbol
|
|
|
+ */
|
|
|
RTM_EXPORT(rt_kprintf)
|
|
|
+
|