intr-internal.h (2d795ab1eaa78c6dd5d214285db7f94ff870bd45) intr-internal.h (6699c22c1cb0f8a355ecb9d030c6990e48f8d7db)
1/*-
2 * SPDX-License-Identifier: MIT OR GPL-2.0-only
3 *
4 * Copyright © 2002-2005 K A Fraser
5 * Copyright © 2005 Intel Corporation <xiaofeng.ling@intel.com>
6 * Copyright © 2005-2006 Kip Macy
7 * Copyright © 2013 Spectra Logic Corporation
8 * Copyright © 2015 Julien Grall

--- 63 unchanged lines hidden (view full) ---

72/******************* Functions implemented by each architecture **************/
73
74#if 0
75/*
76 * These are sample prototypes, the architecture should include its own in
77 * <machine/xen/arch-intr.h>. The architecture may implement these as inline.
78 */
79void xen_arch_intr_init(void);
1/*-
2 * SPDX-License-Identifier: MIT OR GPL-2.0-only
3 *
4 * Copyright © 2002-2005 K A Fraser
5 * Copyright © 2005 Intel Corporation <xiaofeng.ling@intel.com>
6 * Copyright © 2005-2006 Kip Macy
7 * Copyright © 2013 Spectra Logic Corporation
8 * Copyright © 2015 Julien Grall

--- 63 unchanged lines hidden (view full) ---

72/******************* Functions implemented by each architecture **************/
73
74#if 0
75/*
76 * These are sample prototypes, the architecture should include its own in
77 * <machine/xen/arch-intr.h>. The architecture may implement these as inline.
78 */
79void xen_arch_intr_init(void);
80struct xenisrc *xen_arch_intr_alloc(void);
81void xen_arch_intr_release(struct xenisrc *isrc);
82u_int xen_arch_intr_next_cpu(struct xenisrc *isrc);
80u_long xen_arch_intr_execute_handlers(struct xenisrc *isrc,
81 struct trapframe *frame);
82int xen_arch_intr_add_handler(const char *name,
83 driver_filter_t filter, driver_intr_t handler, void *arg,
84 enum intr_type flags, struct xenisrc *isrc,
85 void **cookiep);
86int xen_arch_intr_describe(struct xenisrc *isrc, void *cookie,
87 const char *descr);
88int xen_arch_intr_remove_handler(struct xenisrc *isrc,
89 void *cookie);
90int xen_arch_intr_event_bind(struct xenisrc *isrc, u_int cpu);
91#endif
92
93#endif /* _XEN_INTR_INTERNAL_H_ */
83u_long xen_arch_intr_execute_handlers(struct xenisrc *isrc,
84 struct trapframe *frame);
85int xen_arch_intr_add_handler(const char *name,
86 driver_filter_t filter, driver_intr_t handler, void *arg,
87 enum intr_type flags, struct xenisrc *isrc,
88 void **cookiep);
89int xen_arch_intr_describe(struct xenisrc *isrc, void *cookie,
90 const char *descr);
91int xen_arch_intr_remove_handler(struct xenisrc *isrc,
92 void *cookie);
93int xen_arch_intr_event_bind(struct xenisrc *isrc, u_int cpu);
94#endif
95
96#endif /* _XEN_INTR_INTERNAL_H_ */