summaryrefslogtreecommitdiffstats
path: root/sys/i386/include/smptests.h
diff options
context:
space:
mode:
authorfsmp <fsmp@FreeBSD.org>1997-08-29 17:58:30 +0000
committerfsmp <fsmp@FreeBSD.org>1997-08-29 17:58:30 +0000
commit34c1430d68c91861bc693a5bbca3e1d6fe85587c (patch)
tree70e143f6fd4bde32f2835a22d6bc610aca29ba8e /sys/i386/include/smptests.h
parentc063323c3ee5e28f098fae8c6d46fb551a934d10 (diff)
downloadFreeBSD-src-34c1430d68c91861bc693a5bbca3e1d6fe85587c.zip
FreeBSD-src-34c1430d68c91861bc693a5bbca3e1d6fe85587c.tar.gz
Introduce FAST_HI option, ON by default.
This options allows a CPU that is blocked spinning for the giant lock to process FAST_INTR() ISRs, eg. siointr().
Diffstat (limited to 'sys/i386/include/smptests.h')
-rw-r--r--sys/i386/include/smptests.h16
1 files changed, 15 insertions, 1 deletions
diff --git a/sys/i386/include/smptests.h b/sys/i386/include/smptests.h
index e3f7e90..f6b2ce9 100644
--- a/sys/i386/include/smptests.h
+++ b/sys/i386/include/smptests.h
@@ -22,7 +22,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: smptests.h,v 1.22 1997/08/21 04:48:45 smp Exp smp $
+ * $Id: smptests.h,v 1.24 1997/08/29 07:23:37 smp Exp smp $
*/
#ifndef _MACHINE_SMPTESTS_H_
@@ -35,6 +35,20 @@
/*
+ * Put FAST_INTR() ISRs at an APIC priority above the regular INTs.
+ * Allow the mp_lock() routines to handle FAST interrupts while spinning.
+ */
+#define FAST_HI
+
+
+/*
+ * Regular INTerrupts without the giant lock, NOT READY YET!!!
+ *
+#define INTR_SIMPLELOCK
+ */
+
+
+/*
* Ignore the ipending bits when exiting FAST_INTR() routines.
*
***
OpenPOWER on IntegriCloud