summaryrefslogtreecommitdiff
path: root/hurd
diff options
context:
space:
mode:
Diffstat (limited to 'hurd')
-rw-r--r--hurd/hurd_types.defs12
-rw-r--r--hurd/hurd_types.h1
-rw-r--r--hurd/interrupt.defs6
3 files changed, 18 insertions, 1 deletions
diff --git a/hurd/hurd_types.defs b/hurd/hurd_types.defs
index 6060fa47..129a68cf 100644
--- a/hurd/hurd_types.defs
+++ b/hurd/hurd_types.defs
@@ -168,6 +168,18 @@ destructor: EXEC_STARTUP_DESTRUCTOR
#endif
;
+type interrupt_t = mach_port_copy_send_t
+#ifdef INTERRUPT_INTRAN
+intran: INTERRUPT_INTRAN
+#endif
+#ifdef INTERRUPT_OUTTRAN
+outtran: INTERRUPT_OUTTRAN
+#endif
+#ifdef INTERRUPT_DESTRUCTOR
+destructor: INTERRUPT_DESTRUCTOR
+#endif
+;
+
type proccoll_t = mach_port_copy_send_t;
diff --git a/hurd/hurd_types.h b/hurd/hurd_types.h
index d569454a..8eac2060 100644
--- a/hurd/hurd_types.h
+++ b/hurd/hurd_types.h
@@ -47,6 +47,7 @@ typedef mach_port_t addr_port_t;
typedef mach_port_t startup_t;
typedef mach_port_t fs_notify_t;
typedef mach_port_t exec_startup_t;
+typedef mach_port_t interrupt_t;
typedef mach_port_t proccoll_t;
#include <errno.h> /* Defines `error_t'. */
diff --git a/hurd/interrupt.defs b/hurd/interrupt.defs
index cc3ad1ea..9981aed1 100644
--- a/hurd/interrupt.defs
+++ b/hurd/interrupt.defs
@@ -23,10 +23,14 @@ subsystem interrupt 33000;
#include <hurd/hurd_types.defs>
+#ifdef INTERRUPT_IMPORTS
+INTERRUPT_IMPORTS
+#endif
+
/* Cause a pending request on this object to immediately return. The
exact semantics are dependent on the specific object. */
routine
-interrupt_operation (object: mach_port_t;
+interrupt_operation (object: interrupt_t;
waittime timeout: natural_t;
msgseqno seqno: mach_port_seqno_t);