small change

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@820 bbd45198-f89e-11dd-88c7-29a3b14d5316
This commit is contained in:
qiuyiuestc 2010-08-01 23:25:41 +00:00
parent 9f10586059
commit b3207276bd
2 changed files with 3 additions and 4 deletions

View File

@ -142,14 +142,14 @@ void rt_hw_trap_irq()
if (intstat == INTGLOBAL) return;
/* clear pending register */
ClearPending(1 << intstat);
/* get interrupt service routine */
isr_func = isr_table[intstat];
/* turn to interrupt service routine */
isr_func(intstat);
/* clear pending register */
ClearPending(1 << intstat);
}
void rt_hw_trap_fiq()

View File

@ -36,7 +36,6 @@
#define IS_AW(s) ((s.sh_flags & SHF_ALLOC) && (s.sh_flags & SHF_WRITE))
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)
{