1 1.17 bouyer /* $NetBSD: intrdefs.h,v 1.17 2020/04/25 15:26:17 bouyer Exp $ */ 2 1.1 bouyer 3 1.10 cherry /* This file co-exists, and is included via machine/intrdefs.h */ 4 1.10 cherry 5 1.10 cherry #ifndef _XEN_INTRDEFS_H_ 6 1.10 cherry #define _XEN_INTRDEFS_H_ 7 1.10 cherry 8 1.10 cherry /* Xen IPI types */ 9 1.10 cherry #define XEN_IPI_HALT 0x00000001 10 1.10 cherry #define XEN_IPI_SYNCH_FPU 0x00000002 11 1.10 cherry #define XEN_IPI_DDB 0x00000004 12 1.10 cherry #define XEN_IPI_XCALL 0x00000008 13 1.11 cherry #define XEN_IPI_HVCB 0x00000010 14 1.12 rmind #define XEN_IPI_GENERIC 0x00000020 15 1.14 ad #define XEN_IPI_AST 0x00000040 16 1.17 bouyer #define XEN_IPI_KPREEMPT 0x00000080 17 1.10 cherry 18 1.12 rmind /* Note: IPI_KICK does not have a handler. */ 19 1.17 bouyer #define XEN_NIPIS 8 20 1.10 cherry 21 1.13 cherry /* The number of 'irqs' that XEN understands */ 22 1.13 cherry #define NUM_XEN_IRQS 256 23 1.13 cherry 24 1.15 ad #define XEN_IPI_NAMES { "halt IPI", "FPU synch IPI", \ 25 1.15 ad "DDB IPI", "xcall IPI", \ 26 1.15 ad "HVCB IPI", "generic IPI", \ 27 1.17 bouyer "AST IPI", "kpreempt IPI" } 28 1.15 ad 29 1.10 cherry #endif /* _XEN_INTRDEFS_H_ */ 30