157a9c56bSSepherosa Ziehau /*- 257a9c56bSSepherosa Ziehau * Copyright (c) 1991 The Regents of the University of California. 357a9c56bSSepherosa Ziehau * Copyright (c) 2008 The DragonFly Project. 457a9c56bSSepherosa Ziehau * All rights reserved. 557a9c56bSSepherosa Ziehau * 657a9c56bSSepherosa Ziehau * Redistribution and use in source and binary forms, with or without 757a9c56bSSepherosa Ziehau * modification, are permitted provided that the following conditions 857a9c56bSSepherosa Ziehau * are met: 957a9c56bSSepherosa Ziehau * 1. Redistributions of source code must retain the above copyright 1057a9c56bSSepherosa Ziehau * notice, this list of conditions and the following disclaimer. 1157a9c56bSSepherosa Ziehau * 2. Redistributions in binary form must reproduce the above copyright 1257a9c56bSSepherosa Ziehau * notice, this list of conditions and the following disclaimer in the 1357a9c56bSSepherosa Ziehau * documentation and/or other materials provided with the distribution. 14*2c64e990Szrj * 3. Neither the name of the University nor the names of its contributors 1557a9c56bSSepherosa Ziehau * may be used to endorse or promote products derived from this software 1657a9c56bSSepherosa Ziehau * without specific prior written permission. 1757a9c56bSSepherosa Ziehau * 1857a9c56bSSepherosa Ziehau * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 1957a9c56bSSepherosa Ziehau * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 2057a9c56bSSepherosa Ziehau * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 2157a9c56bSSepherosa Ziehau * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 2257a9c56bSSepherosa Ziehau * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 2357a9c56bSSepherosa Ziehau * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 2457a9c56bSSepherosa Ziehau * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 2557a9c56bSSepherosa Ziehau * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 2657a9c56bSSepherosa Ziehau * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 2757a9c56bSSepherosa Ziehau * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 2857a9c56bSSepherosa Ziehau * SUCH DAMAGE. 2957a9c56bSSepherosa Ziehau * 3057a9c56bSSepherosa Ziehau * $FreeBSD: src/sys/i386/isa/intr_machdep.h,v 1.19.2.2 2001/10/14 20:05:50 luigi Exp $ 3157a9c56bSSepherosa Ziehau * $DragonFly: src/sys/platform/pc64/isa/intr_machdep.h,v 1.1 2008/08/29 17:07:19 dillon Exp $ 3257a9c56bSSepherosa Ziehau */ 3357a9c56bSSepherosa Ziehau 3457a9c56bSSepherosa Ziehau #ifndef _ARCH_ISA_ISA_INTR_H_ 3557a9c56bSSepherosa Ziehau #define _ARCH_ISA_ISA_INTR_H_ 3657a9c56bSSepherosa Ziehau 37104463f2SSepherosa Ziehau #define ISA_IRQ_CNT 16 38104463f2SSepherosa Ziehau 39104463f2SSepherosa Ziehau #ifndef LOCORE 4057a9c56bSSepherosa Ziehau void isa_defaultirq(void); 4157a9c56bSSepherosa Ziehau int isa_nmi(int); 42104463f2SSepherosa Ziehau #endif 4357a9c56bSSepherosa Ziehau 4457a9c56bSSepherosa Ziehau #endif /* _ARCH_ISA_ISA_INTR_H_ */ 45