[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.60 and 1.61

version 1.60, 2008/01/04 15:55:32 version 1.61, 2008/01/10 20:14:11
Line 755  ENTRY(cpu_switchto)
Line 755  ENTRY(cpu_switchto)
         movl    PCB_EBP(%ebx),%ebp          movl    PCB_EBP(%ebx),%ebp
         movl    PCB_ESP(%ebx),%esp          movl    PCB_ESP(%ebx),%esp
   
         /* Set curlwp. */          /*
         movl    %edi,CPUVAR(CURLWP)           * Set curlwp.  This must be globally visible in order to permit
            * non-interlocked mutex release.
            */
           movl    %edi,%ecx
           xchgl   %ecx,CPUVAR(CURLWP)
   
         /* Skip the rest if returning to a pinned LWP. */          /* Skip the rest if returning to a pinned LWP. */
         testl   %edx,%edx          testl   %edx,%edx

Legend:
Removed from v.1.60  
changed lines
  Added in v.1.61

CVSweb <webmaster@jp.NetBSD.org>