summaryrefslogtreecommitdiff
path: root/include/mach/port.h
diff options
context:
space:
mode:
authorThomas Schwinge <tschwinge@gnu.org>2006-12-03 20:16:16 +0000
committerThomas Schwinge <tschwinge@gnu.org>2009-06-18 00:26:57 +0200
commit96c01087a657dfc1c877b63e9e6b0f45c37b9c78 (patch)
tree11f6e4d507c8327b52d167a718ec65c184c6bbfd /include/mach/port.h
parenta0e81d1ebfbf11bc056f729242e8565f177afa95 (diff)
2006-12-03 Thomas Schwinge <tschwinge@gnu.org>
[patch #5017 --- ``Remove obsolete IPC interfaces.''] * DEVELOPMENT: Document the removal. * configfrag.ac (MACH_IPC_COMPAT): Don't define. 2006-12-03 Leonardo Lopes Pereira <leonardolopespereira@gmail.com> [patch #5017 --- ``Remove obsolete IPC interfaces.''] * kern/act.c [MIGRATING_THREADS]: Don't include <mach_ipc_compat.h>. * kern/act.h: Likewise. * i386/include/mach/i386/machine_types.defs: Adapt all users of MACH_IPC_COMPAT as if it were always defined to `0'. * include/mach/mach.defs: Likewise. * include/mach/mach_param.h: Likewise. * include/mach/mach_traps.h: Likewise. * include/mach/message.h: Likewise. * include/mach/mig_errors.h: Likewise. * include/mach/notify.h: Likewise. * include/mach/port.h: Likewise. * include/mach/std_types.defs: Likewise. * include/mach/syscall_sw.h: Likewise. * include/mach/task_special_ports.h: Likewise. * include/mach/thread_special_ports.h: Likewise. * ipc/ipc_kmsg.c: Likewise. * ipc/ipc_kmsg.h: Likewise. * ipc/ipc_marequest.c: Likewise. * ipc/ipc_notify.c: Likewise. * ipc/ipc_notify.h: Likewise. * ipc/ipc_object.c: Likewise. * ipc/ipc_object.h: Likewise. * ipc/ipc_port.c: Likewise. * ipc/ipc_port.h: Likewise. * ipc/ipc_right.c: Likewise. * ipc/ipc_right.h: Likewise. * ipc/ipc_space.c: Likewise. * ipc/ipc_space.h: Likewise. * ipc/mach_debug.c: Likewise. * ipc/mach_msg.c: Likewise * ipc/mach_msg.h: Likewise. * ipc/mach_port.c: Likewise. * kern/act.c: Likewise. * kern/act.h: Likewise. * kern/ipc_host.c: Likewise. * kern/ipc_tt.c: Likewise. * kern/syscall_sw.c: Likewise. * kern/thread.h: Likewise.
Diffstat (limited to 'include/mach/port.h')
-rw-r--r--include/mach/port.h32
1 files changed, 0 insertions, 32 deletions
diff --git a/include/mach/port.h b/include/mach/port.h
index 251b87c..6dafb2f 100644
--- a/include/mach/port.h
+++ b/include/mach/port.h
@@ -150,36 +150,4 @@ typedef struct old_mach_port_status {
/*boolean_t*/natural_t mps_nsrequest; /* no-senders requested? */
} old_mach_port_status_t;
-
-/* Definitions for the old IPC interface. */
-
-#if MACH_IPC_COMPAT
-
-typedef integer_t port_name_t; /* A capability's name */
-typedef port_name_t port_set_name_t; /* Descriptive alias */
-typedef port_name_t *port_name_array_t;
-
-typedef integer_t port_type_t; /* What kind of capability? */
-typedef port_type_t *port_type_array_t;
-
- /* Values for port_type_t */
-
-#define PORT_TYPE_NONE 0 /* No rights */
-#define PORT_TYPE_SEND 1 /* Send rights */
-#define PORT_TYPE_RECEIVE 3 /* obsolete */
-#define PORT_TYPE_OWN 5 /* obsolete */
-#define PORT_TYPE_RECEIVE_OWN 7 /* Send, receive, ownership */
-#define PORT_TYPE_SET 9 /* Set ownership */
-#define PORT_TYPE_LAST 10 /* Last assigned */
-
-typedef port_name_t port_t; /* Port with send rights */
-typedef port_t port_rcv_t; /* Port with receive rights */
-typedef port_t port_own_t; /* Port with ownership rights */
-typedef port_t port_all_t; /* Port with receive and ownership */
-typedef port_t *port_array_t;
-
-#define PORT_NULL ((port_name_t) 0) /* Used to denote no port; legal value */
-
-#endif /* MACH_IPC_COMPAT */
-
#endif /* _MACH_PORT_H_ */