[BACK]Return to psl.h CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / sys / arch / sparc64 / 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/sparc64/include/psl.h between version 1.25 and 1.26

version 1.25, 2003/11/15 05:24:51 version 1.26, 2004/03/14 18:18:54
Line 256  static __inline void setcwp __P((int));
Line 256  static __inline void setcwp __P((int));
 static __inline void splx __P((int));  static __inline void splx __P((int));
 #endif  #endif
 static __inline u_int64_t getver __P((void));  static __inline u_int64_t getver __P((void));
   static __inline int intr_disable __P((void));
   static __inline void intr_restore __P((int));
   
 /*  /*
  * GCC pseudo-functions for manipulating privileged registers   * GCC pseudo-functions for manipulating privileged registers
Line 296  static __inline u_int64_t getver()
Line 298  static __inline u_int64_t getver()
         return (ver);          return (ver);
 }  }
   
   static __inline int
   intr_disable(void)
   {
           int pstate = getpstate();
   
           setpstate(pstate & ~PSTATE_IE);
           return (pstate);
   }
   
   static __inline void
   intr_restore(int pstate)
   {
           setpstate(pstate);
   }
   
 /*  /*
  * GCC pseudo-functions for manipulating PIL   * GCC pseudo-functions for manipulating PIL
  */   */

Legend:
Removed from v.1.25  
changed lines
  Added in v.1.26

CVSweb <webmaster@jp.NetBSD.org>