intr_machdep.h (195249) | intr_machdep.h (198134) |
---|---|
1/*- 2 * Copyright (c) 2003 John Baldwin <jhb@FreeBSD.org> 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 9 unchanged lines hidden (view full) --- 18 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 19 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 20 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 21 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 22 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 23 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 24 * SUCH DAMAGE. 25 * | 1/*- 2 * Copyright (c) 2003 John Baldwin <jhb@FreeBSD.org> 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 9 unchanged lines hidden (view full) --- 18 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 19 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 20 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 21 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 22 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 23 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 24 * SUCH DAMAGE. 25 * |
26 * $FreeBSD: head/sys/amd64/include/intr_machdep.h 195249 2009-07-01 17:20:07Z jhb $ | 26 * $FreeBSD: head/sys/amd64/include/intr_machdep.h 198134 2009-10-15 14:54:35Z jhb $ |
27 */ 28 29#ifndef __MACHINE_INTR_MACHDEP_H__ 30#define __MACHINE_INTR_MACHDEP_H__ 31 32#ifdef _KERNEL 33 34/* --- 111 unchanged lines hidden (view full) --- 146int intr_add_handler(const char *name, int vector, driver_filter_t filter, 147 driver_intr_t handler, void *arg, enum intr_type flags, 148 void **cookiep); 149#ifdef SMP 150int intr_bind(u_int vector, u_char cpu); 151#endif 152int intr_config_intr(int vector, enum intr_trigger trig, 153 enum intr_polarity pol); | 27 */ 28 29#ifndef __MACHINE_INTR_MACHDEP_H__ 30#define __MACHINE_INTR_MACHDEP_H__ 31 32#ifdef _KERNEL 33 34/* --- 111 unchanged lines hidden (view full) --- 146int intr_add_handler(const char *name, int vector, driver_filter_t filter, 147 driver_intr_t handler, void *arg, enum intr_type flags, 148 void **cookiep); 149#ifdef SMP 150int intr_bind(u_int vector, u_char cpu); 151#endif 152int intr_config_intr(int vector, enum intr_trigger trig, 153 enum intr_polarity pol); |
154int intr_describe(u_int vector, void *ih, const char *descr); |
|
154void intr_execute_handlers(struct intsrc *isrc, struct trapframe *frame); 155u_int intr_next_cpu(void); 156struct intsrc *intr_lookup_source(int vector); 157int intr_register_pic(struct pic *pic); 158int intr_register_source(struct intsrc *isrc); 159int intr_remove_handler(void *cookie); 160void intr_resume(void); 161void intr_suspend(void); --- 12 unchanged lines hidden --- | 155void intr_execute_handlers(struct intsrc *isrc, struct trapframe *frame); 156u_int intr_next_cpu(void); 157struct intsrc *intr_lookup_source(int vector); 158int intr_register_pic(struct pic *pic); 159int intr_register_source(struct intsrc *isrc); 160int intr_remove_handler(void *cookie); 161void intr_resume(void); 162void intr_suspend(void); --- 12 unchanged lines hidden --- |