[BACK]Return to cpu.h CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / sys / arch / powerpc / include

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

Diff for /src/sys/arch/powerpc/include/cpu.h between version 1.88 and 1.88.6.3

version 1.88, 2011/06/30 00:52:59 version 1.88.6.3, 2012/04/29 23:04:41
Line 213  curcpu(void)
Line 213  curcpu(void)
         return ci;          return ci;
 }  }
   
   #ifdef __clang__
   #define curlwp                  (curcpu()->ci_curlwp)
   #else
 register struct lwp *powerpc_curlwp __asm("r13");  register struct lwp *powerpc_curlwp __asm("r13");
 #define curlwp                  powerpc_curlwp  #define curlwp                  powerpc_curlwp
   #endif
 #define curpcb                  (curcpu()->ci_curpcb)  #define curpcb                  (curcpu()->ci_curpcb)
 #define curpm                   (curcpu()->ci_curpm)  #define curpm                   (curcpu()->ci_curpm)
   
Line 405  void oea_init(void (*)(void));
Line 409  void oea_init(void (*)(void));
 void    oea_startup(const char *);  void    oea_startup(const char *);
 void    oea_dumpsys(void);  void    oea_dumpsys(void);
 void    oea_install_extint(void (*)(void));  void    oea_install_extint(void (*)(void));
 paddr_t kvtop(void *);  paddr_t kvtop(void *);
   
 extern paddr_t msgbuf_paddr;  extern paddr_t msgbuf_paddr;
 extern int cpu_altivec;  extern int cpu_altivec;
Line 444  void __syncicache(void *, size_t);
Line 448  void __syncicache(void *, size_t);
 #define CPU_POWERSAVE           8       /* int: use CPU powersave mode */  #define CPU_POWERSAVE           8       /* int: use CPU powersave mode */
 #define CPU_BOOTED_DEVICE       9       /* string: device we booted from */  #define CPU_BOOTED_DEVICE       9       /* string: device we booted from */
 #define CPU_BOOTED_KERNEL       10      /* string: kernel we booted */  #define CPU_BOOTED_KERNEL       10      /* string: kernel we booted */
 #define CPU_MAXID               11      /* number of valid machdep ids */  #define CPU_EXECPROT            11      /* bool: PROT_EXEC works */
   #define CPU_MAXID               12      /* number of valid machdep ids */
   
 #endif  /* _POWERPC_CPU_H_ */  #endif  /* _POWERPC_CPU_H_ */

Legend:
Removed from v.1.88  
changed lines
  Added in v.1.88.6.3

CVSweb <webmaster@jp.NetBSD.org>