preliminary interrupts. looks like it is entering the isr but isn't

leaving correctly.
This commit is contained in:
Mariano Alvira 2009-04-20 18:31:13 -04:00
parent 28c1ed2105
commit 09b15558a1
15 changed files with 89 additions and 26 deletions

View file

@ -1,8 +1,7 @@
#ifndef __SYS_INTERRUPT_H__QIHZ66NP8K__
#define __SYS_INTERRUPT_H__QIHZ66NP8K__
#ifndef __SYS_INTERRUPT_H
#define __SYS_INTERRUPT_H
/* Returns true if it handled an activbe interrupt */
/* Returns true if it handled an active interrupt */
typedef int (*SystemInterruptFunc)();
typedef struct _SystemInterruptHandler SystemInterruptHandler;
@ -12,7 +11,6 @@ struct _SystemInterruptHandler
SystemInterruptFunc handler;
};
void
sys_interrupt_enable();
@ -28,4 +26,4 @@ sys_interrupt_prepend_handler(SystemInterruptHandler *handler);
void
sys_interrupt_remove_handler(SystemInterruptHandler *handler);
#endif /* __SYS_INTERRUPT_H__QIHZ66NP8K__ */
#endif /* __SYS_INTERRUPT_H */