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