[BACK]Return to locore.S CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / sys / arch / i386 / i386

Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.

Diff for /src/sys/arch/i386/i386/locore.S between version 1.89 and 1.90

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
   

Legend:
Removed from v.1.89  
changed lines
  Added in v.1.90

CVSweb <webmaster@jp.NetBSD.org>