[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.4 and 1.43.4.5

version 1.43.4.4, 2006/12/29 20:27:41 version 1.43.4.5, 2007/01/11 22:22:56
Line 880  ENTRY(cpu_switch)
Line 880  ENTRY(cpu_switch)
         sti          sti
 idle_unlock:  idle_unlock:
 #if defined(MULTIPROCESSOR) || defined(LOCKDEBUG) || defined(DIAGNOSTIC)  #if defined(MULTIPROCESSOR) || defined(LOCKDEBUG) || defined(DIAGNOSTIC)
         pushl   $_C_LABEL(sched_mutex)          call    _C_LABEL(sched_unlock_idle)
         call    _C_LABEL(smutex_exit)  
         addl    $4,%esp  
 #endif  #endif
         /* Interrupts are okay again. */          /* Interrupts are okay again. */
         pushl   $IPL_NONE               # spl0()          pushl   $IPL_NONE               # spl0()
Line 911  idle_exit:
Line 909  idle_exit:
         movl    $IPL_HIGH,CPUVAR(ILEVEL)                # splhigh          movl    $IPL_HIGH,CPUVAR(ILEVEL)                # splhigh
         sti          sti
 #if defined(MULTIPROCESSOR) || defined(LOCKDEBUG) || defined(DIAGNOSTIC)  #if defined(MULTIPROCESSOR) || defined(LOCKDEBUG) || defined(DIAGNOSTIC)
         pushl   $_C_LABEL(sched_mutex)          call    _C_LABEL(sched_lock_idle)
         call    _C_LABEL(smutex_enter)  
         addl    $4,%esp  
 #endif  #endif
         movl    _C_LABEL(sched_whichqs),%ecx          movl    _C_LABEL(sched_whichqs),%ecx
         bsfl    %ecx,%ebx          bsfl    %ecx,%ebx
Line 1067  switch_restored:
Line 1063  switch_restored:
   
 switch_return:  switch_return:
 #if defined(MULTIPROCESSOR) || defined(LOCKDEBUG) || defined(DIAGNOSTIC)  #if defined(MULTIPROCESSOR) || defined(LOCKDEBUG) || defined(DIAGNOSTIC)
         pushl   $_C_LABEL(sched_mutex)          call    _C_LABEL(sched_unlock_idle)
         call    _C_LABEL(smutex_exit)  
         addl    $4,%esp  
 #endif  #endif
         cmpl    $0,CPUVAR(IPENDING)          cmpl    $0,CPUVAR(IPENDING)
         jz      3f          jz      3f

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

CVSweb <webmaster@jp.NetBSD.org>