summaryrefslogtreecommitdiff
path: root/hurd
diff options
context:
space:
mode:
authorDamien Zammit <damien@zamaudio.com>2018-11-21 04:17:33 -0500
committerDamien Zammit <damien@zamaudio.com>2018-11-24 01:20:08 -0500
commit542aa718a06c5ea30ea7cf2f85e20f101de8fd41 (patch)
treee33f2f3fff20e225862cf3bc8fd1bfc8eb62040d /hurd
parent22758da0b147980c11dbd456f7a4e00404261212 (diff)
Add shutdown RPC && ACPI specific disappear routine
Diffstat (limited to 'hurd')
-rw-r--r--hurd/hurd_types.defs18
-rw-r--r--hurd/hurd_types.h1
2 files changed, 19 insertions, 0 deletions
diff --git a/hurd/hurd_types.defs b/hurd/hurd_types.defs
index 0e9b990e..f0d1a351 100644
--- a/hurd/hurd_types.defs
+++ b/hurd/hurd_types.defs
@@ -314,6 +314,24 @@ destructor: PCI_DESTRUCTOR
#endif
;
+/* Shutdown */
+type shutdown_t = mach_port_copy_send_t
+#ifdef SHUTDOWN_INTRAN
+intran: SHUTDOWN_INTRAN
+intranpayload: SHUTDOWN_INTRAN_PAYLOAD
+#else
+#ifdef HURD_DEFAULT_PAYLOAD_TO_PORT
+intranpayload: shutdown_t HURD_DEFAULT_PAYLOAD_TO_PORT
+#endif
+#endif
+#ifdef SHUTDOWN_OUTTRAN
+outtran: SHUTDOWN_OUTTRAN
+#endif
+#ifdef SHUTDOWN_DESTRUCTOR
+destructor: SHUTDOWN_DESTRUCTOR
+#endif
+;
+
type proccoll_t = mach_port_copy_send_t;
type sreply_port_t = MACH_MSG_TYPE_MAKE_SEND_ONCE | polymorphic
diff --git a/hurd/hurd_types.h b/hurd/hurd_types.h
index a77a9e43..bc6b618b 100644
--- a/hurd/hurd_types.h
+++ b/hurd/hurd_types.h
@@ -52,6 +52,7 @@ typedef mach_port_t interrupt_t;
typedef mach_port_t proccoll_t;
typedef mach_port_t ctty_t;
typedef mach_port_t pci_t;
+typedef mach_port_t shutdown_t;
#include <errno.h> /* Defines `error_t'. */