|
@@ -39,6 +39,7 @@ void rt_completion_init(struct rt_completion *completion)
|
|
|
rt_list_init(&completion->suspended_list);
|
|
|
rt_hw_interrupt_enable(level);
|
|
|
}
|
|
|
+RTM_EXPORT(rt_completion_init);
|
|
|
|
|
|
rt_err_t rt_completion_wait(struct rt_completion *completion,
|
|
|
rt_int32_t timeout)
|
|
@@ -105,6 +106,7 @@ __exit:
|
|
|
|
|
|
return result;
|
|
|
}
|
|
|
+RTM_EXPORT(rt_completion_wait);
|
|
|
|
|
|
void rt_completion_done(struct rt_completion *completion)
|
|
|
{
|
|
@@ -139,3 +141,5 @@ void rt_completion_done(struct rt_completion *completion)
|
|
|
rt_hw_interrupt_enable(level);
|
|
|
}
|
|
|
}
|
|
|
+RTM_EXPORT(rt_completion_done);
|
|
|
+
|