mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2025-11-16 12:34:33 +00:00
update module
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@933 bbd45198-f89e-11dd-88c7-29a3b14d5316
This commit is contained in:
@@ -389,7 +389,7 @@ struct rt_module
|
||||
/* inherit from object */
|
||||
struct rt_object parent;
|
||||
|
||||
void* module_space;
|
||||
rt_uint8_t* module_space;
|
||||
|
||||
void* module_entry;
|
||||
rt_uint32_t stack_size;
|
||||
|
||||
@@ -303,6 +303,7 @@ rt_err_t rt_device_control(rt_device_t dev, rt_uint8_t cmd, void* arg);
|
||||
*/
|
||||
|
||||
rt_module_t rt_module_load(const rt_uint8_t* name, void* module_ptr);
|
||||
rt_module_t rt_module_load_from_file(const rt_uint8_t* name, const char* filename);
|
||||
rt_err_t rt_module_unload(rt_module_t module);
|
||||
rt_err_t rt_module_self_set (rt_module_t module);
|
||||
rt_module_t rt_module_self (void);
|
||||
|
||||
Reference in New Issue
Block a user