projects
/
my-code
/
arm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
basic interrupt functions implemented
[my-code/arm.git]
/
betty
/
interrupts.h
diff --git
a/betty/interrupts.h
b/betty/interrupts.h
index
ab93f8f
..
4ddee8f
100644
(file)
--- a/
betty/interrupts.h
+++ b/
betty/interrupts.h
@@
-44,15
+44,13
@@
#define INTERRUPT_EXT_POLAR_HIGH 1
#define INTERRUPT_SET 0x00
#define INTERRUPT_EXT_POLAR_HIGH 1
#define INTERRUPT_SET 0x00
-#define INTERRUPT_EINUSE 0x01
+#define INTERRUPT_USED 0x01
+#define INTERRUPT_PRIORITY_USED 0x02
/* type definitions */
typedef struct s_interrupt {
/* type definitions */
typedef struct s_interrupt {
- void *default_callback;
- u8 default_mode;
- void *callback[INTERRUPT_MAX_VIC];
- u8 mode[INTERRUPT_MAX_VIC];
+ void (*default_soft_callback)(void);
} t_interrupt;
/* function prototypes */
} t_interrupt;
/* function prototypes */