[BACK]Return to cpu.h CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / sys / arch / sh3 / 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/sh3/include/cpu.h between version 1.48 and 1.49

version 1.48, 2007/12/03 15:34:18 version 1.49, 2007/12/14 00:58:37
Line 79  extern struct cpu_info cpu_info_store;
Line 79  extern struct cpu_info cpu_info_store;
 #define cpu_proc_fork(p1, p2)           /* nothing */  #define cpu_proc_fork(p1, p2)           /* nothing */
   
 /*  /*
    * Interrupt stack location.
    */
   extern vaddr_t intstack, intfp, intsp;
   
   /*
  * Arguments to hardclock and gatherstats encapsulate the previous   * Arguments to hardclock and gatherstats encapsulate the previous
  * machine state in an opaque clockframe.   * machine state in an opaque clockframe.
  */   */
Line 88  struct clockframe {
Line 93  struct clockframe {
         int     ssp;    /* stack pointer at time of interrupt */          int     ssp;    /* stack pointer at time of interrupt */
 };  };
   
   
 #define CLKF_USERMODE(cf)       (!KERNELMODE((cf)->ssr))  #define CLKF_USERMODE(cf)       (!KERNELMODE((cf)->ssr))
 #define CLKF_PC(cf)             ((cf)->spc)  #define CLKF_PC(cf)             ((cf)->spc)
 #define CLKF_INTR(cf)           0       /* XXX */  #define CLKF_INTR(cf)           ((vaddr_t)(cf)->ssp <= intsp)
   
 /*  /*
  * This is used during profiling to integrate system time.  It can safely   * This is used during profiling to integrate system time.  It can safely

Legend:
Removed from v.1.48  
changed lines
  Added in v.1.49

CVSweb <webmaster@jp.NetBSD.org>