]> git.saurik.com Git - apple/xnu.git/blob - osfmk/mach/prof.defs
02c289a868cc364c8b1f4e949984707eaf134235
[apple/xnu.git] / osfmk / mach / prof.defs
1 /*
2 * Copyright (c) 2000 Apple Computer, Inc. All rights reserved.
3 *
4 * @APPLE_LICENSE_HEADER_START@
5 *
6 * This file contains Original Code and/or Modifications of Original Code
7 * as defined in and that are subject to the Apple Public Source License
8 * Version 2.0 (the 'License'). You may not use this file except in
9 * compliance with the License. Please obtain a copy of the License at
10 * http://www.opensource.apple.com/apsl/ and read it before using this
11 * file.
12 *
13 * The Original Code and all software distributed under the License are
14 * distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
15 * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
16 * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
17 * FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
18 * Please see the License for the specific language governing rights and
19 * limitations under the License.
20 *
21 * @APPLE_LICENSE_HEADER_END@
22 */
23 /*
24 * @OSF_COPYRIGHT@
25 */
26 /*
27 * HISTORY
28 *
29 * Revision 1.1.1.1 1998/09/22 21:05:30 wsanchez
30 * Import of Mac OS X kernel (~semeria)
31 *
32 * Revision 1.1.1.1 1998/03/07 02:25:46 wsanchez
33 * Import of OSF Mach kernel (~mburg)
34 *
35 * Revision 1.2.12.3 1996/01/09 19:22:20 devrcs
36 * Change notices: msgoption options from int to mach_msg_options_t.
37 * [1995/12/01 19:49:49 jfraser]
38 *
39 * Merged '64-bit safe' changes from DEC alpha port.
40 * [1995/11/21 18:09:30 jfraser]
41 *
42 * Revision 1.2.12.2 1995/01/06 19:51:41 devrcs
43 * mk6 CR668 - 1.3b26 merge
44 * * Revision 1.2.2.4 1994/03/24 21:23:54 hidden
45 * added send_notices to support DCI profile/event tracing
46 * * End1.3merge
47 * [1994/11/02 18:32:19 dwm]
48 *
49 * Revision 1.2.12.1 1994/09/23 02:41:58 ezf
50 * change marker to not FREE
51 * [1994/09/22 21:42:31 ezf]
52 *
53 * Revision 1.2.2.2 1993/06/09 02:43:11 gm
54 * Added to OSF/1 R1.3 from NMK15.0.
55 * [1993/06/02 21:18:01 jeffc]
56 *
57 * Revision 1.2 1993/04/19 16:38:55 devrcs
58 * [0014] Change subsystem number as current shared with exc.defs reply messages.
59 * [1992/12/23 13:11:20 david]
60 *
61 * Revision 1.1 1992/09/30 02:23:01 robert
62 * Initial revision
63 *
64 * $EndLog$
65 */
66 /* CMU_HIST */
67 /*
68 * Revision 2.1.2.1 92/09/15 17:25:42 jeffreyh
69 * Created
70 * [92/07/17 bernadat]
71 *
72 */
73 /* CMU_ENDHIST */
74 /*
75 * Mach Operating System
76 * Copyright (c) 1991,1990,1989,1988,1987 Carnegie Mellon University
77 * All Rights Reserved.
78 *
79 * Permission to use, copy, modify and distribute this software and its
80 * documentation is hereby granted, provided that both the copyright
81 * notice and this permission notice appear in all copies of the
82 * software, derivative works or modified versions, and any portions
83 * thereof, and that both notices appear in supporting documentation.
84 *
85 * CARNEGIE MELLON ALLOWS FREE USE OF THIS SOFTWARE IN ITS "AS IS"
86 * CONDITION. CARNEGIE MELLON DISCLAIMS ANY LIABILITY OF ANY KIND FOR
87 * ANY DAMAGES WHATSOEVER RESULTING FROM THE USE OF THIS SOFTWARE.
88 *
89 * Carnegie Mellon requests users of this software to return to
90 *
91 * Software Distribution Coordinator or Software.Distribution@CS.CMU.EDU
92 * School of Computer Science
93 * Carnegie Mellon University
94 * Pittsburgh PA 15213-3890
95 *
96 * any improvements or extensions that they make and grant Carnegie Mellon
97 * the rights to redistribute these changes.
98 */
99 /*
100 */
101 /*
102 * Abstract:
103 * MiG definitions file for Mach Profiling interface.
104 * receive_samples();
105 */
106
107 subsystem
108 #if KERNEL_USER
109 KernelUser
110 #endif KERNEL_USER
111 prof 2450; /* exc.defs from 2400 - 2449 */
112
113 #include <mach/std_types.defs>
114 #include <mach/mach_types.defs>
115
116 ServerPrefix receive_;
117 UserPrefix send_;
118
119 type sample_array_t = array[*:1024] of unsigned;
120
121 simpleroutine samples(
122 reply_port : mach_port_t;
123 samples : sample_array_t);
124
125 simpleroutine notices(
126 reply_port : mach_port_t;
127 samples : sample_array_t;
128 msgoption options : mach_msg_options_t);
129
130
131
132