提交 59b014b6 编写于 作者: B bernard.xiong

move module.h into RT_USING_MODULE

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@767 bbd45198-f89e-11dd-88c7-29a3b14d5316
上级 6254665c
......@@ -16,11 +16,11 @@
#include <rtm.h>
#include <rtthread.h>
#include "module.h"
#include "kservice.h"
/* #define RT_MODULE_DEBUG */
#ifdef RT_USING_MODULE
#include "module.h"
#define elf_module ((Elf32_Ehdr *)module_ptr)
#define shdr ((Elf32_Shdr *)((rt_uint8_t *)module_ptr + elf_module->e_shoff))
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册