From 5b0e4dc40a2fada0d8c0a5858723b3df80efc5d0 Mon Sep 17 00:00:00 2001 From: qiuyiuestc Date: Wed, 21 Jul 2010 00:19:13 +0000 Subject: reconstruct module git-svn-id: https://rt-thread.googlecode.com/svn/trunk@809 bbd45198-f89e-11dd-88c7-29a3b14d5316 --- .../examples/application/basicapp/module_entry.c | 24 ---------------------- 1 file changed, 24 deletions(-) delete mode 100644 components/module/examples/application/basicapp/module_entry.c (limited to 'components/module/examples/application/basicapp/module_entry.c') diff --git a/components/module/examples/application/basicapp/module_entry.c b/components/module/examples/application/basicapp/module_entry.c deleted file mode 100644 index ad3fb698c7..0000000000 --- a/components/module/examples/application/basicapp/module_entry.c +++ /dev/null @@ -1,24 +0,0 @@ -#include -#include - -extern int rt_application_entry(void); -rt_shell_t ishell = RT_NULL; - -int rt_module_entry(const void* shell, void** object_info) -{ - /* init shell */ - ishell = (rt_shell_t)shell; - - rt_kprintf("module entry\n"); - struct rt_module_info *info = (struct rt_module_info*) - rt_malloc(sizeof(struct rt_module_info)); - - info->module_refs = 0; - info->module_type = RT_Module_Class_APP; - info->module_guid = 0xdead; - info->exec_entry = (void *)rt_application_entry; - info->module_interface = RT_NULL; - - *object_info = info; -} - -- cgit v1.3.1