|
|
1.1 root 1: /*
2: * Copyright (c) 1999 Apple Computer, Inc. All rights reserved.
3: *
4: * @APPLE_LICENSE_HEADER_START@
5: *
6: * Portions Copyright (c) 1999 Apple Computer, Inc. All Rights
7: * Reserved. This file contains Original Code and/or Modifications of
8: * Original Code as defined in and that are subject to the Apple Public
9: * Source License Version 1.1 (the "License"). You may not use this file
10: * except in compliance with the License. Please obtain a copy of the
11: * License at http://www.apple.com/publicsource and read it before using
12: * this file.
13: *
14: * The Original Code and all software distributed under the License are
15: * distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, EITHER
16: * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
17: * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
18: * FITNESS FOR A PARTICULAR PURPOSE OR NON-INFRINGEMENT. Please see the
19: * License for the specific language governing rights and limitations
20: * under the License.
21: *
22: * @APPLE_LICENSE_HEADER_END@
23: */
24:
25: /*
26: * Mach Operating System
27: * Copyright (c) 1991,1990,1989 Carnegie Mellon University
28: * All Rights Reserved.
29: *
30: * Permission to use, copy, modify and distribute this software and its
31: * documentation is hereby granted, provided that both the copyright
32: * notice and this permission notice appear in all copies of the
33: * software, derivative works or modified versions, and any portions
34: * thereof, and that both notices appear in supporting documentation.
35: *
36: * CARNEGIE MELLON ALLOWS FREE USE OF THIS SOFTWARE IN ITS "AS IS"
37: * CONDITION. CARNEGIE MELLON DISCLAIMS ANY LIABILITY OF ANY KIND FOR
38: * ANY DAMAGES WHATSOEVER RESULTING FROM THE USE OF THIS SOFTWARE.
39: *
40: * Carnegie Mellon requests users of this software to return to
41: *
42: * Software Distribution Coordinator or [email protected]
43: * School of Computer Science
44: * Carnegie Mellon University
45: * Pittsburgh PA 15213-3890
46: *
47: * any improvements or extensions that they make and grant Carnegie Mellon
48: * the rights to redistribute these changes.
49: */
50: /*
51: * HISTORY
52: * $Log: notify.defs,v $
1.1.1.2 ! root 53: * Revision 1.3 1999/07/22 20:04:03 wsanchez
! 54: * Update APSL
! 55: *
! 56: * Revision 1.2 1999/03/25 09:19:42 wsanchez
! 57: * Merge kernel-copyrights.
! 58: * Undelete drvAdaptecU2SCSI.
! 59: *
1.1 root 60: * Revision 1.1.1.1.666.4 1999/03/16 17:05:42 wsanchez
61: * Substitute License
62: *
63: * Revision 1.1.1.1.666.3 1999/03/16 15:28:05 wsanchez
64: * Substitute copyright
65: *
66: * Revision 1.1.1.1.666.2 1999/03/16 10:37:40 umeshv
67: * Fixed errors in previous commit.
68: *
69: * Revision 1.1.1.1.666.1 1999/03/11 09:52:51 umeshv
70: * Added copyrights.
71: *
72: * Revision 1.1.1.1 1997/09/30 02:44:52 wsanchez
73: * Import of kernel from umeshv/kernel
74: *
75: * Revision 2.6 91/08/28 11:15:33 jsb
76: * Added conditionalized sequence number support.
77: * [91/08/13 rpd]
78: *
79: * Revision 2.5 91/05/14 16:58:11 mrt
80: * Correcting copyright
81: *
82: * Revision 2.4 91/02/05 17:35:14 mrt
83: * Changed to new Mach copyright
84: * [91/02/01 17:19:54 mrt]
85: *
86: * Revision 2.3 90/08/27 22:04:34 dbg
87: * Fixed the notification ports, to make them send-once rights.
88: * [90/08/13 rpd]
89: *
90: * Revision 2.2 90/06/02 14:59:28 rpd
91: * Created for new IPC.
92: * [90/03/26 23:45:48 rpd]
93: *
94: */
95:
96: subsystem notify 64;
97:
98: #include <mach/std_types.defs>
99:
100: #if SEQNOS
101: serverprefix do_seqnos_;
102: serverdemux seqnos_notify_server;
103: #else SEQNOS
104: serverprefix do_;
105: serverdemux notify_server;
106: #endif SEQNOS
107:
108: type notify_port_t = MACH_MSG_TYPE_MOVE_SEND_ONCE
109: ctype: mach_port_t;
110:
111: /* MACH_NOTIFY_FIRST: 0100 */
112: skip;
113:
114: /* MACH_NOTIFY_PORT_DELETED: 0101 */
115: simpleroutine mach_notify_port_deleted(
116: notify : notify_port_t;
117: #if SEQNOS
118: msgseqno seqno : mach_port_seqno_t;
119: #endif SEQNOS
120: name : mach_port_name_t);
121:
122: /* MACH_NOTIFY_MSG_ACCEPTED: 0102 */
123: simpleroutine mach_notify_msg_accepted(
124: notify : notify_port_t;
125: #if SEQNOS
126: msgseqno seqno : mach_port_seqno_t;
127: #endif SEQNOS
128: name : mach_port_name_t);
129:
130: skip; /* was NOTIFY_OWNERSHIP_RIGHTS: 0103 */
131:
132: skip; /* was NOTIFY_RECEIVE_RIGHTS: 0104 */
133:
134: /* MACH_NOTIFY_PORT_DESTROYED: 0105 */
135: simpleroutine mach_notify_port_destroyed(
136: notify : notify_port_t;
137: #if SEQNOS
138: msgseqno seqno : mach_port_seqno_t;
139: #endif SEQNOS
140: rights : mach_port_receive_t);
141:
142: /* MACH_NOTIFY_NO_SENDERS: 0106 */
143: simpleroutine mach_notify_no_senders(
144: notify : notify_port_t;
145: #if SEQNOS
146: msgseqno seqno : mach_port_seqno_t;
147: #endif SEQNOS
148: mscount : mach_port_mscount_t);
149:
150: /* MACH_NOTIFY_SEND_ONCE: 0107 */
151: simpleroutine mach_notify_send_once(
152: notify : notify_port_t
153: #if SEQNOS
154: ; msgseqno seqno : mach_port_seqno_t
155: #endif SEQNOS
156: );
157:
158: /* MACH_NOTIFY_DEAD_NAME: 0110 */
159: simpleroutine mach_notify_dead_name(
160: notify : notify_port_t;
161: #if SEQNOS
162: msgseqno seqno : mach_port_seqno_t;
163: #endif SEQNOS
164: name : mach_port_name_t);
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.