|
|
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:
31: #if SEQNOS
32: serverprefix do_seqnos_;
33: serverdemux seqnos_notify_server;
34: #else SEQNOS
35: serverprefix do_;
36: serverdemux notify_server;
37: #endif SEQNOS
38:
39: type notify_port_t = MACH_MSG_TYPE_MOVE_SEND_ONCE
40: ctype: mach_port_t;
41:
42: /* MACH_NOTIFY_FIRST: 0100 */
43: skip;
44:
45: /* MACH_NOTIFY_PORT_DELETED: 0101 */
46: simpleroutine mach_notify_port_deleted(
47: notify : notify_port_t;
48: #if SEQNOS
49: msgseqno seqno : mach_port_seqno_t;
50: #endif SEQNOS
51: name : mach_port_name_t);
52:
53: /* MACH_NOTIFY_MSG_ACCEPTED: 0102 */
54: simpleroutine mach_notify_msg_accepted(
55: notify : notify_port_t;
56: #if SEQNOS
57: msgseqno seqno : mach_port_seqno_t;
58: #endif SEQNOS
59: name : mach_port_name_t);
60:
61: skip; /* was NOTIFY_OWNERSHIP_RIGHTS: 0103 */
62:
63: skip; /* was NOTIFY_RECEIVE_RIGHTS: 0104 */
64:
65: /* MACH_NOTIFY_PORT_DESTROYED: 0105 */
66: simpleroutine mach_notify_port_destroyed(
67: notify : notify_port_t;
68: #if SEQNOS
69: msgseqno seqno : mach_port_seqno_t;
70: #endif SEQNOS
71: rights : mach_port_receive_t);
72:
73: /* MACH_NOTIFY_NO_SENDERS: 0106 */
74: simpleroutine mach_notify_no_senders(
75: notify : notify_port_t;
76: #if SEQNOS
77: msgseqno seqno : mach_port_seqno_t;
78: #endif SEQNOS
79: mscount : mach_port_mscount_t);
80:
81: /* MACH_NOTIFY_SEND_ONCE: 0107 */
82: simpleroutine mach_notify_send_once(
83: notify : notify_port_t
84: #if SEQNOS
85: ; msgseqno seqno : mach_port_seqno_t
86: #endif SEQNOS
87: );
88:
89: /* MACH_NOTIFY_DEAD_NAME: 0110 */
90: simpleroutine mach_notify_dead_name(
91: notify : notify_port_t;
92: #if SEQNOS
93: msgseqno seqno : mach_port_seqno_t;
94: #endif SEQNOS
95: name : mach_port_name_t);
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.