summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2001-02-09 17:35:22 +0000
committerjhb <jhb@FreeBSD.org>2001-02-09 17:35:22 +0000
commit9bdc39d6c4c96863455d738375fe6ef101b99f0e (patch)
treef1d18f873ae0112312b8cfbfefbee473edbad7dd /sys
parentad1791b6168f0176f4c0a2636f3be20354a9b6fc (diff)
downloadFreeBSD-src-9bdc39d6c4c96863455d738375fe6ef101b99f0e.zip
FreeBSD-src-9bdc39d6c4c96863455d738375fe6ef101b99f0e.tar.gz
Axe INTR_HEAVY, INTR_LIGHT, and INTR_THREADED. Add in a INTR_TYPE_CLK
priorirty for clock interrupt handlers and an INTR_ENTROPY flag to mark interrupt sources that are good sources of entropy.
Diffstat (limited to 'sys')
-rw-r--r--sys/sys/bus.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/sys/sys/bus.h b/sys/sys/bus.h
index ac583a7..bfa4105 100644
--- a/sys/sys/bus.h
+++ b/sys/sys/bus.h
@@ -87,12 +87,11 @@ enum intr_type {
INTR_TYPE_NET = 4,
INTR_TYPE_CAM = 8,
INTR_TYPE_MISC = 16,
- INTR_HEAVY = 32, /* heavyweight interrupt process */
- INTR_LIGHT = 64, /* light weight interrupt thread */
- INTR_THREADED = INTR_LIGHT | INTR_HEAVY, /* any kind of interrupt thread */
+ INTR_TYPE_CLK = 32,
INTR_FAST = 128,
INTR_EXCL = 256, /* exclusive interrupt */
- INTR_MPSAFE = 512 /* this interrupt is SMP safe */
+ INTR_MPSAFE = 512, /* this interrupt is SMP safe */
+ INTR_ENTROPY = 1024 /* this interrupt provides entropy */
};
typedef int (*devop_t)(void);
OpenPOWER on IntegriCloud