| version 1.89, 2009/10/19 18:41:10 |
version 1.90, 2009/11/25 14:28:50 |
| Line 989 ENTRY(cpu_switchto) |
|
| Line 989 ENTRY(cpu_switchto) |
|
| jne 5f |
jne 5f |
| |
|
| /* |
/* |
| * Restore cr0 (including FPU state). Raise the IPL to IPL_IPI. |
* Restore cr0 (including FPU state). Raise the IPL to IPL_HIGH. |
| * FPU IPIs can alter the LWP's saved cr0. Dropping the priority |
* FPU IPIs can alter the LWP's saved cr0. Dropping the priority |
| * is deferred until mi_switch(), when cpu_switchto() returns. |
* is deferred until mi_switch(), when cpu_switchto() returns. |
| */ |
*/ |
| 2: |
2: |
| #ifndef XEN |
#ifndef XEN |
| movl $IPL_IPI,CPUVAR(ILEVEL) |
movl $IPL_HIGH,CPUVAR(ILEVEL) |
| movl PCB_CR0(%ebx),%ecx /* has CR0_TS clear */ |
movl PCB_CR0(%ebx),%ecx /* has CR0_TS clear */ |
| movl %cr0,%edx |
movl %cr0,%edx |
| |
|