Changeset 2300b9d in mainline for uspace/lib/libdrv/generic/driver.c
- Timestamp:
- 2010-04-30T08:29:42Z (15 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- dafe675
- Parents:
- 7f8b581
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/libdrv/generic/driver.c
r7f8b581 r2300b9d 81 81 82 82 static void driver_irq_handler(ipc_callid_t iid, ipc_call_t *icall) 83 { 83 { 84 84 int id = (int)IPC_GET_METHOD(*icall); 85 85 interrupt_context_t *ctx = find_interrupt_context_by_id(&interrupt_contexts, id); 86 (*ctx->handler)(ctx->dev, iid, icall); 86 if (NULL != ctx && NULL != ctx->handler) { 87 (*ctx->handler)(ctx->dev, iid, icall); 88 } 87 89 } 88 90
Note:
See TracChangeset
for help on using the changeset viewer.