summaryrefslogtreecommitdiffstats
path: root/sys/amd64/include
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>2004-08-16 23:12:30 +0000
committerpeter <peter@FreeBSD.org>2004-08-16 23:12:30 +0000
commitb23c8d6fe517aef9545060cf2b11c3b9173d38ab (patch)
tree1c0ae587900538ab8b4dd609cce70a297124e949 /sys/amd64/include
parentf1342b61c3097ca3acacf47c8da0d405db5eb32d (diff)
downloadFreeBSD-src-b23c8d6fe517aef9545060cf2b11c3b9173d38ab.zip
FreeBSD-src-b23c8d6fe517aef9545060cf2b11c3b9173d38ab.tar.gz
Sync with i386 - Optimize intr_execute_handlers a bit etc.
Diffstat (limited to 'sys/amd64/include')
-rw-r--r--sys/amd64/include/intr_machdep.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/sys/amd64/include/intr_machdep.h b/sys/amd64/include/intr_machdep.h
index d8256c9..af9e672 100644
--- a/sys/amd64/include/intr_machdep.h
+++ b/sys/amd64/include/intr_machdep.h
@@ -50,7 +50,7 @@ struct intsrc;
*/
struct pic {
void (*pic_enable_source)(struct intsrc *);
- void (*pic_disable_source)(struct intsrc *);
+ void (*pic_disable_source)(struct intsrc *, int);
void (*pic_eoi_source)(struct intsrc *);
void (*pic_enable_intr)(struct intsrc *);
int (*pic_vector)(struct intsrc *);
@@ -61,6 +61,12 @@ struct pic {
enum intr_polarity);
};
+/* Flags for pic_disable_source() */
+enum {
+ PIC_EOI,
+ PIC_NO_EOI,
+};
+
/*
* An interrupt source. The upper-layer code uses the PIC methods to
* control a given source. The lower-layer PIC drivers can store additional
OpenPOWER on IntegriCloud