[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.43.4.5 and 1.43.4.6

version 1.43.4.5, 2007/01/11 22:22:56 version 1.43.4.6, 2007/01/19 19:35:22
Line 1155  ENTRY(cpu_exit)
Line 1155  ENTRY(cpu_exit)
         movl    CPUVAR(IDLE_PCB),%esi          movl    CPUVAR(IDLE_PCB),%esi
         movl    CPUVAR(IDLE_TSS_SEL),%edx          movl    CPUVAR(IDLE_TSS_SEL),%edx
 #endif  #endif
         /* In case we fault... */  
         movl    $0,CPUVAR(CURLWP)  
   
         /* Restore the idle context. */          /* Restore the idle context. */
         cli          cli
   
           /* In case we fault... */
           movl    $0,CPUVAR(CURLWP)
   
         /* Restore stack pointers. */          /* Restore stack pointers. */
         movl    PCB_ESP(%esi),%esp          movl    PCB_ESP(%esi),%esp
         movl    PCB_EBP(%esi),%ebp          movl    PCB_EBP(%esi),%ebp
Line 1190  ENTRY(cpu_exit)
Line 1191  ENTRY(cpu_exit)
         /* Interrupts are okay again. */          /* Interrupts are okay again. */
         sti          sti
   
         /*  
          * Schedule the dead LWP's stack to be freed.  
          */  
         pushl   %edi  
         call    _C_LABEL(lwp_exit2)  
         addl    $4,%esp  
   
         /* Jump into cpu_switch() with the right state. */          /* Jump into cpu_switch() with the right state. */
         xorl    %esi,%esi          xorl    %esi,%esi
         movl    %esi,CPUVAR(CURLWP)          movl    %esi,CPUVAR(CURLWP)

Legend:
Removed from v.1.43.4.5  
changed lines
  Added in v.1.43.4.6

CVSweb <webmaster@jp.NetBSD.org>