| version 1.21, 2004/01/04 11:44:52 |
version 1.22, 2004/02/13 11:36:13 |
| Line 1929 switch_restored: |
|
| Line 1929 switch_restored: |
|
| movl PCB_CR0(%esi),%ecx |
movl PCB_CR0(%esi),%ecx |
| #ifdef MULTIPROCESSOR |
#ifdef MULTIPROCESSOR |
| /* |
/* |
| * If our floating point registers are on a different cpu, |
* If our floating point registers are on a different CPU, |
| * clear CR0_TS so we'll trap rather than reuse bogus state. |
* clear CR0_TS so we'll trap rather than reuse bogus state. |
| */ |
*/ |
| movl PCB_FPCPU(%esi),%ebx |
movl PCB_FPCPU(%esi),%ebx |
| Line 2029 ENTRY(cpu_switchto) |
|
| Line 2029 ENTRY(cpu_switchto) |
|
| |
|
| /* |
/* |
| * void cpu_exit(struct lwp *l) |
* void cpu_exit(struct lwp *l) |
| * Switch to the appropriate idle context (lwp0's if uniprocessor; the cpu's |
* Switch to the appropriate idle context (lwp0's if uniprocessor; the CPU's |
| * if multiprocessor) and deallocate the address space and kernel stack for p. |
* if multiprocessor) and deallocate the address space and kernel stack for p. |
| * Then jump into cpu_switch(), as if we were in the idle proc all along. |
* Then jump into cpu_switch(), as if we were in the idle proc all along. |
| */ |
*/ |