summaryrefslogtreecommitdiff
path: root/include/rthw.h
diff options
context:
space:
mode:
authorweety <[email protected]>2013-03-17 10:38:38 +0800
committerweety <[email protected]>2013-03-19 11:25:12 +0800
commitb21028474b07f0a17d1c0559e96df0253c787bcd (patch)
tree011790f3674a03a857f49d9efc272a21248220ae /include/rthw.h
parent3de4b92a688bd7332661d13b21a084b6f65c1a01 (diff)
Modify the interrupt interface implementations, changes in the part of the parameter definition.
Diffstat (limited to 'include/rthw.h')
-rw-r--r--include/rthw.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/rthw.h b/include/rthw.h
index 204f822a69..808639c951 100644
--- a/include/rthw.h
+++ b/include/rthw.h
@@ -42,8 +42,8 @@ void rt_hw_interrupt_init(void);
void rt_hw_interrupt_mask(int vector);
void rt_hw_interrupt_umask(int vector);
void rt_hw_interrupt_install(int vector,
- rt_isr_handler_t new_handler,
- rt_isr_handler_t *old_handler);
+ rt_isr_handler_t handler,
+ void *param, char *name);
void rt_hw_interrupt_handle(int vector);
rt_base_t rt_hw_interrupt_disable(void);