提交 b3207276 编写于 作者: qiuyiuestc's avatar qiuyiuestc

small change

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@820 bbd45198-f89e-11dd-88c7-29a3b14d5316
上级 9f105860
...@@ -142,14 +142,14 @@ void rt_hw_trap_irq() ...@@ -142,14 +142,14 @@ void rt_hw_trap_irq()
if (intstat == INTGLOBAL) return; if (intstat == INTGLOBAL) return;
/* clear pending register */
ClearPending(1 << intstat);
/* get interrupt service routine */ /* get interrupt service routine */
isr_func = isr_table[intstat]; isr_func = isr_table[intstat];
/* turn to interrupt service routine */ /* turn to interrupt service routine */
isr_func(intstat); isr_func(intstat);
/* clear pending register */
ClearPending(1 << intstat);
} }
void rt_hw_trap_fiq() void rt_hw_trap_fiq()
......
...@@ -36,7 +36,6 @@ ...@@ -36,7 +36,6 @@
#define IS_AW(s) ((s.sh_flags & SHF_ALLOC) && (s.sh_flags & SHF_WRITE)) #define IS_AW(s) ((s.sh_flags & SHF_ALLOC) && (s.sh_flags & SHF_WRITE))
struct rt_module* rt_current_module; struct rt_module* rt_current_module;
extern const struct rt_shell ishell;
int rt_module_arm_relocate(struct rt_module* module, Elf32_Rel *rel, Elf32_Addr sym_val) int rt_module_arm_relocate(struct rt_module* module, Elf32_Rel *rel, Elf32_Addr sym_val)
{ {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册