| version 1.38, 2006/04/12 13:48:52 |
version 1.39, 2006/05/13 08:56:08 |
| Line 773 NENTRY(switch_error) |
|
| Line 773 NENTRY(switch_error) |
|
| |
|
| /* |
/* |
| * void cpu_switch(struct lwp *) |
* void cpu_switch(struct lwp *) |
| * Find a runnable process and switch to it. Wait if necessary. If the new |
* Find a runnable lwp and switch to it. Wait if necessary. If the new |
| * process is the same as the old one, we short-circuit the context save and |
* lwp is the same as the old one, we short-circuit the context save and |
| * restore. |
* restore. |
| * |
* |
| * Note that the stack frame layout is known to "struct switchframe" |
* Note that the stack frame layout is known to "struct switchframe" |