Changeset 69114714 in mainline
- Timestamp:
- 2012-02-12T12:46:52Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 077bc5b9
- Parents:
- 89b6a3b
- Location:
- kernel/generic
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/include/ddi/irq.h
r89b6a3b r69114714 134 134 /** Notification configuration structure. */ 135 135 ipc_notif_cfg_t notif_cfg; 136 137 as_t *driver_as;138 136 } irq_t; 139 137 -
kernel/generic/src/ipc/irq.c
r89b6a3b r69114714 174 174 irq->notif_cfg.code = code; 175 175 irq->notif_cfg.counter = 0; 176 irq->driver_as = AS;177 176 178 177 /* … … 364 363 if (!code) 365 364 return IRQ_DECLINE; 366 367 as_t *current_as = AS;368 if (current_as != irq->driver_as)369 as_switch(AS, irq->driver_as);370 365 371 366 for (size_t i = 0; i < code->cmdcount; i++) { … … 455 450 } 456 451 457 if (AS != current_as)458 as_switch(AS, current_as);459 460 452 return IRQ_DECLINE; 461 453 }
Note:
See TracChangeset
for help on using the changeset viewer.