|
|
1.1 root 1: /*
2: * Mach Operating System
3: * Copyright (c) 1991,1990,1989 Carnegie Mellon University
4: * All Rights Reserved.
5: *
6: * Permission to use, copy, modify and distribute this software and its
7: * documentation is hereby granted, provided that both the copyright
8: * notice and this permission notice appear in all copies of the
9: * software, derivative works or modified versions, and any portions
10: * thereof, and that both notices appear in supporting documentation.
11: *
12: * CARNEGIE MELLON ALLOWS FREE USE OF THIS SOFTWARE IN ITS "AS IS"
13: * CONDITION. CARNEGIE MELLON DISCLAIMS ANY LIABILITY OF ANY KIND FOR
14: * ANY DAMAGES WHATSOEVER RESULTING FROM THE USE OF THIS SOFTWARE.
15: *
16: * Carnegie Mellon requests users of this software to return to
17: *
18: * Software Distribution Coordinator or [email protected]
19: * School of Computer Science
20: * Carnegie Mellon University
21: * Pittsburgh PA 15213-3890
22: *
23: * any improvements or extensions that they make and grant Carnegie Mellon
24: * the rights to redistribute these changes.
25: */
26:
27: subsystem notify 64;
28:
29: #include <mach/std_types.defs>
30:
1.1.1.2 ! root 31: #ifdef NOTIFY_IMPORTS
! 32: NOTIFY_IMPORTS
! 33: #endif
! 34:
1.1 root 35: #if SEQNOS
36: serverprefix do_seqnos_;
37: serverdemux seqnos_notify_server;
1.1.1.2 ! root 38: #else
1.1 root 39: serverprefix do_;
40: serverdemux notify_server;
1.1.1.2 ! root 41: #endif
1.1 root 42:
43: type notify_port_t = MACH_MSG_TYPE_MOVE_SEND_ONCE
1.1.1.2 ! root 44: ctype: mach_port_t
! 45: #ifdef NOTIFY_INTRAN
! 46: intran: NOTIFY_INTRAN
! 47: #endif
! 48: #ifdef NOTIFY_INTRAN_PAYLOAD
! 49: intranpayload: NOTIFY_INTRAN_PAYLOAD
! 50: #endif
! 51: #ifdef NOTIFY_OUTTRAN
! 52: outtran: NOTIFY_OUTTRAN
! 53: #endif
! 54: #ifdef NOTIFY_DESTRUCTOR
! 55: destructor: NOTIFY_DESTRUCTOR
! 56: #endif
! 57: ;
1.1 root 58:
59: /* MACH_NOTIFY_FIRST: 0100 */
60: skip;
61:
62: /* MACH_NOTIFY_PORT_DELETED: 0101 */
63: simpleroutine mach_notify_port_deleted(
64: notify : notify_port_t;
65: #if SEQNOS
66: msgseqno seqno : mach_port_seqno_t;
1.1.1.2 ! root 67: #endif
1.1 root 68: name : mach_port_name_t);
69:
70: /* MACH_NOTIFY_MSG_ACCEPTED: 0102 */
71: simpleroutine mach_notify_msg_accepted(
72: notify : notify_port_t;
73: #if SEQNOS
74: msgseqno seqno : mach_port_seqno_t;
1.1.1.2 ! root 75: #endif
1.1 root 76: name : mach_port_name_t);
77:
78: skip; /* was NOTIFY_OWNERSHIP_RIGHTS: 0103 */
79:
80: skip; /* was NOTIFY_RECEIVE_RIGHTS: 0104 */
81:
82: /* MACH_NOTIFY_PORT_DESTROYED: 0105 */
83: simpleroutine mach_notify_port_destroyed(
84: notify : notify_port_t;
85: #if SEQNOS
86: msgseqno seqno : mach_port_seqno_t;
1.1.1.2 ! root 87: #endif
1.1 root 88: rights : mach_port_receive_t);
89:
90: /* MACH_NOTIFY_NO_SENDERS: 0106 */
91: simpleroutine mach_notify_no_senders(
92: notify : notify_port_t;
93: #if SEQNOS
94: msgseqno seqno : mach_port_seqno_t;
1.1.1.2 ! root 95: #endif
1.1 root 96: mscount : mach_port_mscount_t);
97:
98: /* MACH_NOTIFY_SEND_ONCE: 0107 */
99: simpleroutine mach_notify_send_once(
100: notify : notify_port_t
101: #if SEQNOS
102: ; msgseqno seqno : mach_port_seqno_t
1.1.1.2 ! root 103: #endif
1.1 root 104: );
105:
106: /* MACH_NOTIFY_DEAD_NAME: 0110 */
107: simpleroutine mach_notify_dead_name(
108: notify : notify_port_t;
109: #if SEQNOS
110: msgseqno seqno : mach_port_seqno_t;
1.1.1.2 ! root 111: #endif
1.1 root 112: name : mach_port_name_t);
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.