summaryrefslogtreecommitdiffstats
path: root/sys/i386/include/types.h
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>1997-05-31 09:07:36 +0000
committerpeter <peter@FreeBSD.org>1997-05-31 09:07:36 +0000
commitc0b8239aff3000109517c32f68a6ac4edaafa994 (patch)
tree5c8cd8c4acf65ffb609ad9f34d63b7d1118ff474 /sys/i386/include/types.h
parent83a98bc0a285351c33042b8845ddaabb8b730bef (diff)
downloadFreeBSD-src-c0b8239aff3000109517c32f68a6ac4edaafa994.zip
FreeBSD-src-c0b8239aff3000109517c32f68a6ac4edaafa994.tar.gz
move intrhand2_t from isa_device.h to machine/types.h - it's used far more
than in the isa dependent code. create intrmask_t in machine/types.h (replaces "intrmask" typedef from sys/interrupt.h) Reviewed by: bde
Diffstat (limited to 'sys/i386/include/types.h')
-rw-r--r--sys/i386/include/types.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/sys/i386/include/types.h b/sys/i386/include/types.h
index 313084e..017c7a2 100644
--- a/sys/i386/include/types.h
+++ b/sys/i386/include/types.h
@@ -31,7 +31,7 @@
* SUCH DAMAGE.
*
* @(#)types.h 8.3 (Berkeley) 1/5/94
- * $Id$
+ * $Id: types.h,v 1.10 1997/02/22 09:35:21 peter Exp $
*/
#ifndef _MACHINE_TYPES_H_
@@ -69,4 +69,10 @@ typedef int32_t register_t;
typedef int32_t ufs_daddr_t;
+/* Interrupt mask (spl, xxx_imask, etc) */
+typedef u_int32_t intrmask_t;
+
+/* Interrupt handler function type - arg should be "void *" one day */
+typedef void inthand2_t(int _unit);
+
#endif /* !_MACHINE_TYPES_H_ */
OpenPOWER on IntegriCloud