* hurd/hurd_types.defs (interrupt_t): New type. * hurd/hurd_types.h (interrupt_t): Likewise. * hurd/interrupt.defs (interrupt_operation): Use the new type. --- hurd/hurd_types.defs | 12 ++++++++++++ hurd/hurd_types.h | 1 + hurd/interrupt.defs | 6 +++++- 3 files changed, 18 insertions(+), 1 deletion(-)
diff --git a/hurd/hurd_types.defs b/hurd/hurd_types.defs index 6060fa4..129a68c 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 d569454..8eac206 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 cc3ad1e..9981aed 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); -- 1.9.1