PERFORCE change 102000 for review
Paolo Pisati
piso at FreeBSD.org
Thu Jul 20 15:30:17 UTC 2006
http://perforce.freebsd.org/chv.cgi?CH=102000
Change 102000 by piso at piso_newluxor on 2006/07/20 15:29:26
Use a macro to test for different kind of handlers.
Affected files ...
.. //depot/projects/soc2006/intr_filter/sys/interrupt.h#5 edit
Differences ...
==== //depot/projects/soc2006/intr_filter/sys/interrupt.h#5 (text+ko) ====
@@ -54,6 +54,8 @@
u_char ih_pri; /* Priority of this handler. */
};
+#define IS_FAST(filter, handler) (filter != NULL && handler == NULL)
+
/* Interrupt handle flags kept in ih_flags */
#define IH_EXCLUSIVE 0x00000002 /* Exclusive interrupt. */
#define IH_ENTROPY 0x00000004 /* Device is a good entropy source. */
More information about the p4-projects
mailing list