[BACK]Return to intr.h CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / sys / arch / xen / 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/xen/include/intr.h between version 1.23.6.1 and 1.24

version 1.23.6.1, 2008/06/02 13:22:53 version 1.24, 2008/04/14 13:38:03
Line 16 
Line 16 
  * 2. Redistributions in binary form must reproduce the above copyright   * 2. Redistributions in binary form must reproduce the above copyright
  *    notice, this list of conditions and the following disclaimer in the   *    notice, this list of conditions and the following disclaimer in the
  *    documentation and/or other materials provided with the distribution.   *    documentation and/or other materials provided with the distribution.
    * 3. All advertising materials mentioning features or use of this software
    *    must display the following acknowledgement:
    *        This product includes software developed by the NetBSD
    *        Foundation, Inc. and its contributors.
    * 4. Neither the name of The NetBSD Foundation nor the names of its
    *    contributors may be used to endorse or promote products derived
    *    from this software without specific prior written permission.
  *   *
  * THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS   * THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS
  * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED   * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
Line 98  struct intrhand {
Line 105  struct intrhand {
         int     (*ih_fun)(void *);          int     (*ih_fun)(void *);
         void    *ih_arg;          void    *ih_arg;
         int     ih_level;          int     ih_level;
         int     (*ih_realfun)(void *);  
         void    *ih_realarg;  
         struct  intrhand *ih_ipl_next;          struct  intrhand *ih_ipl_next;
         struct  intrhand *ih_evt_next;          struct  intrhand *ih_evt_next;
         struct cpu_info *ih_cpu;          struct cpu_info *ih_cpu;
Line 118  extern void Xspllower(int);
Line 123  extern void Xspllower(int);
   
 int splraise(int);  int splraise(int);
 void spllower(int);  void spllower(int);
   void softintr(int);
   
 #define SPL_ASSERT_BELOW(x) KDASSERT(curcpu()->ci_ilevel < (x))  #define SPL_ASSERT_BELOW(x) KDASSERT(curcpu()->ci_ilevel < (x))
   
Line 149  splraiseipl(ipl_cookie_t icookie)
Line 155  splraiseipl(ipl_cookie_t icookie)
 #include <sys/spl.h>  #include <sys/spl.h>
   
 /*  /*
    * XXX
    */
   #define setsoftnet()    softintr(SIR_NET)
   
   /*
  * Stub declarations.   * Stub declarations.
  */   */
   
   extern void Xsoftintr(void);
   
 struct cpu_info;  struct cpu_info;
   
 struct pcibus_attach_args;  struct pcibus_attach_args;
   
 #ifdef MULTIPROCESSOR  
 int intr_biglock_wrapper(void *);  
 #endif  
   
 void intr_default_setup(void);  void intr_default_setup(void);
 int x86_nmi(void);  int x86_nmi(void);
 void intr_calculatemasks(struct evtsource *);  void intr_calculatemasks(struct evtsource *);
   
 void *intr_establish(int, struct pic *, int, int, int, int (*)(void *), void *, bool);  void *intr_establish(int, struct pic *, int, int, int, int (*)(void *), void *);
 void intr_disestablish(struct intrhand *);  void intr_disestablish(struct intrhand *);
 const char *intr_string(int);  const char *intr_string(int);
 void cpu_intr_init(struct cpu_info *);  void cpu_intr_init(struct cpu_info *);
Line 176  int intr_find_mpmapping(int, int, struct
Line 185  int intr_find_mpmapping(int, int, struct
 struct pic *intr_findpic(int);  struct pic *intr_findpic(int);
 void intr_add_pcibus(struct pcibus_attach_args *);  void intr_add_pcibus(struct pcibus_attach_args *);
   
 int x86_send_ipi(struct cpu_info *, int);  
 void x86_broadcast_ipi(int);  
 void x86_multicast_ipi(int, int);  
   
 #endif /* !_LOCORE */  #endif /* !_LOCORE */
   
 #endif /* _XEN_INTR_H_ */  #endif /* _XEN_INTR_H_ */

Legend:
Removed from v.1.23.6.1  
changed lines
  Added in v.1.24

CVSweb <webmaster@jp.NetBSD.org>