summaryrefslogtreecommitdiff
path: root/hurd/term.defs
diff options
context:
space:
mode:
authorJustus Winter <4winter@informatik.uni-hamburg.de>2013-11-28 10:24:26 +0100
committerJustus Winter <4winter@informatik.uni-hamburg.de>2014-12-07 15:38:18 +0100
commitac30e16e8185883af52b4f45aad9f7a61e5c9911 (patch)
treee2d30574629204f2298f3545450f8151ef2cdc74 /hurd/term.defs
parent02ae7e436efa33b11227c251eb9bb3a036082fe1 (diff)
hurd: add intranpayload functions to all hurd types
For each hurd type defined in hurd_types.h, add a intranpayload function. If an X_INTRAN mutation is defined for a type, a corresponding X_INTRAN_PAYLOAD has to be defined. If no X_INTRAN mutation is defined, use ports_payload_get_name as intranpayload function, turning the payload back into an port name. * hurd/hurd_types.defs: Add intranpayload functions. * hurd/term.defs: Likewise. * hurd/default_pager.defs: Include `hurd_types.defs' for `MACH_PAYLOAD_TO_PORT'.
Diffstat (limited to 'hurd/term.defs')
-rw-r--r--hurd/term.defs3
1 files changed, 3 insertions, 0 deletions
diff --git a/hurd/term.defs b/hurd/term.defs
index 45d825de..29b94efd 100644
--- a/hurd/term.defs
+++ b/hurd/term.defs
@@ -33,6 +33,9 @@ type ctty_t = mach_port_copy_send_t
#ifdef CTTY_INTRAN
intran: CTTY_INTRAN
#endif
+#ifdef CTTY_INTRAN_PAYLOAD
+intranpayload: CTTY_INTRAN_PAYLOAD
+#endif
#ifdef CTTY_OUTTRAN
outtran: CTTY_OUTTRAN
#endif