version 1.3, 2007/10/08 20:06:19 |
version 1.3.2.1, 2007/11/13 16:02:11 |
Line 132 softint_block(lwp_t *l) |
|
Line 132 softint_block(lwp_t *l) |
|
|
|
/* nothing yet */ |
/* nothing yet */ |
} |
} |
|
|
|
/* |
|
* softint_picklwp: |
|
* |
|
* Slow path: called from mi_switch() to pick the highest priority |
|
* soft interrupt LWP that needs to run. |
|
*/ |
|
lwp_t * |
|
softint_picklwp(void) |
|
{ |
|
|
|
panic("softint_picklwp"); |
|
} |
|
|
|
/* |
|
* softint_overlay: |
|
* |
|
* Slow path: called from lwp_userret() to run a soft interrupt |
|
* within the context of a user thread. If the LWP blocks, |
|
* priority will be elevated in sched_kpri(). |
|
*/ |
|
void |
|
softint_overlay(void) |
|
{ |
|
|
|
panic("softint_overlay"); |
|
} |
|
|
|
/* |
|
* softint_kpri: |
|
* |
|
* Adjust priority for a blocking user LWP that is handling a |
|
* soft interrupt. |
|
*/ |
|
pri_t |
|
softint_kpri(lwp_t *l) |
|
{ |
|
|
|
/* No point doing anything more fair / complicated. */ |
|
return PRI_SOFTSERIAL; |
|
} |