#include <machine/smp.h>
#include <machine/segments.h>
#include <machine/md_var.h>
-#include <machine_base/isa/intr_machdep.h>
+#include <machine/intr_machdep.h>
#include <machine_base/icu/icu.h>
#include <machine/globaldata.h>
#include "apicreg.h"
#include "apic_ipl.h"
#include <machine/smp.h>
-#include <machine_base/isa/intr_machdep.h>
+#include <machine/intr_machdep.h>
#ifdef foo
/* convert an absolute IRQ# into bitmask */
#include <machine/segments.h>
#include <sys/thread2.h>
-#include <machine_base/isa/intr_machdep.h> /* Xspuriousint() */
+#include <machine/intr_machdep.h>
#include "apicvar.h"
bus/isa/vga_isa.c optional vga
platform/pc64/isa/clock.c standard nowerror
platform/pc64/isa/elcr.c standard
-platform/pc64/isa/intr_machdep.c standard
+platform/pc64/isa/isa_intr.c standard
platform/pc64/x86_64/spinlock.s standard
#include <bus/isa/isareg.h>
#include <cpu/cpufunc.h>
#include <machine/smp.h>
-#include <machine_base/isa/intr_machdep.h>
+#include <machine/intr_machdep.h>
#include <machine_base/icu/icu.h>
#include <machine_base/icu/icu_var.h>
#include <machine/segments.h>
#include <machine/md_var.h>
-#include <machine_base/isa/intr_machdep.h>
+#include <machine/intr_machdep.h>
#include <machine/globaldata.h>
#include <machine/smp.h>
* $DragonFly: src/sys/platform/pc64/isa/intr_machdep.h,v 1.1 2008/08/29 17:07:19 dillon Exp $
*/
-#ifndef _ARCH_ISA_INTR_MACHDEP_H_
-#define _ARCH_ISA_INTR_MACHDEP_H_
+#ifndef _ARCH_INTR_MACHDEP_H_
+#define _ARCH_INTR_MACHDEP_H_
#ifndef LOCORE
#ifndef _SYS_TYPES_H_
Xipiq; /* handle lwkt_send_ipiq() requests */
#endif /* SMP */
-void isa_defaultirq(void);
-int isa_nmi(int);
-
#endif /* LOCORE */
#endif /* _KERNEL */
-#endif /* !_ARCH_ISA_INTR_MACHDEP_H_ */
+#endif /* !_ARCH_INTR_MACHDEP_H_ */
#include <machine/segments.h>
#include <machine/smp.h>
#include <machine/specialreg.h>
+#include <machine/intr_machdep.h>
#include <machine_base/icu/icu.h>
#include <bus/isa/isa.h>
#include <bus/isa/rtc.h>
#include <machine_base/isa/timerreg.h>
-#include <machine_base/isa/intr_machdep.h>
-
#ifdef SMP /* APIC-IO */
/* The interrupt triggered by the 8254 (timer) chip */
int apic_8254_intr;
#include <bus/isa/isavar.h>
#include <machine_base/icu/icu_var.h>
-#include <machine_base/isa/intr_machdep.h>
+#include <machine_base/isa/isa_intr.h>
#define NMI_PARITY (1 << 7)
#define NMI_IOCHAN (1 << 6)
--- /dev/null
+/*-
+ * Copyright (c) 1991 The Regents of the University of California.
+ * Copyright (c) 2008 The DragonFly Project.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
+ * 3. All advertising materials mentioning features or use of this software
+ * must display the following acknowledgement:
+ * This product includes software developed by the University of
+ * California, Berkeley and its contributors.
+ * 4. Neither the name of the University nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
+ * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
+ * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
+ * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+ * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+ * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+ * SUCH DAMAGE.
+ *
+ * $FreeBSD: src/sys/i386/isa/intr_machdep.h,v 1.19.2.2 2001/10/14 20:05:50 luigi Exp $
+ * $DragonFly: src/sys/platform/pc64/isa/intr_machdep.h,v 1.1 2008/08/29 17:07:19 dillon Exp $
+ */
+
+#ifndef _ARCH_ISA_ISA_INTR_H_
+#define _ARCH_ISA_ISA_INTR_H_
+
+void isa_defaultirq(void);
+int isa_nmi(int);
+
+#endif /* _ARCH_ISA_ISA_INTR_H_ */
#include <machine/clock.h>
#include <machine/cputypes.h>
#include <machine/frame.h>
-#include <machine_base/isa/intr_machdep.h>
#include <machine/segments.h>
#include <machine/specialreg.h>
#include <machine/md_var.h>
#include <machine/perfmon.h>
#endif
#include <machine/cputypes.h>
+#include <machine/intr_machdep.h>
#ifdef OLD_BUS_ARCH
#include <bus/isa/isa_device.h>
#endif
-#include <machine_base/isa/intr_machdep.h>
+#include <machine_base/isa/isa_intr.h>
#include <machine_base/isa/elcr_var.h>
#include <bus/isa/rtc.h>
#include <sys/random.h>
#include <machine/pmap_inval.h>
#include <machine/md_var.h> /* setidt() */
-#include <machine_base/icu/icu.h> /* IPIs */
-#include <machine_base/isa/intr_machdep.h> /* IPIs */
+#include <machine_base/icu/icu.h> /* IPIs */
+#include <machine/intr_machdep.h> /* IPIs */
#define FIXUP_EXTRA_APIC_INTS 8 /* additional entries we may create */
#include <machine/nexusvar.h>
#include <machine/smp.h>
#include <machine_base/apic/mpapic.h>
-#include <machine_base/isa/intr_machdep.h>
#define I386_BUS_SPACE_IO 0 /* space is i/o space */
#define I386_BUS_SPACE_MEM 1 /* space is mem space */
#include "opt_ddb.h"
#include <machine/asmacros.h>
-#include <machine_base/isa/intr_machdep.h>
#include <machine/pmap.h>
#include "assym.s"
#include <machine/thread.h>
#include <machine/vmparam.h>
#include <machine/md_var.h>
-#include <machine_base/isa/intr_machdep.h>
+#include <machine_base/isa/isa_intr.h>
#include <ddb/ddb.h>