Changes in uspace/lib/drv/generic/interrupt.c [9359aae:feeac0d] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/drv/generic/interrupt.c
r9359aae rfeeac0d 39 39 #include <errno.h> 40 40 #include <sys/types.h> 41 #include <macros.h>42 41 43 42 #include "ddf/interrupt.h" … … 56 55 static interrupt_context_t *find_interrupt_context( 57 56 interrupt_context_list_t *list, ddf_dev_t *dev, int irq); 57 int register_interrupt_handler(ddf_dev_t *dev, int irq, 58 interrupt_handler_t *handler, irq_code_t *pseudocode); 59 int unregister_interrupt_handler(ddf_dev_t *dev, int irq); 58 60 59 61 /** Interrupts */ … … 66 68 }; 67 69 68 static constirq_code_t default_pseudocode = {70 static irq_code_t default_pseudocode = { 69 71 0, 70 72 NULL, 71 ARRAY_SIZE(default_cmds),73 sizeof(default_cmds) / sizeof(irq_cmd_t), 72 74 default_cmds 73 75 }; … … 167 169 168 170 int register_interrupt_handler(ddf_dev_t *dev, int irq, 169 interrupt_handler_t *handler, constirq_code_t *pseudocode)171 interrupt_handler_t *handler, irq_code_t *pseudocode) 170 172 { 171 173 interrupt_context_t *ctx = create_interrupt_context();
Note:
See TracChangeset
for help on using the changeset viewer.