Changes in uspace/lib/drv/generic/interrupt.c [b7fd2a0:24abb85d] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/drv/generic/interrupt.c
rb7fd2a0 r24abb85d 43 43 #include "private/driver.h" 44 44 45 errno_t register_interrupt_handler(ddf_dev_t *dev, int irq, 46 interrupt_handler_t *handler, const irq_code_t *irq_code, 47 cap_handle_t *handle) 45 int register_interrupt_handler(ddf_dev_t *dev, int irq, 46 interrupt_handler_t *handler, const irq_code_t *irq_code) 48 47 { 49 48 return async_irq_subscribe(irq, (async_notification_handler_t) handler, 50 dev, irq_code , handle);49 dev, irq_code); 51 50 } 52 51 53 errno_t unregister_interrupt_handler(ddf_dev_t *dev, cap_handle_t cap)52 int unregister_interrupt_handler(ddf_dev_t *dev, int cap) 54 53 { 55 54 return async_irq_unsubscribe(cap);
Note:
See TracChangeset
for help on using the changeset viewer.