intr.h (193847) | intr.h (236992) |
---|---|
1/* $NetBSD: intr.h,v 1.7 2003/06/16 20:01:00 thorpej Exp $ */ 2 3/*- 4 * Copyright (c) 1997 Mark Brinicombe. 5 * All rights reserved. 6 * 7 * Redistribution and use in source and binary forms, with or without 8 * modification, are permitted provided that the following conditions --- 18 unchanged lines hidden (view full) --- 27 * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 28 * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR 29 * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 30 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 31 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 32 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 33 * SUCH DAMAGE. 34 * | 1/* $NetBSD: intr.h,v 1.7 2003/06/16 20:01:00 thorpej Exp $ */ 2 3/*- 4 * Copyright (c) 1997 Mark Brinicombe. 5 * All rights reserved. 6 * 7 * Redistribution and use in source and binary forms, with or without 8 * modification, are permitted provided that the following conditions --- 18 unchanged lines hidden (view full) --- 27 * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 28 * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR 29 * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 30 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 31 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 32 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 33 * SUCH DAMAGE. 34 * |
35 * $FreeBSD: head/sys/arm/include/intr.h 193847 2009-06-09 18:18:41Z marcel $ | 35 * $FreeBSD: head/sys/arm/include/intr.h 236992 2012-06-13 05:02:51Z imp $ |
36 * 37 */ 38 39#ifndef _MACHINE_INTR_H_ 40#define _MACHINE_INTR_H_ 41 42/* XXX move to std.* files? */ 43#ifdef CPU_XSCALE_81342 --- 10 unchanged lines hidden (view full) --- 54#define NIRQ 32 55#endif 56 57#include <machine/psl.h> 58 59int arm_get_next_irq(int); 60void arm_mask_irq(uintptr_t); 61void arm_unmask_irq(uintptr_t); | 36 * 37 */ 38 39#ifndef _MACHINE_INTR_H_ 40#define _MACHINE_INTR_H_ 41 42/* XXX move to std.* files? */ 43#ifdef CPU_XSCALE_81342 --- 10 unchanged lines hidden (view full) --- 54#define NIRQ 32 55#endif 56 57#include <machine/psl.h> 58 59int arm_get_next_irq(int); 60void arm_mask_irq(uintptr_t); 61void arm_unmask_irq(uintptr_t); |
62void arm_setup_irqhandler(const char *, int (*)(void*), void (*)(void*), 63 void *, int, int, void **); | 62void arm_setup_irqhandler(const char *, int (*)(void*), void (*)(void*), 63 void *, int, int, void **); |
64int arm_remove_irqhandler(int, void *); 65extern void (*arm_post_filter)(void *); 66#endif /* _MACHINE_INTR_H */ | 64int arm_remove_irqhandler(int, void *); 65extern void (*arm_post_filter)(void *); 66#endif /* _MACHINE_INTR_H */ |