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

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

Diff for /src/sys/arch/macppc/macppc/locore.S between version 1.37 and 1.38

version 1.37, 2001/03/07 08:12:55 version 1.38, 2001/03/22 04:11:46
Line 54 
Line 54 
 /*  /*
  * Get varios per-cpu values.   * Get varios per-cpu values.
  */   */
 #ifdef notyet  #if 1
 #define GET_CPUINFO(r)  \  #define GET_CPUINFO(r)  \
         mfsprg  r,0          mfsprg  r,0
 #else  #else
Line 351  _C_LABEL(cpu_spinup_trampoline):
Line 351  _C_LABEL(cpu_spinup_trampoline):
         mtmsr   0          mtmsr   0
         isync          isync
   
         lis     3,cpu_hatchstack@ha          lis     3,_C_LABEL(cpu_hatch_stack)@ha
         lwz     1,cpu_hatchstack@l(3)          lwz     1,_C_LABEL(cpu_hatch_stack)@l(3)
   
         bl      _C_LABEL(cpu_hatch)          bl      _C_LABEL(cpu_hatch)
           bl      _C_LABEL(sched_lock_idle)
 /* Loop forever. */          li      30,0
 1:          b       _ASM_LABEL(Idle)
         sync  
         mfmsr   3  
         oris    3,3,PSL_POW@h  
         mtmsr   3  
         isync  
         b       1b  
   
 #endif  #endif
   
 /*  /*

Legend:
Removed from v.1.37  
changed lines
  Added in v.1.38

CVSweb <webmaster@jp.NetBSD.org>