summaryrefslogtreecommitdiffstats
path: root/sys/i386/isa/intr_machdep.h
diff options
context:
space:
mode:
authorfsmp <fsmp@FreeBSD.org>1997-07-18 21:27:53 +0000
committerfsmp <fsmp@FreeBSD.org>1997-07-18 21:27:53 +0000
commitee22260a440c99c7f84e51e6c7baabad641f9d9b (patch)
treebd0d6b01bc1125ca84a7c7dc8a4398f8e6148344 /sys/i386/isa/intr_machdep.h
parent6c57ae296c86a1387b2a8bf05ccd6e17dfb792b2 (diff)
downloadFreeBSD-src-ee22260a440c99c7f84e51e6c7baabad641f9d9b.zip
FreeBSD-src-ee22260a440c99c7f84e51e6c7baabad641f9d9b.tar.gz
Split TEST_CPUSTOP code into CPUSTOP_ON_DDBBREAK and mainline code.
Diffstat (limited to 'sys/i386/isa/intr_machdep.h')
-rw-r--r--sys/i386/isa/intr_machdep.h20
1 files changed, 7 insertions, 13 deletions
diff --git a/sys/i386/isa/intr_machdep.h b/sys/i386/isa/intr_machdep.h
index 27e14af..e9c0e84 100644
--- a/sys/i386/isa/intr_machdep.h
+++ b/sys/i386/isa/intr_machdep.h
@@ -31,7 +31,7 @@
* SUCH DAMAGE.
*
* from: @(#)isa_device.h 7.1 (Berkeley) 5/9/91
- * $Id: intr_machdep.h,v 1.6 1997/07/13 00:18:33 smp Exp smp $
+ * $Id: intr_machdep.h,v 1.7 1997/07/18 19:47:13 smp Exp smp $
*/
#ifndef _I386_ISA_INTR_MACHDEP_H_
@@ -99,15 +99,13 @@
/* TLB shootdowns */
#define XINVLTLB_OFFSET (ICU_OFFSET + 32)
-#if defined(TEST_CPUSTOP)
/* IPI to signal CPUs to stop and wait for another CPU to restart them */
#define XCPUSTOP_OFFSET (ICU_OFFSET + 48)
-#endif /** TEST_CPUSTOP */
-#if defined(TEST_TEST1)
+#ifdef TEST_TEST1
/* put a 'fake' HWI in top of APIC prio 0x3x, 32 + 31 = 63 = 0x3f */
#define XTEST1_OFFSET (ICU_OFFSET + 31)
-#endif /** TEST_TEST1 */
+#endif /** TEST_TEST1 */
#ifndef LOCORE
@@ -152,18 +150,14 @@ inthand_t
IDTVEC(intr20), IDTVEC(intr21), IDTVEC(intr22), IDTVEC(intr23);
inthand_t
- Xinvltlb,
- Xspuriousint;
-
-#if defined(TEST_CPUSTOP)
-inthand_t
+ Xinvltlb, /* TLB shootdowns */
+ Xspuriousint, /* handle APIC "spurious INTs" */
Xcpustop; /* stop & wait for another CPU to restart it */
-#endif /** TEST_CPUSTOP */
-#if defined(TEST_CPUSTOP)
+#ifdef TEST_TEST1
inthand_t
Xtest1; /* 'fake' HWI in top of APIC prio 0x3x, 32+31 = 0x3f */
-#endif /** TEST_TEST1 */
+#endif /** TEST_TEST1 */
struct isa_device;
OpenPOWER on IntegriCloud