[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.26.2.3 and 1.27

version 1.26.2.3, 2009/08/19 18:46:53 version 1.27, 2008/04/28 20:23:40
Line 41 
Line 41 
 #include <xen/evtchn.h>  #include <xen/evtchn.h>
 #include <machine/cpu.h>  #include <machine/cpu.h>
 #include <machine/pic.h>  #include <machine/pic.h>
 #include <sys/evcnt.h>  
   
 #include "opt_xen.h"  #include "opt_xen.h"
   
Line 71  struct intrstub {
Line 70  struct intrstub {
         void *ist_resume;          void *ist_resume;
 };  };
   
   #ifdef XEN3
 /* for x86 compatibility */  /* for x86 compatibility */
 extern struct intrstub i8259_stubs[];  extern struct intrstub i8259_stubs[];
 extern struct intrstub ioapic_edge_stubs[];  extern struct intrstub ioapic_edge_stubs[];
 extern struct intrstub ioapic_level_stubs[];  extern struct intrstub ioapic_level_stubs[];
   #endif
   
 struct iplsource {  struct iplsource {
         struct intrhand *ipl_handlers;   /* handler chain */          struct intrhand *ipl_handlers;   /* handler chain */
Line 117  extern void Xspllower(int);
Line 118  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 148  splraiseipl(ipl_cookie_t icookie)
Line 150  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;
Line 163  void intr_default_setup(void);
Line 172  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 *);

Legend:
Removed from v.1.26.2.3  
changed lines
  Added in v.1.27

CVSweb <webmaster@jp.NetBSD.org>