1 /* $NetBSD: intr.h,v 1.2 2005/04/11 12:10:31 yamt Exp $ */ 2 3 4 #ifndef _XEN_INTR_H_ 5 #define _XEN_INTR_H_ 6 7 #include <x86/intr.h> 8 9 #ifndef _LOCORE 10 11 #define IPL_DEBUG 0x1 /* domain debug interrupt */ 12 #define IPL_DIE 0xf /* domain die interrupt */ 13 14 extern struct intrstub xenev_stubs[]; 15 16 #endif /* _LOCORE */ 17 18 /* XXX intrdefs.h */ 19 #define SIR_XENEVT 26 /* not really a soft interrupt. */ 20 #define IPL_SOFTXENEVT IPL_BIO 21 #if !defined(_LOCORE) 22 #define splsoftxenevt() splbio() 23 #endif 24 25 #endif /* _XEN_INTR_H_ */ 26