提交 d0dcdd11 编写于 作者: B Bernard Xiong

[Kernel] Export more symbols for module.

上级 3dc91bf8
...@@ -178,6 +178,7 @@ rt_module_t rt_module_self(void) ...@@ -178,6 +178,7 @@ rt_module_t rt_module_self(void)
/* return current module */ /* return current module */
return (rt_module_t)tid->module_id; return (rt_module_t)tid->module_id;
} }
RTM_EXPORT(rt_module_self);
static int rt_module_arm_relocate(struct rt_module *module, static int rt_module_arm_relocate(struct rt_module *module,
Elf32_Rel *rel, Elf32_Rel *rel,
...@@ -1563,6 +1564,7 @@ rt_module_t rt_module_find(const char *name) ...@@ -1563,6 +1564,7 @@ rt_module_t rt_module_find(const char *name)
/* not found */ /* not found */
return RT_NULL; return RT_NULL;
} }
RTM_EXPORT(rt_module_find);
#ifdef RT_USING_SLAB #ifdef RT_USING_SLAB
/* /*
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册