intr.h (299928) | intr.h (300149) |
---|---|
1/*- 2 * Copyright (c) 2015-2016 Svatopluk Kraus 3 * Copyright (c) 2015-2016 Michal Meloun 4 * All rights reserved. 5 * 6 * Redistribution and use in source and binary forms, with or without 7 * modification, are permitted provided that the following conditions 8 * are met: --- 10 unchanged lines hidden (view full) --- 19 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 20 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 21 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 22 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 23 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 24 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 25 * SUCH DAMAGE. 26 * | 1/*- 2 * Copyright (c) 2015-2016 Svatopluk Kraus 3 * Copyright (c) 2015-2016 Michal Meloun 4 * All rights reserved. 5 * 6 * Redistribution and use in source and binary forms, with or without 7 * modification, are permitted provided that the following conditions 8 * are met: --- 10 unchanged lines hidden (view full) --- 19 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 20 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 21 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 22 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 23 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 24 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 25 * SUCH DAMAGE. 26 * |
27 * $FreeBSD: head/sys/sys/intr.h 299928 2016-05-16 09:11:40Z andrew $ | 27 * $FreeBSD: head/sys/sys/intr.h 300149 2016-05-18 15:05:44Z andrew $ |
28 */ 29 30#ifndef _SYS_INTR_H_ 31#define _SYS_INTR_H_ 32 33#include <sys/systm.h> 34 35#define INTR_IRQ_INVALID 0xFFFFFFFF --- 69 unchanged lines hidden (view full) --- 105 106#ifdef SMP 107bool intr_isrc_init_on_cpu(struct intr_irqsrc *isrc, u_int cpu); 108#endif 109 110int intr_isrc_dispatch(struct intr_irqsrc *, struct trapframe *); 111u_int intr_irq_next_cpu(u_int current_cpu, cpuset_t *cpumask); 112 | 28 */ 29 30#ifndef _SYS_INTR_H_ 31#define _SYS_INTR_H_ 32 33#include <sys/systm.h> 34 35#define INTR_IRQ_INVALID 0xFFFFFFFF --- 69 unchanged lines hidden (view full) --- 105 106#ifdef SMP 107bool intr_isrc_init_on_cpu(struct intr_irqsrc *isrc, u_int cpu); 108#endif 109 110int intr_isrc_dispatch(struct intr_irqsrc *, struct trapframe *); 111u_int intr_irq_next_cpu(u_int current_cpu, cpuset_t *cpumask); 112 |
113int intr_pic_register(device_t, intptr_t); | 113struct intr_pic *intr_pic_register(device_t, intptr_t); |
114int intr_pic_deregister(device_t, intptr_t); 115int intr_pic_claim_root(device_t, intptr_t, intr_irq_filter_t *, void *, u_int); 116 117extern device_t intr_irq_root_dev; 118 119/* Intr interface for BUS. */ 120int intr_map_irq(device_t, intptr_t, struct intr_map_data *, u_int *); 121 --- 46 unchanged lines hidden --- | 114int intr_pic_deregister(device_t, intptr_t); 115int intr_pic_claim_root(device_t, intptr_t, intr_irq_filter_t *, void *, u_int); 116 117extern device_t intr_irq_root_dev; 118 119/* Intr interface for BUS. */ 120int intr_map_irq(device_t, intptr_t, struct intr_map_data *, u_int *); 121 --- 46 unchanged lines hidden --- |