Changes in uspace/lib/drv/include/ddf/interrupt.h [9359aae:8820544] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/drv/include/ddf/interrupt.h
r9359aae r8820544 49 49 */ 50 50 51 typedef void interrupt_handler_t( ddf_dev_t *, ipc_callid_t, ipc_call_t *);51 typedef void interrupt_handler_t(ipc_callid_t, ipc_call_t *, ddf_dev_t *); 52 52 53 typedef struct interrupt_context {54 int id;55 ddf_dev_t *dev;56 int irq;57 interrupt_handler_t *handler;58 link_t link;59 } interrupt_context_t;60 61 typedef struct interrupt_context_list {62 int curr_id;63 list_t contexts;64 fibril_mutex_t mutex;65 } interrupt_context_list_t;66 67 extern void interrupt_init(void);68 53 extern int register_interrupt_handler(ddf_dev_t *, int, interrupt_handler_t *, 69 54 const irq_code_t *);
Note:
See TracChangeset
for help on using the changeset viewer.