Changes in kernel/generic/src/ddi/irq.c [b366a6f4:78ffb70] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/src/ddi/irq.c
rb366a6f4 r78ffb70 275 275 { 276 276 /* 277 * If the kernel console override is on, 278 * then try first the kernel handlers 279 * and eventually fall back to uspace 280 * handlers. 277 * If the kernel console is silenced, 278 * then try first the uspace handlers, 279 * eventually fall back to kernel handlers. 281 280 * 282 * I n the usual case the uspace handlers283 * have precedence.281 * If the kernel console is active, 282 * then do it the other way around. 284 283 */ 285 286 if (console_override) { 287 irq_t *irq = irq_dispatch_and_lock_kernel(inr); 284 if (silent) { 285 irq_t *irq = irq_dispatch_and_lock_uspace(inr); 288 286 if (irq) 289 287 return irq; 290 288 291 return irq_dispatch_and_lock_ uspace(inr);292 } 293 294 irq_t *irq = irq_dispatch_and_lock_ uspace(inr);289 return irq_dispatch_and_lock_kernel(inr); 290 } 291 292 irq_t *irq = irq_dispatch_and_lock_kernel(inr); 295 293 if (irq) 296 294 return irq; 297 295 298 return irq_dispatch_and_lock_ kernel(inr);296 return irq_dispatch_and_lock_uspace(inr); 299 297 } 300 298
Note:
See TracChangeset
for help on using the changeset viewer.